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.
arm-softfloat gcc3.3.3 internal_relocation error
- From: Allen Curtis <acurtis at onz dot com>
- To: crossgcc at sources dot redhat dot com
- Date: Wed, 9 Jun 2004 23:41:43 -0700
- Subject: arm-softfloat gcc3.3.3 internal_relocation error
I used the demo-arm-softfloat.sh script to build a GCC 3.3.3 cross
compiler. I thought that everything was working fine until I ran into
this error:
arm-softfloat-linux-gnu-gcc -D__ASSEMBLY__ -D__KERNEL__
-I/home/acurtis/localdev/thales/ipcu/linux-2.4.21/include -mapcs-32
-D__LINUX_ARM_ARCH__=4 -march=armv4 -msoft-float -c -o getuser.o
getuser.S
getuser.S: Assembler messages:
getuser.S:47: Error: internal_relocation (type: OFFSET_IMM) not fixed up
make[2]: *** [getuser.o] Error 1
make[2]: Leaving directory
`/home/acurtis/localdev/thales/ipcu/linux-2.4.21/arch/arm/lib'
Google searches indicate that this is a compiler problem. I am building
a 2.4.21 kernel with the following patches:patch-2.4.21-rmk1
patch-2.4.21-rmk1-omap
patch-1540/1 (from arm.linux.org for float compile issues)
Linux 2.6 for OMAP and u-boot compiled successfully. I thought I was
home free.
Anyone know of a patch?
TIA
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com