ts-7000
[Top] [All Lists]

[ts-7000] Toolchain weirdness?

To:
Subject: [ts-7000] Toolchain weirdness?
From: "Yan Seiner" <>
Date: Mon, 30 Jul 2007 18:13:17 -0000
OK, it's definitely Monday....

I'm trying to build a really simple program and all I get out of it is:

:root# /bin/compass
-bash: /bin/compass: cannot execute binary file

Now you would assume that it's in the wrong format.  But no:

:root# file /bin/compass
/bin/compass: ELF 32-bit LSB relocatable, ARM, version 1 (ARM), not
stripped

Now just to make sure I'm not going crazy, I compiled a simple hello
world program and got the same result:

:root# sh /bin/hello
/bin/hello: /bin/hello: cannot execute binary file
:root# file /bin/hello
/bin/hello: ELF 32-bit LSB relocatable, ARM, version 1 (ARM), not stripped

Both of these programs compile really small:

:root# ls -l /bin/hello /bin/compass
-rwxr-xr-x  1 root root 1860 Jul 30 14:39 /bin/compass*
-rw-r--r--  1 root root  804 Jul 30 14:52 /bin/hello

Just to see if it is a toolchain issue, I rebuilt some other programs;
they work just fine.  Can anyone shed any light on this?

Is there such a thing as "too small"?  It seems like the programs
above are way too small for executables...

--Yan



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU