public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* bootstrap problem 2.95.2 on system with glibc2.2.1
@ 2001-02-12 19:04 Robert Schweikert
  2001-02-12 19:41 ` Alexandre Oliva
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Schweikert @ 2001-02-12 19:04 UTC (permalink / raw)
  To: gcc help

I am trying to set up a system from scratch following the LFS
instructions. I have a statically linked version of gcc-2.95.2 and now
after installing glibc-2.2.1 I want to build a dynamically linked
version but I get the following error.

make[2]: Entering directory
`/usr/src/gcc-build/i686-pc-linux-gnu/libstdc++'
cd ../libio ; make "SHELL=/bin/sh" "INSTALL=/bin/sh
/usr/src/gcc-2.95.2/install-sh -c" "INSTALL_DATA=/bin/sh
/usr/src/gcc-2.95.2/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh
/usr/src/gcc-2.95.2/install-sh -c " "prefix=/usr" "exec_prefix=/usr"
"tooldir=/usr/i686-pc-linux-gnu" "gxx_include_dir=/usr/include/g++"
"libsubdir=/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2"
"gcc_version=2.95.2"
"gcc_version_trigger=/usr/src/gcc-2.95.2/gcc/version.c" "AR=ar"
"AR_FLAGS=rc" "CC=/usr/src/gcc-build/gcc/xgcc -B/usr/src/gcc-build/gcc/
-B/usr/i686-pc-linux-gnu/bin/" "CXX=/usr/src/gcc-build/gcc/xgcc
-B/usr/src/gcc-build/gcc/ -B/usr/i686-pc-linux-gnu/bin/" "CFLAGS=-g -O2"
"CXXFLAGS=-g -O2 -fvtable-thunks -D_GNU_SOURCE" "NM=nm" "RANLIB=ranlib"
"LIBCFLAGS=-g -O2" "LIBCXXFLAGS=-g -O2 -fvtable-thunks -D_GNU_SOURCE
-fno-implicit-templates" "LOADLIBES=" "LDFLAGS="
"MAKEINFO=/usr/src/gcc-build/texinfo/makeinfo/makeinfo  "
"SHLIB=libstdc++-3-libc6.2-2-2.10.0.so" "SHCURSES=" "RUNTESTFLAGS="
iostream.list
make[3]: Entering directory `/usr/src/gcc-build/i686-pc-linux-gnu/libio'

make[3]: `iostream.list' is up to date.
make[3]: Leaving directory `/usr/src/gcc-build/i686-pc-linux-gnu/libio'
rm -f tlibstdc++-3-libc6.2-2-2.10.0.a
ar rc tlibstdc++-3-libc6.2-2-2.10.0.a `cat stdlist`
mv tlibstdc++-3-libc6.2-2-2.10.0.a libstdc++-3-libc6.2-2-2.10.0.a
ranlib libstdc++-3-libc6.2-2-2.10.0.a
make[3]: Entering directory
`/usr/src/gcc-build/i686-pc-linux-gnu/libstdc++'
rm -f libstdc++-libc6.2-2.a.3
ln -s libstdc++-3-libc6.2-2-2.10.0.a libstdc++-libc6.2-2.a.3 || cp
libstdc++-3-libc6.2-2-2.10.0.a libstdc++-libc6.2-2.a.3
make[3]: Leaving directory
`/usr/src/gcc-build/i686-pc-linux-gnu/libstdc++'
rm -f tlist
cp stdlist tlist
if [ x"yes" = xyes ]; then \
  sed 's,\([A-Za-z_]*\.o\),pic/\1,g' tlist > tlist2 ; \
  mv tlist2 tlist ; \
else true ; fi
mv tlist piclist
/usr/src/gcc-build/gcc/xgcc -B/usr/src/gcc-build/gcc/
-B/usr/i686-pc-linux-gnu/bin/ -g -O2 -fvtable-thunks -D_GNU_SOURCE
-fno-implicit-templates -Wl,-soname,libstdc++-libc6.2-2.so.3 -shared -o
libstdc++-3-libc6.2-2-2.10.0.so `cat piclist` -lm
xgcc: pic/cmathi.o: No such file or directory
xgcc: pic/cstdlibi.o: No such file or directory
xgcc: pic/cstringi.o: No such file or directory
xgcc: pic/cstrio.o: No such file or directory
xgcc: pic/cstrmain.o: No such file or directory
xgcc: pic/dcomio.o: No such file or directory
xgcc: pic/dcomplex.o: No such file or directory
xgcc: pic/fcomio.o: No such file or directory
xgcc: pic/fcomplex.o: No such file or directory
xgcc: pic/ldcomio.o: No such file or directory
xgcc: pic/ldcomplex.o: No such file or directory
xgcc: pic/stdexcepti.o: No such file or directory
xgcc: pic/stlinst.o: No such file or directory
xgcc: pic/valarray.o: No such file or directory
xgcc: ../libio/pic/iogetline.o: No such file or directory
xgcc: ../libio/pic/builtinbuf.o: No such file or directory
xgcc: ../libio/pic/filebuf.o: No such file or directory
xgcc: ../libio/pic/fstream.o: No such file or directory
xgcc: ../libio/pic/indstream.o: No such file or directory
xgcc: ../libio/pic/ioassign.o: No such file or directory
xgcc: ../libio/pic/ioextend.o: No such file or directory
xgcc: ../libio/pic/iomanip.o: No such file or directory
xgcc: ../libio/pic/iostream.o: No such file or directory
xgcc: ../libio/pic/isgetline.o: No such file or directory
xgcc: ../libio/pic/isgetsb.o: No such file or directory
xgcc: ../libio/pic/isscan.o: No such file or directory
xgcc: ../libio/pic/osform.o: No such file or directory
xgcc: ../libio/pic/procbuf.o: No such file or directory
xgcc: ../libio/pic/sbform.o: No such file or directory
xgcc: ../libio/pic/sbgetline.o: No such file or directory
xgcc: ../libio/pic/sbscan.o: No such file or directory
xgcc: ../libio/pic/stdiostream.o: No such file or directory
xgcc: ../libio/pic/stdstrbufs.o: No such file or directory
xgcc: ../libio/pic/stdstreams.o: No such file or directory
xgcc: ../libio/pic/stream.o: No such file or directory
xgcc: ../libio/pic/streambuf.o: No such file or directory
xgcc: ../libio/pic/strstream.o: No such file or directory
xgcc: ../libio/pic/PlotFile.o: No such file or directory
xgcc: ../libio/pic/SFile.o: No such file or directory
xgcc: ../libio/pic/parsestream.o: No such file or directory
xgcc: ../libio/pic/pfstream.o: No such file or directory
xgcc: ../libio/pic/editbuf.o: No such file or directory
xgcc: ../libiberty/pic/strerror.o: No such file or directory
make[2]: *** [libstdc++-3-libc6.2-2-2.10.0.so] Error 1
make[2]: Leaving directory
`/usr/src/gcc-build/i686-pc-linux-gnu/libstdc++'
make[1]: *** [all-target-libstdc++] Error 2
make[1]: Leaving directory `/usr/src/gcc-build'
make: *** [bootstrap] Error 2

I am not sure where in the bootstrpping process I am, I hope I copied
enough info for it to be helpful.

# gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/specs
gcc version 2.95.2 19991024 (release)

Any help is appreciated.

Thanks,
Robert

--
Robert Schweikert                      MAY THE SOURCE BE WITH YOU
rjschwei@mindspring.com                         LINUX



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

* Re: bootstrap problem 2.95.2 on system with glibc2.2.1
  2001-02-12 19:04 bootstrap problem 2.95.2 on system with glibc2.2.1 Robert Schweikert
@ 2001-02-12 19:41 ` Alexandre Oliva
  2001-02-13 17:40   ` Robert Schweikert
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandre Oliva @ 2001-02-12 19:41 UTC (permalink / raw)
  To: Robert Schweikert; +Cc: gcc help

On Feb 13, 2001, Robert Schweikert <rjschwei@mindspring.com> wrote:

> I have a statically linked version of gcc-2.95.2 and now
> after installing glibc-2.2.1 I want to build a dynamically linked
> version but I get the following error.

Did you `make clean' the build directory before reconfiguring
--enable-shared?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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

* Re: bootstrap problem 2.95.2 on system with glibc2.2.1
  2001-02-12 19:41 ` Alexandre Oliva
@ 2001-02-13 17:40   ` Robert Schweikert
  2001-02-14 16:58     ` Alexandre Oliva
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Schweikert @ 2001-02-13 17:40 UTC (permalink / raw)
  To: Alexandre Oliva, gcc help

At first I didn't, but even after make clean I can't bootstrap. Now I get
the following error:

ranlib libio.a
test x"yes" != xyes || \
  /usr/src/gcc-build/gcc/xgcc -B/usr/src/gcc-build/gcc/
-B/usr/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE
-fno-implicit-templates -I. -I../../../gcc-2.95.2/libio -nostdinc++
-D_IO_MTSAFE_IO -fpic ../../../gcc-2.95.2/libio/builtinbuf.cc -o
pic/builtinbuf.o
/usr/src/gcc-build/gcc/xgcc -B/usr/src/gcc-build/gcc/
-B/usr/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE
-fno-implicit-templates -I. -I../../../gcc-2.95.2/libio -nostdinc++
-D_IO_MTSAFE_IO ../../../gcc-2.95.2/libio/builtinbuf.cc
test x"yes" != xyes || \
  /usr/src/gcc-build/gcc/xgcc -B/usr/src/gcc-build/gcc/
-B/usr/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE
-fno-implicit-templates -I. -I../../../gcc-2.95.2/libio -nostdinc++
-D_IO_MTSAFE_IO -fpic ../../../gcc-2.95.2/libio/filebuf.cc -o
pic/filebuf.o
/usr/src/gcc-build/gcc/xgcc -B/usr/src/gcc-build/gcc/
-B/usr/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE
-fno-implicit-templates -I. -I../../../gcc-2.95.2/libio -nostdinc++
-D_IO_MTSAFE_IO ../../../gcc-2.95.2/libio/filebuf.cc
test x"yes" != xyes || \
  /usr/src/gcc-build/gcc/xgcc -B/usr/src/gcc-build/gcc/
-B/usr/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE
-fno-implicit-templates -I. -I../../../gcc-2.95.2/libio -nostdinc++
-D_IO_MTSAFE_IO -fpic ../../../gcc-2.95.2/libio/fstream.cc -o
pic/fstream.o
/usr/src/gcc-build/gcc/xgcc -B/usr/src/gcc-build/gcc/
-B/usr/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE
-fno-implicit-templates -I. -I../../../gcc-2.95.2/libio -nostdinc++
-D_IO_MTSAFE_IO ../../../gcc-2.95.2/libio/fstream.cc
test x"yes" != xyes || \
  /usr/src/gcc-build/gcc/xgcc -B/usr/src/gcc-build/gcc/
-B/usr/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE
-fno-implicit-templates -I. -I../../../gcc-2.95.2/libio -nostdinc++
-D_IO_MTSAFE_IO -fpic ../../../gcc-2.95.2/libio/indstream.cc -o
pic/indstream.o
../../../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[2]: *** [indstream.o] Error 1
make[2]: Leaving directory `/usr/src/gcc-build/i686-pc-linux-gnu/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/usr/src/gcc-build'
make: *** [bootstrap] Error 2

Any clues?

Thanks,
Robert

Alexandre Oliva wrote:

> On Feb 13, 2001, Robert Schweikert <rjschwei@mindspring.com> wrote:
>
> > I have a statically linked version of gcc-2.95.2 and now
> > after installing glibc-2.2.1 I want to build a dynamically linked
> > version but I get the following error.
>
> Did you `make clean' the build directory before reconfiguring
> --enable-shared?
>
> --
> Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist    *Please* write to mailing lists, not to me

--
Robert Schweikert                      MAY THE SOURCE BE WITH YOU
rjschwei@mindspring.com                         LINUX



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

* Re: bootstrap problem 2.95.2 on system with glibc2.2.1
  2001-02-13 17:40   ` Robert Schweikert
@ 2001-02-14 16:58     ` Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2001-02-14 16:58 UTC (permalink / raw)
  To: Robert Schweikert; +Cc: gcc help

On Feb 13, 2001, Robert Schweikert <rjschwei@mindspring.com> wrote:

> ../../../gcc-2.95.2/libio/indstream.cc:82: `struct streampos' used where
> a `int' was expected

Is this a glibc 2.2 system?  You'll need some patches for GCC 2.95.2
to build on it.  Check the platform-specific installation instructions
at gcc.gnu.org

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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

end of thread, other threads:[~2001-02-14 16:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-12 19:04 bootstrap problem 2.95.2 on system with glibc2.2.1 Robert Schweikert
2001-02-12 19:41 ` Alexandre Oliva
2001-02-13 17:40   ` Robert Schweikert
2001-02-14 16:58     ` Alexandre Oliva

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).