[uClibc]Error building latest 3.2 toolchain

ed at linuxanthology.org ed at linuxanthology.org
Tue Oct 8 20:42:23 UTC 2002


I'm attempting to build a 3.2 toolchain cross-compile (on x86 for arm box) with
uClibc-snapshot, however, when I compile it, and it starts building the
gcc-initial tree, it keeps compiling gengenrtl and gencheck as ARM files not
x86, yet it tries to execute these scripts.  I've tried just recompiling by
hand, these 2 files so that they will execute, however the compile will fail as
such:

make[2]: Leaving directory `/usr/local/src/gcc-3.2/build/gcc-initial/libiberty'
make[2]: Entering directory `/usr/local/src/gcc-3.2/build/gcc-initial/gcc'
gcc -DIN_GCC -DCROSS_COMPILE   -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
 -DHAVE_CONFIG_H -DGENERATOR_FILE  -o genflags \
 genflags.o rtl.o read-rtl.o bitmap.o ggc-none.o gensupport.o print-rtl.o
errors.o ../libiberty/libiberty.a
genflags.o: In function `gen_insn':
/usr/local/src/gcc-3.2/build/gcc-3.2/gcc/genflags.c:213: undefined reference to
`_obstack_newchunk'
genflags.o: In function `main':
/usr/local/src/gcc-3.2/build/gcc-3.2/gcc/genflags.c:228: undefined reference to
`_obstack_begin'
/usr/local/src/gcc-3.2/build/gcc-3.2/gcc/genflags.c:260: undefined reference to
`_obstack_newchunk'
read-rtl.o: In function `read_escape':
/usr/local/src/gcc-3.2/build/gcc-3.2/gcc/read-rtl.c:256: undefined reference to
`_obstack_newchunk'
/usr/local/src/gcc-3.2/build/gcc-3.2/gcc/read-rtl.c:266: undefined reference to
`_obstack_newchunk'
/usr/local/src/gcc-3.2/build/gcc-3.2/gcc/read-rtl.c:262: undefined reference to
`_obstack_newchunk'
[snip]

Anyone else run into this?

Ed



More information about the uClibc mailing list