https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114158
--- Comment #7 from Rich Felker <bugdal at aerifal dot cx> --- We've had the fix for this in musl-cross-make for a long time: https://github.com/richfelker/musl-cross-make/blob/227df8b99103f9c59f6570babf892978e293082f/patches/gcc-15.1.0/0008-fdpic-crtstuff-pr114158.diff It's an all-minus-signs commit just removing the wrong code that was added when ARM FDPIC was merged. Can this please be applied upstream? I think it still applies cleanly to current version; we have not needed to rebase it across GCC versions so far.
