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

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to r...@cebitec.uni-bielefeld.de from comment #6)
> > --- 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.

Gret, thanks for checking. I'll backport to gcc-11 and gcc-12.

> 
> > 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.

Reply via email to