Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opt out of executable stack #2075

Closed
albinahlback opened this issue Sep 24, 2024 · 0 comments
Closed

Opt out of executable stack #2075

albinahlback opened this issue Sep 24, 2024 · 0 comments
Assignees

Comments

@albinahlback
Copy link
Collaborator

As reported here, some versions of LD generates the following warning about executable stacks on our assembly files:

/usr/bin/ld: warning: build/mpn_extras/x86_64/broadwell/
sqrhigh_normalised_hard.lo: 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
Building libflint.so.20.0.0
/usr/bin/ld: warning: build/mpn_extras_merged.lo: requires executable
stack (because the .note.GNU-stack section is executable)

This seems to be consistent with fixes in the Linux kernel. A solution seems to be to push -z noexecstack to the linker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant