wirespeed arm-uclinux gcc/glibc build error

John Andrews john@triscend.com
Fri Jun 22 13:28:00 GMT 2001

Hi All,

I've been trying to build the arm cross tool source from ftp.wirespeed.com
for the last week or so. So far without complete success.

I attached my latest attempt at a build script, which also lists the exact
files, and the complete glibc make error log. The host is i686-pc-linux-gnu,
the target is arm-uclinux.

In the current condition (I've tried it about 12 different ways 8-) it
builds binutils and the bootstrap gcc with -Dinhibit_libc. Then it dies
trying to build glibc with the error below.

Any advice on where I might be going wrong would be greatly appreciated.

Thanks a lot!

John E. A.

---glibc make error---

make[2]: Entering directory
gcc ../sysdeps/unix/sysv/uclinux/init-first.c -c -O -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -fpic -g -mapcs-32 -mcpu=arm7tdmi
-mno-got -msingle-pic-base -msoft-float   -fkeep-inline-functions
-I../include -I. -I/home/johnea/arm-tools/build-glibc/csu -I..
-I/home/johnea/arm-tools/build-glibc -I../sysdeps/arm/elf
-I../crypt/sysdeps/unix -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/arm
-I../sysdeps/unix/sysv/uclinux/arm -I../sysdeps/unix/sysv/uclinux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/arm
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754 -I../sysdeps/libm-ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -isystem
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include -isystem
/usr/local/arm-wirespeed-uclinux/arm-uclinux/include  -include
../include/libc-symbols.h     -DHAVE_INITFINI -o
cc1: Invalid option `apcs-32'
cc1: Invalid option `no-got'
cc1: Invalid option `single-pic-base'
cc1: bad value (arm7tdmi) for -mcpu= switch
../sysdeps/unix/sysv/uclinux/init-first.c: In function `_dl_start':
../sysdeps/unix/sysv/uclinux/init-first.c:120: warning: implicit declaration
of function `abort'
make[2]: *** [/home/johnea/arm-tools/build-glibc/csu/init-first.o] Error 1

Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

More information about the crossgcc mailing list