public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* error while building gcc 2.95.2 by gcc 3.2
@ 2004-03-06 22:09 Chao Liu
  2004-03-06 22:28 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Chao Liu @ 2004-03-06 22:09 UTC (permalink / raw)
  To: gcc-help

Hi,

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
../../../gcc-2.95.2/libio/indstream.cc:85: `struct streampos' used where a 
`int'was expected
../../../gcc-2.95.2/libio/indstream.cc:87: `struct streampos' used where a 
`int'was expected
../../../gcc-2.95.2/libio/indstream.cc:89: conversion from `int' to 
non-scalar type `streampos' requested
../../../gcc-2.95.2/libio/indstream.cc: In method `struct streampos 
indirectbuf::seekpos(_G_fpos64_t, int = 3)':
../../../gcc-2.95.2/libio/indstream.cc:99: `struct streampos' used where a 
`int'was expected
../../../gcc-2.95.2/libio/indstream.cc:102: `struct streampos' used where 
a `int' was expected
../../../gcc-2.95.2/libio/indstream.cc:104: `struct streampos' used where 
a `int' was expected
../../../gcc-2.95.2/libio/indstream.cc:106: conversion from `int' to 
non-scalar type `streampos' requested
make[1]: *** [indstream.o] Error 1
make[1]: Leaving directory 
`/root/software/gcc-2.95.2/build/i686-pc-linux-gnu/libio'
make: *** [all-target-libio] Error 2


Many thanks to your attentions!

Chao


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: error while building gcc 2.95.2 by gcc 3.2
  2004-03-06 22:09 error while building gcc 2.95.2 by gcc 3.2 Chao Liu
@ 2004-03-06 22:28 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2004-03-06 22:28 UTC (permalink / raw)
  To: Chao Liu; +Cc: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-06 22:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-06 22:09 error while building gcc 2.95.2 by gcc 3.2 Chao Liu
2004-03-06 22:28 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).