https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124124
--- Comment #11 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> --- > Are these failures only present when gcc is configured to use Solaris ld? > > I think with GNU ld it should Just Work because of the automatic > --push-state --as-needed -latomic --pop-state No, I've seen them with gas/gld builds, too. However, gcc_cv_ld_as_needed is currently disabled on Solaris/x86. I may remove that workaround, though: for one libgcc_s is now bundled with Solaris, so the impact of the unnecessary dependency has been reduced. Besides, the underlying gld bug has just been fixed and will be in binutils 2.47.
