https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96845
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Bernhard Rosenkraenzer from comment #0) > Some Linux distributions have a workaround for this in their gcc packaging - > they replace libgcc_s.so with an ld script that pulls in libgcc if needed Or rather they replace the already ld script with another ld script ...