bug#410: bug#410: binutils wont build
Paul Gray <[email protected]> Tue, 14 Oct 2003 07:46:00 -0500 (CDT)
| Newsgroups | gmane.linux.bbc.bugs |
|---|---|
| Message-ID | <Pine.LNX.4.44.0310140730550.24877-100000__38559.7927183428$1066135811@math-cs.cns.uni.edu> |
On Tue, 14 Oct 2003, Nadav Rotem wrote: > > I am on a redhat box. I let it build over the night. you think that the > system decided to delete it over night? [snip] > > > Package: binutils > > -L//tmp/build/lib/gcc-lib/i386-lnxbbc-linux/3.2.3 ) works... no > > configure: error: installation or configuration problem: C compiler > cannot Including your build information on bug reports is essential, including the OS, cvs branch (HEAD or STABLE), your glibc version (output from `/lib/libc.so.6 | head -1` would work), and the gcc that you're using to build. It looks as if the binutils is still using the host's build gcc on your box: checking whether the C compiler (gcc -Os -I//tmp/build/staging/singularity/image//include -L//tmp/build/staging/singularity/image//lib -I//tmp/build/staging/singularity/image//lib/gcc-lib/i386-lnxbbc-linux/3.2.3/include -I//tmp/build/lib/gcc-lib/i386-lnxbbc-linux/3.2.3/include -L//tmp/build/staging/singularity/image//lib/gcc-lib/i386-lnxbbc-linux/3.2.3 -L//tmp/build/lib/gcc-lib/i386-lnxbbc-linux/3.2.3 ) works... no This should be the build compiler, although the CFLAGS seem to have stuck. Try adding this to the Makefile for binutils: CONFIGURE_ENV = CC=$(CC) CFLAGS="$(CFLAGS)" BUILD_ENV = CC=$(CC) CFLAGS="$(CFLAGS)" cd back into gar/meta/lnx-bbc issue make -C ../../utils/binutils clean then resume, with make build Paul Gray -o) 323 Wright Hall /\\ University of Northern Iowa _\_V Message void if penguin violated ... Don't mess with the penguin No one ever says "Hey, I can't read that ASCII e-mail ya sent me."