Skip to content

Suppressing /usr/bin/ld warning message "missing .note.GNU-stack section implies executable stack" #102

@cponder

Description

@cponder

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions