public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcc/103470] New: [10, 11, 12] GNU-stack section not emitted on MIPS hard-float targets with MUSL
@ 2021-11-29 18:47 lipnitsk at gmail dot com
2021-11-29 21:17 ` [Bug target/103470] " lipnitsk at gmail dot com
2021-12-02 21:10 ` law at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: lipnitsk at gmail dot com @ 2021-11-29 18:47 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/103470] GNU-stack section not emitted on MIPS hard-float targets with MUSL
2021-11-29 18:47 [Bug libgcc/103470] New: [10, 11, 12] GNU-stack section not emitted on MIPS hard-float targets with MUSL lipnitsk at gmail dot com
@ 2021-11-29 21:17 ` lipnitsk at gmail dot com
2021-12-02 21:10 ` law at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: lipnitsk at gmail dot com @ 2021-11-29 21:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103470
--- Comment #1 from Ilya Lipnitskiy <lipnitsk at gmail dot com> ---
Created attachment 51900
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51900&action=edit
proposed fix
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/103470] GNU-stack section not emitted on MIPS hard-float targets with MUSL
2021-11-29 18:47 [Bug libgcc/103470] New: [10, 11, 12] GNU-stack section not emitted on MIPS hard-float targets with MUSL lipnitsk at gmail dot com
2021-11-29 21:17 ` [Bug target/103470] " lipnitsk at gmail dot com
@ 2021-12-02 21:10 ` law at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: law at gcc dot gnu.org @ 2021-12-02 21:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103470
Jeffrey A. Law <law at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-12-02
CC| |law at gcc dot gnu.org
--- Comment #2 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Fixed on the trunk. I'll leave it to someone else to decide on the backport.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-02 21:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 18:47 [Bug libgcc/103470] New: [10, 11, 12] GNU-stack section not emitted on MIPS hard-float targets with MUSL lipnitsk at gmail dot com
2021-11-29 21:17 ` [Bug target/103470] " lipnitsk at gmail dot com
2021-12-02 21:10 ` law at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).