[Bug libgcc/103470] New: [10, 11, 12] GNU-stack section not emitted on MIPS hard-float targets with MUSL
lipnitsk at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 29 18:47:26 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103470
Bug ID: 103470
Summary: [10, 11, 12] GNU-stack section not emitted on MIPS
hard-float targets with MUSL
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcc
Assignee: unassigned at gcc dot gnu.org
Reporter: lipnitsk at gmail dot com
Target Milestone: ---
MUSL follow-up to
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=54b3d52c3cca836c7c4c08cc9c02eda6c096372a
This change should be back-ported (easy cherry-pick) to releases that contain
54b3d52c3cca836c7c4c08cc9c02eda6c096372a
Proposed patch and discussion:
https://gcc.gnu.org/pipermail/gcc-patches/2021-November/584553.html
>From email thread:
musl only uses PT_GNU_STACK to set default thread stack size and has no
executable stack support[0], so there is no reason not to emit the
.note.GNU-stack section on musl builds.
[0]:
https://lore.kernel.org/all/20190423192534.GN23599@brightrain.aerifal.cx/T/#u
More information about the Gcc-bugs
mailing list