Failed Build

David B. Held dheld@codelogicconsulting.com
Fri Mar 9 15:30:00 GMT 2001


Hi,

My i686-pc-linux-gnu system fails while building libstdc++-2.90.8 with
gcc-2.95.2 and glibc-2.2.1.  The appropriate part of the output is below.
I suspect glibc, since it appears to be fairly anachronistic, and not
necessarily
well-respected.  I only installed it because a package I was building
demanded
it, but I'm not sure that I installed it correctly.  If the error below
doesn't seem
right, it's very possible that it's because of a botched glibc install (or
just
glibc itself!).  Anyway, comments would be appreciated.

Dave


/usr/local/gcc-build/gcc/xgcc -B/usr/local/gcc-build/gcc/ -B/usr/i686-pc-lin
ux-g
nu/bin/ -DHAVE_CONFIG_H -I. -I../../../../gcc-2.95.2/libstdc++/src -I.. -nos
tdin
c++ -I../../../../gcc-2.95.2/libstdc++ -I../../../../gcc-2.95.2/libstdc++/st
l -I
../../../../gcc-2.95.2/libstdc++/libio -I../../../../gcc-2.95.2/libstdc++/co
nfig
/cpu/i386 -I../../../../gcc-2.95.2/libstdc++/config/gnu-linux -I/usr/include
 -D_
GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Win
line
 -Werror -g -fhonor-std -g -O2 -fvtable-thunks -D_GNU_SOURCE -c  -fPIC -DPIC
c++
io.cc -o .libs/c++io.lo
c++io.cc: In method `struct std::__c_streampos
std::__basic_file::seekoff(long i
nt, std::_Ios_Seekdir, std::_Ios_Openmode = std::operator |((enum
_Ios_Openmode)
1, (enum _Ios_Openmode)2))':
c++io.cc:210: conversion from `__off64_t' to non-scalar type
`std::__c_streampos
' requested
c++io.cc: In method `struct std::__c_streampos
std::__basic_file::seekpos(_G_fpo

s64_t, std::_Ios_Openmode = std::operator |((enum _Ios_Openmode)1, (enum
_Ios_Op
enmode)2))':
c++io.cc:214: `struct std::__c_streampos' used where a `long long int' was
expec
ted
cc1plus: warnings being treated as errors
c++io.cc:214: warning: control reaches end of non-void function
`std::__basic_fi
le::seekpos(_G_fpos64_t, std::_Ios_Openmode)'
c++io.cc: In method `struct std::__c_streampos
std::__basic_file::sys_seek(_G_fp
os64_t, std::_Ios_Seekdir)':
c++io.cc:243: `struct std::__c_streampos' used where a `long long int' was
expec
ted
c++io.cc:243: warning: control reaches end of non-void function
`std::__basic_fi
le::sys_seek(_G_fpos64_t, std::_Ios_Seekdir)'
make[4]: *** [c++io.lo] Error 1
make[4]: Leaving directory
`/usr/local/gcc-build/i686-pc-linux-gnu/libstdc++/src
'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/local/gcc-build/i686-pc-linux-gnu/libstdc++'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory
`/usr/local/gcc-build/i686-pc-linux-gnu/libstdc++'
make[1]: *** [all-target-libstdc++] Error 2
make[1]: Leaving directory `/usr/local/gcc-build'
make: *** [bootstrap] Error 2




More information about the Libstdc++ mailing list