[uClibc]Can't compile gcc with 0.9.16

Erik Andersen andersen at codepoet.org
Mon Nov 11 20:27:57 UTC 2002


On Mon Nov 11, 2002 at 07:51:22PM +0000, bgb at itcnv.com wrote:
> Uclibc 0.9.16 builds fine however when I go to build gcc-3.2, "gengenrtl 
> -h" seg faults" leaving a screen like: 
> 
> make[2]: Entering directory `/usr/src/phase4/gcc-build/gcc'
> HEADERS="auto-host.h ansidecl.h  i386/i386.h i386/att.h dbxelf.h elfos.h 
> svr4.h linux.h i386/linux.h defaults.h" DEFINES="POSIX" \
> TARGET_CPU_DEFAULT="TARGET_CPU_DEFAULT_pentiumpro" \
> /bin/sh ../../gcc-3.2/gcc/mkconfig.sh config.h
> HEADERS="auto-host.h ansidecl.h  i386/i386.h i386/att.h dbxelf.h elfos.h 
> svr4.h linux.h i386/linux.h defaults.h" DEFINES="POSIX" \
> TARGET_CPU_DEFAULT="TARGET_CPU_DEFAULT_pentiumpro" \
> /bin/sh ../../gcc-3.2/gcc/mkconfig.sh hconfig.h
> gcc -c -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes 
> -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  
> -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc-3.2/gcc 
> -I../../gcc-3.2/gcc/. -I../../gcc-3.2/gcc/config 
> -I../../gcc-3.2/gcc/../include ../../gcc-3.2/gcc/gengenrtl.c -o gengenrtl.o
> gcc -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes 
> -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  
> -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengenrtl \
> gengenrtl.o ../libiberty/libiberty.a
> ./gengenrtl -h > tmp-genrtl.h

I've seen this happen when gengenrtl cannot find ld...  If you
cd /usr/src/phase4/gcc-build/gcc and run an strace on gengenrtl
doing its thing, I suspect you will see that it can't find ld,

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list