error while building gcc 2.95.2 by gcc 3.2

Ian Lance Taylor ian@wasabisystems.com
Sat Mar 6 22:28:00 GMT 2004


Chao Liu <root@uiuc.edu> writes:

> While I am now working on the comparison between gcc 2.95.2 and
> gcc 3.2 through the testsuite shipped with gcc 3.0.2, I have some
> problems with gcc 2.95.2's installation.
> 
> The error messages in building gcc 2.95.2 are as follows:
> 
> ../../../gcc-2.95.2/libio/indstream.cc: In method `struct streampos 
> indirectbuf::seekoff(long long int, ios::seek_dir, int = 3)':
> ../../../gcc-2.95.2/libio/indstream.cc:82: `struct streampos' used where a 
> `int'was expected

This is an incompatibility between glibc and libstdc++.  It is fixed
in gcc 2.95.3.  If you want to build with a newer version of glibc,
you need to use 2.95.3 instead of 2.95.2.

Ian



More information about the Gcc-help mailing list