Static gcc compile prob

Jonathan Eisenstein jeisen at mindspring.com
Fri Oct 27 15:59:58 PDT 2000


I'm getting this same problem (gcc is 2.95.2 and glibc is 2.1.95, using
Debian unstable (woody) release.) I've been working on finding a
solution for a week now, and I've finally subscribed to this list and
figured I'd give it a shot. My situation is, unfortunately, that I
cannot downgrade my glibc from the beta version (if my version IS beta)
or my system will break significantly. Is there a way I can install a
stable version as an alternate library and compile gcc with that
instead?

Jon Eisenstein

> > Same situation as before with the base system having: 
> > 
> > gcc 2.95.2 
> > glibc 2.1.91 
> > 
> > I get the following: 
> > 
> > /lfs/usr/src/g/gcc-build/gcc/xgcc -B/lfs/usr/src/g/gcc-build/gcc/ -B/usr/i58 
> > 6-pc-linux-gnu/bin/ -c -O3 -mcpu=i586 -march=i586 -fvtable-thunks -D_GNU_SOU 
> > RCE -fno-implicit-templates -I. -I../../../gcc-2.95.2/libio -nostdinc++ -D_I 
> > O_MTSAFE_IO ../../../gcc-2.95.2/libio/indstream.cc 
> > ../../../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 
> 
> Get rid of glibc-2.1.91 and install a non-beta Glibc version. I think 
> that will save you a lot of headaches. I don't think many people run 
> beta Glibc versions, glibc being one of the most vital things to your 
> system you want it to be stable and reliable. 
> 
> -- 
> Gerard Beekmans
> www.linuxfromscratch.org
> -*- If Linux doesn't have the solution, you have the wrong problem -*-

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list