-
Notifications
You must be signed in to change notification settings - Fork 141
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
Do not discard .gnu.note, GNU ld complains when we link object files #570
base: master
Are you sure you want to change the base?
Conversation
Thank you @dinosaure . As @Kensan pointed in #562 I though about adding something rather than removing the
That warning comes from the caml compiler directory, so it might be relevant to also investigate there. So to me the issue should be fixed by https://github.com/codelabs-ch/solo5/tree/asm-noexec-stack :) |
Yes, I agree to put the
You mean with |
The only So to me this is unrelated to solo5, the commit proposed by @Kensan LGTM. To move forward I wonder if the best is to add |
Add .note.GNU-stack section to assembly files which recent ld versions require to determine whether an executable stack is required. If no such ELF section is present, the linker assumes that the stack needs executable rights. See also [1]. [1] - https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart
So, I will let this PR opens but we probably should check if the warning continues to appear if we update |
Is there any solution for this PR? Should it be included in solo5, or can it be left out (and closed)? |
Fix #562 (/cc @palainp)