https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119029
--- Comment #7 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > Is _GLIBCXX_USE_INIT_PRIORITY_ATTRIBUTE defined on Solaris when using Solaris > ld and/or when using gld? On Solaris 11.4, it is always defined for all of the as/ld, gas/ld, and gas/gld combos. Things were different in Solaris 11.3 and before, but those versions are no longer supported by trunk.