This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
insight errors....
- From: "Himansu Doshi" <rocder at hotmail dot com>
- To: insight at sources dot redhat dot com
- Date: Sat, 10 Jan 2004 15:43:04 +0530
- Subject: insight errors....
- Bcc:
Hi,
I am compiling u-boot for at91rm9200dk board. I am using insight for
debugging and cross compiler for arm from insight to compile the source. I
am able to compile all the file?s properly. However when the linking take
place I get an error for the libgcc.a file. The error is as follows----
-Map u-boot.map -o u-boot
/insight/usr/local/csb337/bin/arm-linux-ld: ERROR: he
/insight/usr/local/csb337/bin/../lib/gcc-lib/arm-linux/3.3.1/libgcc.a(_udivsi3.oS)
uses hardware FP, whereas u-boot uses software FP
File in wrong format: failed to merge target specific data of file
/insight/usr/local/csb337/bin/../lib/gcc-lib/arm-linux/3.3.1/libgcc.a(_udivsi3.oS)
/insight/usr/local/csb337/bin/arm-linux-ld: ERROR:
/insight/usr/local/csb337/bin/../lib/gcc-lib/arm-linux/3.3.1/libgcc.a(_umodsi3.oS)
uses hardware FP, whereas u-boot uses software FP
File in wrong format: failed to merge target specific data of file
/insight/usr/local/csb337/bin/../lib/gcc-lib/arm-linux/3.3.1/libgcc.a(_umodsi3.oS)
/insight/usr/local/csb337/bin/arm-linux-ld: ERROR:
/insight/usr/local/csb337/bin/../lib/gcc-lib/arm-linux/3.3.1/libgcc.a(_dvmd_lnx.oS)
uses hardware FP, whereas u-boot uses software FP
File in wrong format: failed to merge target specific data of file
/insight/usr/local/csb337/bin/../lib/gcc-lib/arm-linux/3.3.1/libgcc.a(_dvmd_lnx.oS)
make: *** [u-boot] Error 1
so then I have compiled the u-boot for at91rm9000dk board. I have used
insight tool chain for arm for compling the source. However since the linker
provided with the tool chain of insight was having some problems I have used
the linker provided form X-tools. I am getting the elf and the bin
files.however when I try to debug the ELF file I get the following error?..
error loading "/Himansu/u-boot-1.0.0/u-boot bad offset (0x2011eb2f) in
compilation unit header (offset 0x0 + 6) [in module
/Himansu/u-boot-1.0.0/u-boot]
I am using insight debugger for debugging and I have also tried it on the
GDBTK debugger provided by x-tools?
can you please help me out with this problem?..
thanks
_________________________________________________________________
Hey there NRIs! News, gossip, films, fun & more. http://www.msn.co.in/nri/
All of this specially for YOU!