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)

OK, if your gcc-3.4.0 test doesn't go well, I can try this here.


GCC 3.4 failed right out the starting gate. I didn't spend much time debugging based on the comments in the demo-arm-softfloat.sh file.

rc23 should work better. (But thanks for mentioning those comments, they're out of date; here's a cleaned-up demo-arm-softfloat.sh.) - Dan


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

Attachment: demo-arm-softfloat.sh
Description: Bourne shell script

------
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]