This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

[BUG] libio/gcc gcc 2.95.2 build failure.


Hello,
I'm quite certain this is a bug with my current configuration/compiler 
or library versions, but i just can't nail this down properly.

I have a hackup system using a VA-research gcc (from ftp.kernel.org) and 
i am currently attempting to build a "clean" gcc 2.95.2 due to the 
recent issues with gcc 2.96 from redhat and then mandrake releasing a 
gcc 2.95.3 (where did that come from?)


System::
uname -a
Linux Darkmere.psychozone 2.4.2 #4 Tue Mar 13 22:55:38 CET 2001 i586 unknown
gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.95.3/specs
gcc version 2.95.3 20000503/Linux (prerelease)


in _objdir_
../configure --enable-threads=posix --enable-haifa 
--host=i586-redhat-linux --disable-shared --enable-languages=c,objc,c++ 
--enable-version-specific-runtime-libs

the make fails in _objdir_/i586-redhat-linux/libio
with :

$ pwd
/usr/src/redhat/BUILD/gcc-2.95.2/obj-i586-redhat-linux/i586-redhat-linux/libio
$ make all
test x"no" != xyes || \
   /usr/src/redhat/BUILD/gcc-2.95.2/obj-i586-redhat-linux/gcc/xgcc 
-B/usr/src/redhat/BUILD/gcc-2.95.2/obj-i586-redhat-linux/gcc/ 
-B/usr/local/i586-redhat-linux/bin/ -c -g -O2 -fvtable-thunks 
-D_GNU_SOURCE -fno-implicit-templates -I. -I../../../libio -nostdinc++ 
-D_IO_MTSAFE_IO  ../../../libio/indstream.cc -o pic/indstream.o
/usr/src/redhat/BUILD/gcc-2.95.2/obj-i586-redhat-linux/gcc/xgcc 
-B/usr/src/redhat/BUILD/gcc-2.95.2/obj-i586-redhat-linux/gcc/ 
-B/usr/local/i586-redhat-linux/bin/ -c -g -O2 -fvtable-thunks 
-D_GNU_SOURCE -fno-implicit-templates -I. -I../../../libio -nostdinc++ 
-D_IO_MTSAFE_IO ../../../libio/indstream.cc
../../../libio/indstream.cc: In method `struct streampos 
indirectbuf::seekoff(long long int, ios::seek_dir, int = 3)':
../../../libio/indstream.cc:82: `struct streampos' used where a `int' 
was expected
../../../libio/indstream.cc:85: `struct streampos' used where a `int' 
was expected
../../../libio/indstream.cc:87: `struct streampos' used where a `int' 
was expected
../../../libio/indstream.cc:89: conversion from `int' to non-scalar type 
`streampos' requested
../../../libio/indstream.cc: In method `struct streampos 
indirectbuf::seekpos(_G_fpos64_t, int = 3)':
../../../libio/indstream.cc:99: `struct streampos' used where a `int' 
was expected
../../../libio/indstream.cc:102: `struct streampos' used where a `int' 
was expected
../../../libio/indstream.cc:104: `struct streampos' used where a `int' 
was expected
../../../libio/indstream.cc:106: conversion from `int' to non-scalar 
type `streampos' requested
make: *** [indstream.o] Error 1

(( Yes, I'm in the redhat/BUILD tree since i am attempting to make a rpm 
of this for future build's on my system. I'm a great fan of rpm's, when 
they work :p ))

If there is any other information you would want, need or anything, 
please ask.

(got the email address off the FAQ, can't say I'm on a list or anything)

Regards,

//Spider

indstream.ii.bz2


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