[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
failed to compile gcc-2.95.2
- From: Olrik Just <Just fokus gmd de>
- To: guinness-list redhat com
- Subject: failed to compile gcc-2.95.2
- Date: Mon, 30 Oct 2000 23:29:56 +0100
Hi all,
Due to a requirement of a software project, i need to compile the gcc-2.95.2 under RH7.0.
But the compilation failed.
It does not fail during the first stage (using gcc-2.96 of RH7.0),
it fails when compile gcc with the first/second stage compiler with an error
on/with the include files/types.
I changed the used compiler from the gcc-2.96 to egcs (gcc-2.91).
The compilation aborts too.
Remarks:
- I applied the egcs-libio.patch posted in this mailing list.
- glibc-2.94-3 updated
Here the command lines i used to compile the compiler.
src_dir: /home/just/src/gcc-2.95.2/
obj_dir: /usr/local/test/new_gcc/
install_dir: /usr/local/test/
configure: (gcc-2.95.2/install/CONFIGURE)
~/src/gcc-2.95.2/configure --prefix=/usr/local/test --with-local-prefix=/usr/local/test/include --enable-shared --enable-threads --enable-cpp
--enable-languages=c++,objc,java
make: (gcc-2.95.2/install/BUILD)
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap-lean
abort compilation:
/usr/local/test/new_gcc/gcc/xgcc -B/usr/local/test/new_gcc/gcc/ -B/usr/local/test/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE
-fno-implicit-templates -I. -I/home/just/src/gcc-2.95.2/libio -nostdinc++ -D_IO_MTSAFE_IO /home/just/src/gcc-2.95.2/libio/iomanip.cc
test x"yes" != xyes || \
/usr/local/test/new_gcc/gcc/xgcc -B/usr/local/test/new_gcc/gcc/ -B/usr/local/test/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks
-D_GNU_SOURCE -fno-implicit-templates -I. -I/home/just/src/gcc-2.95.2/libio -nostdinc++ -D_IO_MTSAFE_IO -fpic
/home/just/src/gcc-2.95.2/libio/iostream.cc -o pic/iostream.o
/home/just/src/gcc-2.95.2/libio/iostream.cc: In method `class istream & istream::get(char &)':
/home/just/src/gcc-2.95.2/libio/iostream.cc:75: `_IO_USER_LOCK' undeclared (first use this function)
/home/just/src/gcc-2.95.2/libio/iostream.cc:75: (Each undeclared identifier is reported only once
/home/just/src/gcc-2.95.2/libio/iostream.cc:75: for each function it appears in.)
make[2]: *** [iostream.o] Error 1
make[2]: Leaving directory `/usr/local/test/new_gcc/i686-pc-linux-gnu/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/usr/local/test/new_gcc'
make: *** [bootstrap-lean] Error 2
Any ideas ???
Which patch i forgot to applied ???
Thanks in advanced
--
Olrik Just Phone : +49-30-3463-7126
GMD Fokus, CC TIP Fax : +49-30-3463-8126
Kaiserin-Augusta-Allee 31 E-Mail : Just@Fokus.GMD.de
D-10589 Berlin, Germany Just@TU-Berlin.de
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]