https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104731
--- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- > This should be fixed on trunk, but I'm unable to test on Solaris right now: It is indeed, tested on Solaris 11.3 and 11.4, SPARC and x86. > ld.so.1: g++: fatal: relocation error: file > /export/home/jwakely/gcc/12/bin/g++: symbol stpcpy: referenced symbol not > found This is weird: stpcpy is in Solaris 11 libc since 11.0. What version of Solaris exactly does this happen on?