libstdc++-v3/src/locale-inst.cc breaks in cvs gcc on FreeBSD 4.0

fjolliton@free.fr fjolliton@free.fr
Fri May 12 05:05:00 GMT 2000


Stefanus Du Toit <sdt@gmx.net> writes:

> Hi,
> 
> I just tried compiling gcc from cvs with libstdc++-v3 after seeing the
> message about it working on FreeBSD 4.0. It seems to break, however, for
> me at:
> 
> ---snip from build log---
> /usr/home/sdt/gcc-cvs/build/gcc/g++ -B/usr/home/sdt/gcc-cvs/build/gcc/
> -B/usr/local/gcc-2.96/i386-unknown-freebsdelf4.0/bin/ -DHAVE_CONFIG_H
> -I. -I../../../../gcc/libstdc++-v3/src -I.. -nostdinc++
> -I../../../../gcc/libstdc++-v3 -I../libio
> -I../../../../gcc/libstdc++-v3/libio
> -I../../../../gcc/libstdc++-v3/config/cpu/generic
> -I../../../../gcc/libstdc++-v3/config/bsd -I/usr/local/gcc-2.96/include -g
> -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline
> -Werror -g -fimplicit-templates -c  -fPIC -DPIC
> ../../../../gcc/libstdc++-v3/src/locale-inst.cc -o .libs/locale-inst.lo
> /usr/home/sdt/gcc-cvs/build/gcc/g++ -B/usr/home/sdt/gcc-cvs/build/gcc/
> -B/usr/local/gcc-2.96/i386-unknown-freebsdelf4.0/bin/ -DHAVE_CONFIG_H
> -I. -I../../../../gcc/libstdc++-v3/src -I.. -nostdinc++
> -I../../../../gcc/libstdc++-v3 -I../libio
> -I../../../../gcc/libstdc++-v3/libio
> -I../../../../gcc/libstdc++-v3/config/cpu/generic
> -I../../../../gcc/libstdc++-v3/config/bsd -I/usr/local/gcc-2.96/include -g
> -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline
> -Werror -g -fimplicit-templates -c
> ../../../../gcc/libstdc++-v3/src/locale-inst.cc -o locale-inst.o
> >/dev/null 2>&1
> gmake[4]: *** [locale-inst.lo] Error 1
> gmake[4]: Leaving directory
> `/usr/home/sdt/gcc-cvs/build/i386-unknown-freebsdelf4.0/libstdc++-v3/src'
> ---/snip---
> 
> Obviously this isn't very helpful due to the >/dev/null 2>&1 in there
> :). How can I get rid of that so I get some useful messages out of
> this? My system is a FreeBSD 4.0-STABLE x86 box, running gcc 2.95.2.

[Mine is Linux 2.3.99-pre6]

I've exactly the same problem (gcc 2.95.2/CVS gcc). It appear to be a
Internal Error while compiling locale-inst.c. It is a problem with
2.96 (since it occurs at last stage), and can be compiled successfully
with 2.95.2. (However, I don't know if mixing compiler to build
libstdc++ is a good idea !).


More information about the Libstdc++ mailing list