public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* insight errors....
@ 2004-01-10 10:13 Himansu Doshi
  2004-01-21 14:46 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Himansu Doshi @ 2004-01-10 10:13 UTC (permalink / raw)
  To: insight


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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: insight errors....
  2004-01-10 10:13 insight errors Himansu Doshi
@ 2004-01-21 14:46 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2004-01-21 14:46 UTC (permalink / raw)
  To: Himansu Doshi; +Cc: insight

On Sat, 2004-01-10 at 02:13, Himansu Doshi wrote:

> 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 files properly. However when the linking take 
> place I get an error for the libgcc.a file. The error is as follows----

This error, of course, has nothing to do with insight. Please ask the
gcc folk for help on this.

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

This is not something that Insight would tell a user -- it's a gdb
error. I suggest reproducing the problem with gdb and sending a note to
the gdb folks for resolution.

Keith


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-21 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-10 10:13 insight errors Himansu Doshi
2004-01-21 14:46 ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).