This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Latest snapshot won't build with --enable-libstdcxx-v3




scherrey@switchco.com said:
>     I'm having really bad luck getting the last two snapshots to build
> (I've not tried the others). Specifically, I'm trying to prepare for
> the gcc 3 with the new libstdc++ so my code will be ready for the
> release. Unfortunately, I can't complete the 'make bootstrap' with the
> new snapshot, 20000918. It looks like it dies trying to build
> libstdc++.

>     I'm running linux 2.2.14-5.0 (RedHat 6.2) on an i686 box with
> gcc-2.95.2 as my compiler. I configured egcs with '--enable-shared
> --enable-libstdcxx-v3' then did a 'make bootstrap'. Is anyone else
> getting a successful build? 


I have the same problem here with a very similar configuration with 
yesterday's cvs.

The bootstrap dies when compiling locale.cc without giving any 
explicit error message because of the redirection of the error 
messages. Why having done that anyway ??? I fill somewhat responsible 
because this redirection was not here before I complained about the 
use of Werror.

> mururoa->tail build.log
> 
/0/robotvis/papadop/src/Compiles/gcc-linux/gcc/g++ -B/0/robotvis/papadop/src/Compiles/gcc-linux/gcc/ -nostdinc++ -L/0/robotvis/papadop/src/Compiles/gcc-linux/i686-pc-linux-gnu/libstd++-v3/src -L/0/robotvis/papadop/src/Compiles/gcc-linux/i686-pc-linux-gnu/libstd++-v3/src/.libs -B/net/home/robotvis/gnu/egcs/i686-pc-linux-gnu/bin/ -B/net/home/robotvis/gnu/egcs/i686-pc-linux-gnu/lib/ -isystem /net/home/robotvis/gnu/egcs/i686-pc-linux-gnu/include -DHAVE_CONFIG_H -I. -I../../../../../Cvs/gcc/libstdc++-v3/src -I.. -D_GNU_SOURCE -nostdinc++ -I../../../../../Cvs/gcc/libstdc++-v3 -I../libio -I../../../../../Cvs/gcc/libstdc++-v3/libio -I../../../../../Cvs/gcc/libstdc++-v3/config/cpu/i486 -I../../../../../Cvs/gcc/libstdc++-v3/config/gnu-linux -I/net/home/robotvis/gnu/egcs/include -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c ../../../../../Cvs/gcc/libst!
dc++-v3/src/locale.cc -o locale.o >/dev/null 2>&1
make[4]: *** [locale.lo] Error 1
make[4]: Leaving directory `/0/robotvis/papadop/src/Compiles/gcc-linux/i686-pc-linux-gnu/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/0/robotvis/papadop/src/Compiles/gcc-linux/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/0/robotvis/papadop/src/Compiles/gcc-linux/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/0/robotvis/papadop/src/Compiles/gcc-linux'
make: *** [bootstrap] Error 2

Suppressing the redirection of errors gives:

jamaique->/0/robotvis/papadop/src/Compiles/gcc-linux/gcc/g++ -B/0/robotvis/papad
op/src/Compiles/gcc-linux/gcc/ -nostdinc++ -L/0/robotvis/papadop/src/Compiles/gc
c-linux/i686-pc-linux-gnu/libstd++-v3/src -L/0/robotvis/papadop/src/Compiles/gcc
-linux/i686-pc-linux-gnu/libstd++-v3/src/.libs -B/net/home/robotvis/gnu/egcs/i68
6-pc-linux-gnu/bin/ -B/net/home/robotvis/gnu/egcs/i686-pc-linux-gnu/lib/ -isyste
m /net/home/robotvis/gnu/egcs/i686-pc-linux-gnu/include -DHAVE_CONFIG_H -I. -I..
/../../../../Cvs/gcc/libstdc++-v3/src -I.. -D_GNU_SOURCE -nostdinc++ -I../../../
../../Cvs/gcc/libstdc++-v3 -I../libio -I../../../../../Cvs/gcc/libstdc++-v3/libi
o -I../../../../../Cvs/gcc/libstdc++-v3/config/cpu/i486 -I../../../../../Cvs/gcc
/libstdc++-v3/config/gnu-linux -I/net/home/robotvis/gnu/egcs/include -g -O2 -fvt
able-thunks -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-s
trings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sect
ions -g -c ../../../../../Cvs/gcc/libstdc++-v3/src/locale.cc -o locale.o
../../../../../Cvs/gcc/libstdc++-v3/src/locale.cc: In member function `bool std:
:ctype<__wchar_t>::do_is (short 
   unsigned int, __wchar_t) const':
../../../../../Cvs/gcc/libstdc++-v3/src/locale.cc:926: warning: comparison of un
signed expression >= 0 is 
   always true
../../../../../Cvs/gcc/libstdc++-v3/bits/locale_facets.h:420: warning: unreachab
le code at beginning of switch 
   statement
../../../../../Cvs/gcc/libstdc++-v3/src/locale.cc:926: Internal error: Segmentat
ion fault.
   Please submit a full bug report.
   See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

If I have read the list carefully, this might have already been 
fixed... I'll try tonight.

--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
 --------------------------------------------------------------------


PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]