[build] Make make_sunver.pl robust against non-C locales

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Tue Feb 26 15:26:00 GMT 2013


I've received a report in private mail that a gcc build on Solaris might
fail in libstdc++.  It turned out that this was caused by a non-C locale
which causes elfdump to produce translated headers and confuses
make_sunver.pl.  The following patch fixes this; tested manually by
setting LANG=de in the environment before building
libstdc++-symbols.ver-sun.

Ok for mainline?

	Rainer


2013-02-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* make_sunver.pl: Enforce C locale.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sol2-make_sunver-env.patch
Type: text/x-patch
Size: 422 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130226/95d95c4e/attachment.bin>
-------------- next part --------------

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


More information about the Gcc-patches mailing list