This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Trouble with egcs 1.1.1 and glibc2.
- To: egcs at egcs dot cygnus dot com
- Subject: Trouble with egcs 1.1.1 and glibc2.
- From: "Nicholas M. Kirsch" <nkirsch at olaf dot nick dot org>
- Date: Tue, 9 Feb 1999 23:26:55 -0800 (PST)
I just upgraded my Slackware 3.6 (Linux Kernel 2.2.1) system from libc5 to
glibc2.1. I had no troubles compiling it using egcs 1.1.1, and I installed
it and made glibc2.1 the default. No problems there.
I am now able to compile almost anything, including the kernel, except for
egcs-1.1.1.
The output from Make :
make[1]: Leaving directory `/tmp/egcs-1.1.1/i686/gcc'
Configuring in i686-pc-linux-gnu/libiberty
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ar... ar
checking for ranlib... ranlib
checking for gcc... /tmp/egcs-1.1.1/i686/gcc/xgcc -B/tmp/egcs-1.1.1/i686/gcc/
checking whether we are using GNU C... yes
checking whether /tmp/egcs-1.1.1/i686/gcc/xgcc -B/tmp/egcs-1.1.1/i686/gcc/ accepts -g... yes
checking for POSIXized ISC... no
checking for a BSD compatible install... /usr/bin/ginstall -c
xhost-mkfrag is unchanged
checking how to run the C preprocessor... /tmp/egcs-1.1.1/i686/gcc/xgcc -B/tmp/egcs-1.1.1/i686/gcc/ -E
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking whether the C compiler (/tmp/egcs-1.1.1/i686/gcc/xgcc -B/tmp/egcs-1.1.1/i686/gcc/ -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** [configure-target-libiberty] Error 1
The last few lines of config.log:
configure:1037: /tmp/egcs-1.1.1/i686/gcc/xgcc -B/tmp/egcs-1.1.1/i686/gcc/ -E conftest.c >/dev/null 2>conftest.out
configure:1584: checking whether the C compiler (/tmp/egcs-1.1.1/i686/gcc/xgcc -B/tmp/egcs-1.1.1/i686/gcc/ -g -O2 ) works
configure:1598: /tmp/egcs-1.1.1/i686/gcc/xgcc -B/tmp/egcs-1.1.1/i686/gcc/ -o conftest -g -O2 conftest.c 1>&5
xgcc: installation problem, cannot exec `/tmp/egcs-1.1.1/i686/gcc/collect2': No such file or directory
configure: failed program was:
#line 1594 "configure"
#include "confdefs.h"
main(){return(0);}
Which makes no sense to me, as collect2 is present in that directory. I'm
not sure why it is using the temporary compiler at this point, as the real
compiler is in /usr/bin/gcc.
Any help would be great!
Nick
nkirsch@olaf.nick.org