On Thu, Dec 2, 2021 at 12:48 PM Jeff Law <jeffreya...@gmail.com> wrote: > > > > On 11/15/2021 10:13 PM, Ilya Lipnitskiy wrote: > > 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.gn23...@brightrain.aerifal.cx/T/#u > > > > gcc/ChangeLog: > > > > * configure: Regenerate. > > * configure.ac: define TARGET_LIBC_GNUSTACK on musl > Thanks. I've pushed this to the trunk. Sorry for the long wait. No worries, and thank you! How about 10.x and 11.x branches, do you think it should get picked into those since this change is effectively a follow-up to https://gcc.gnu.org/g:54b3d52c3 ? Please also update https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103470 I created to track this fix.
Ilya