This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


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

Re: Unable to bootstrap the library.



> /usr/local/src/tmp/gcc-2.96/gcc/g++ -B/usr/local/src/tmp/gcc-2.96/gcc/ -nostdinc++ -L/usr/local/src/tmp/gcc-2.96/i686-pc-linux-gnu/libstd++-v3/src -L/usr/local/src/tmp/gcc-2.96/i686-pc-linux-gnu/libstd++-v3/src/.libs -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -DHAVE_CONFIG_H -I. -I../../../../../gcc-2.96/libstdc++-v3/src -I.. -D_GNU_SOURCE -nostdinc++ -I../../../../../gcc-2.96/libstdc++-v3 -I../libio -I../../../../../gcc-2.96/libstdc++-v3/libio -I../../../../../gcc-2.96/libstdc++-v3/config/cpu/i486 -I../../../../../gcc-2.96/libstdc++-v3/config/gnu-linux -I/usr/local/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 ../../../../../gcc-2.96/libstdc++-v3/src/locale.cc  -fPIC -DPIC -o .libs/locale.o
> ../../../../../gcc-2.96/libstdc++-v3/src/locale.cc: In member function `bool std::ctype<__wchar_t>::do_is 
>    (short unsigned int, __wchar_t) const':
> ../../../../../gcc-2.96/libstdc++-v3/src/locale.cc:1004: warning: comparison of unsigned expression >= 0 is 
>    always true
> /usr/local/src/tmp/gcc-2.96/gcc/g++ -B/usr/local/src/tmp/gcc-2.96/gcc/ -nostdinc++ -L/usr/local/src/tmp/gcc-2.96/i686-pc-linux-gnu/libstd++-v3/src -L/usr/local/src/tmp/gcc-2.96/i686-pc-linux-gnu/libstd++-v3/src/.libs -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -DHAVE_CONFIG_H -I. -I../../../../../gcc-2.96/libstdc++-v3/src -I.. -D_GNU_SOURCE -nostdinc++ -I../../../../../gcc-2.96/libstdc++-v3 -I../libio -I../../../../../gcc-2.96/libstdc++-v3/libio -I../../../../../gcc-2.96/libstdc++-v3/config/cpu/i486 -I../../../../../gcc-2.96/libstdc++-v3/config/gnu-linux -I/usr/local/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 ../../../../../gcc-2.96/libstdc++-v3/src/locale.cc -o locale.o >/dev/null 2>&1

I assume you are using today's CVS?

can you go to 

/usr/local/src/tmp/gcc-2.96/i686-pc-linux-gnu/libstdc++-v3/src
(or wherever your libstdc++-v3 "src" build directory is)

and type 

make locale.o

?

And paste in the error message you get? I suspect you'll see Internal 
Compiler Error....

> This is not a -Werror problem; but I dont grok where the problem is...

I got a bootstrap on 

gcc.20000910/

However I am finding it difficult to debug with compilers of this vintage 
or later, as locale.cc is mis-compiled somehow and dwarf2 debug info goes 
wacky, prohibiting the use of gdb. I talked to jason about this, and he 
knows the details, so at some point in the future we'll see this fixed.

In the meantime, I suggest using this vintage:

gcc.20000827/

thanks,
benjamin

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