This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Inability to build gcc-3.1 with binutils-2.13 cross toolchain...
- From: "Steven J. Hill" <sjhill at realitydiluted dot com>
- To: binutils at sources dot redhat dot com, gcc at gcc dot gnu dot org
- Date: Wed, 18 Sep 2002 10:39:43 -0500
- Subject: Inability to build gcc-3.1 with binutils-2.13 cross toolchain...
I'm having a interesting error that occurs while I'm building a MIPS
cross toolchain RPM. I'm using binutils-2.13, gcc-3.1 and glibc-2.2.5.
Below is one of the output messages, although I have seen the message
'Error: file number 1 already allocated' also. I was doing a 'make -j4'
when building the first stage gcc, but then changed to plain old 'make'
since I'm building on a dual 2GHz Xeon, U160 SCSI and 2GB RAM system, I
though that the 'make -j4' was perhaps getting ahead of itself. However,
it does not matter how many parallel make jobs I spawn off. Iterestingly
enough, if I try and build gcc-3.2 with binutils-2.13, there are no
problems. This is just plain weird. Anyone have some insight?
-Steve
P.S. This is just the first stage GCC compiler being built.
************************************************
/usr/src/redhat/BUILD/build-gcc1/gcc/xgcc
-B/usr/src/redhat/BUILD/build-gcc1/gcc/
-B/opt/toolchains/glibc/mipsel-linux/bin/
-B/opt/toolchains/glibc/mipsel-linux/lib/ -isystem
/opt/toolchains/glibc/mipsel-linux/include -O2 -DIN_GCC -DCROSS_COMPILE
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-isystem ./include -fPIC -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-Dinhibit_libc -I. -I. -I../../gcc-3.1/gcc -I../../gcc-3.1/gcc/.
-I../../gcc-3.1/gcc/config -I../../gcc-3.1/gcc/../include -fexceptions
-c ../../gcc-3.1/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
In file included from ../../gcc-3.1/gcc/unwind-dw2.c:26:
../../gcc-3.1/gcc/unwind-pe.h: In function `size_of_encoded_value':
../../gcc-3.1/gcc/unwind-pe.h:76: warning: implicit declaration of
function `abort'
../../gcc-3.1/gcc/unwind-dw2.c: In function `extract_cie_info':
../../gcc-3.1/gcc/unwind-dw2.c:226: warning: implicit declaration of
function `strlen'
../../gcc-3.1/gcc/unwind-dw2.c: In function `uw_frame_state_for':
../../gcc-3.1/gcc/unwind-dw2.c:899: warning: implicit declaration of
function `memset'
../../gcc-3.1/gcc/unwind-dw2.c: In function `uw_install_context_1':
../../gcc-3.1/gcc/unwind-dw2.c:1320: warning: implicit declaration of
function `memcpy'
/tmp/cc2YtymJ.s: Assembler messages:
/tmp/cc2YtymJ.s:24: Error: file number 2 already allocated
/tmp/cc2YtymJ.s:596: Error: file number 3 already allocated
/tmp/cc2YtymJ.s:3854: Error: file number 4 already allocated
/tmp/cc2YtymJ.s:4874: Error: file number 5 already allocated
make[2]: *** [libgcc/./unwind-dw2.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/build-gcc1/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/build-gcc1/gcc'
make: *** [all-gcc] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.1087 (%build)