This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: wirespeed arm-uclinux gcc/glibc build error



Sorry, build script and make log are now attached...

-----Original Message-----
From: John Andrews 
Sent: Friday, June 22, 2001 1:26 PM
To: crossgcc (E-mail); uClinux-dev (E-mail)
Subject: wirespeed arm-uclinux gcc/glibc build error



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
`/home/johnea/arm-tools/glibc-2.1.3-uclinux-arm/csu'
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
/home/johnea/arm-tools/build-glibc/csu/init-first.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
m

build-arm-uclinux.sh

make.log

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]