https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104731

--- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
>> It is indeed, tested on Solaris 11.3 and 11.4, SPARC and x86.
>
> Gret, thanks for checking. I'll backport to gcc-11 and gcc-12.

Excellent, thanks.

>> > 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?
>
> Ah, I think the problem is that $HOME is shared between the Solaris 10 and 11
> machines in the GCC compile farm, and I was probably trying to use the GCC
> built on Solaris 11 on the SOlaris 10 machine.

Makes sense: Solaris 10 indeed lacks stpcpy, but a native build (which
won't work any longer on trunk) would detect that at configure time.

Reply via email to