Building PNetCDF 1.12.3 on the NERSC/perlmutter cluster (HPE/Cray with SLES 15.4) I get messages like this building the library and the regression-tests using the NVHPC 22.7 compilers:
/usr/bin/ld: warning: /tmp/pgcudafatlp1hHndhHOzT.o: missing .note.GNU-stack section implies executable stack
/usr/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
I'm posting this in case anyone else is trying to deal with the messages; they may well go away with a newer version of ld in future SLES releases or adjustments to the compiled-file formats in future NVHPC releases.