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]
Other format: [Raw text]

Re: arm-softfloat gcc3.3.3 internal_relocation error


Allen Curtis wrote:
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?

Hadn't heard of any. Can you post the first 50 lines of getuser.S?


Also, does gcc-3.4.0 fail in the same way?
- Dan

--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

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


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