[PATCH] libstdc++: Fix error shown during Solaris build

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Mon Nov 16 11:46:34 GMT 2020


Hi Jonathan,

>>> libstdc++-v3/ChangeLog:
>>>
>>> 	* src/Makefile.am (libstdc++-symbols.ver-sun): Remove -lrt from
>>> 	arguments passed to make_sunver.pl script.
>>> 	* src/Makefile.in: Regenerate.
>>>
>>> Tested sparc-solaris2.11. Rainer, does this look OK?
>>
>>it does, but let me give it a try with both GNU sed and Solaris sed: we
>>had too many weird issues with the latter ;-(
>
> I think the machine I tested on (gcc211 in the compile farm) only has
> Solaris sed in the PATH, and it works there.

I've now tested the patch on Solaris 11.3 with all of /bin/sed,
/usr/xpg4/bin/sed, and /usr/gnu/bin/sed.  Worked perfectly fine, so the
patch is ok, thanks for taking care of this.

> I did try to use "-l ?[[:alnum:]]+" but Solaris sed only supports BREs
> (as POSIX requires) and there doesn't seem to be an equivalent of the
> GNU sed -E option to use EREs.

Indeed, and that hasn't changed in Solaris 11.4 either.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


More information about the Gcc-patches mailing list