This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Bootsrap comparison failure - solved
- To: gcc-help at gcc dot gnu dot org
- Subject: Bootsrap comparison failure - solved
- From: andy at softbookpress dot com
- Date: Mon, 18 Dec 2000 13:49:45 -0700
This happens with the latest gcc snapshot (20001211) on armv4l-linux
I was able to track it down to the gcc Makefile that was created by the
configure script, where the STAGE1_FLAGS and BOOT_FLAGS were different (
one had -O2 and the other did not)
I made them the same ( took out -O2) - and the "Bootstrap comparison
failure" error I was getting comparing stage 1 and stage 2, went away.
However the problem with libstdc++-v3 ( below) persists. Any ideas how to
fix it ?
../../../../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[4]: *** [strstream.lo] Error 1
TIA Andy