This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
trouble compiling latest snapshot -again
- To: gcc-help at gcc dot gnu dot org
- Subject: trouble compiling latest snapshot -again
- From: andy at softbookpress dot com
- Date: Sat, 16 Dec 2000 10:00:39 -0700
Sorry for the repost but I 'm really stuck and need help resolving this (
rtfm and " this will be fixed soon" will do - at least I will know its'
not something stupid I'm doing :-))
Compiling the latest official snapshot on armv4l linux with gcc 2.95.2
installed:
1. Got the snapshot via cvs update -rgcc_latest_snapshot
2. Configured gcc with the following:
' --prefix=/home/andy/gcc-cur/gcc-beta --enable-shared
--enable-languages=c++ --enable-version-specific-runtime-libs'
3.'Make bootstrap' - goes on until it tries to compare the stage 1 and 2
outputs - object files differ and it aborts
4. Presumably the compiler has been built already so I try 'Make all' - it
configures and starts building libstdc++-v3 but dies with the following
error:
'/home/andy/gcc-cur/build-gcc/gcc/g++ -B/home/andy/gcc-cur/build-gcc/gcc/
-nostdinc++
-L/home/andy/gcc-cur/build-gcc/armv4l-unknown-linux-gnuoldld/libstdc++-v3/src -L
/home/andy/gcc-cur/build-gcc/armv4l-unknown-linux-gnuoldld/libstdc++-v3/src/.lib
s -B/home/andy/gcc-cur/gcc-beta/armv4l-unknown-linux-gnuoldld/bin/
-B/home/andy/gcc-cur/gcc-beta/armv4l-unknown-linux-gnuoldld/lib/ -isystem
/home/andy/gcc-cur/gcc-beta/armv4l-unknown-linux-gnuoldld/include
-nostdinc++ -I../../../../gcc/libstdc++-v3/include/std
-I../../../../gcc/libstdc++-v3/include/c
-I../../../../gcc/libstdc++-v3/libsupc++
-I../../../../gcc/libstdc++-v3/include -I../libio
-I../../../../gcc/libstdc++-v3/libio -I../../../../gcc/libstdc++-v3/libmath
-I../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/libstdc++-v3/src/strstream.cc -o strstream.o
../../../../gcc/libstdc++-v3/src/strstream.cc: In destructor `virtual
std::strstreambuf::~strstreambuf()':
../../../../gcc/libstdc++-v3/src/strstream.cc:111: no matching function for
call to `std::strstreambuf::_M_free (char*)'
../../../../gcc/libstdc++-v3/include/backward/strstream:77: candidates are:
void std::strstreambuf::_M_free(char*, void, ...)
../../../../gcc/libstdc++-v3/src/strstream.cc: In member function `virtual
unsigned int std::strstreambuf::overflow(unsigned int)':
../../../../gcc/libstdc++-v3/src/strstream.cc:158: no matching function for
call to `std::strstreambuf::_M_free (char*&)'
../../../../gcc/libstdc++-v3/include/backward/strstream:77: candidates are:
void std::strstreambuf::_M_free(char*, void, ...)
make[3]: *** [strstream.lo] Error 1'
I tried make bootstrap4 per Alexandre's suggestions - it then does not
give me "Bootstrap failure" error but dies in libstc++ in the way described
above anyway
TIA Andy