ts-7000
[Top] [All Lists]

[ts-7000] Re: Ts 7800 cross compilation problems: ld-linux.so.3

To:
Subject: [ts-7000] Re: Ts 7800 cross compilation problems: ld-linux.so.3
From: "fulatoro" <>
Date: Sat, 12 Jan 2008 20:06:42 -0000
--- In  "Martin Guy" <> wrote:
>
> Yes, ld-linux.so.2 is old-ABI world, ld-linux.so.3 for EABI.
> 
> But EABI is more than the kernel; it is a different interface
between all
> function calls, hence between dynamic executables and shared
libraries too.
> Read wiki.debian.org/ArmEabiPort for gory details.
> 
> The bottom line is that your userland needs to be all-EABI or
all-old-ABI.
> For the kernel,
> - only an EABI kernel can run EABI binaries,
> - an old-ABI kernel can only run old-ABI binaries, and
> - there is a kernel compatibility mode that can allow EABI kernels
to run
> old-ABI binaries - but they would need to be linked statically because
> old-abi dynamic executables would not be able to load EABI dynamic
libraries
> or vice versa.
> 
> 
> I guess you have an old-abi userland (with -.2) so you either need
to find
> an old-ABI cross toolchain or switch to an entire new EABI rootfs.
> 
>     M
>


The rootfs on the TS7800 is an old-ABI, remember that it is running
sarge and not ETCH. You can check that by doing:

readelf -h /usr/bin/ls

and look at the Flags entry, it will tell you what type of ABI it is,
you will find that it is old ABI with a 0x2 code.

The crosstools provided in the docs for the 7800 only support a EABI
rootfs which they also provide incidentally under binaries.  But, to
run shared memory programs successfully, just use a different crosstool

ftp://ftp.embeddedarm.com/ts-arm-linux-cd/cross-toolchains/crosstool-linux-gcc-3.3.4-glibc-2.3.2-0.28rc39.tar.bz2

I obtained this from one of the engineers.  I am now able to run
shared library based programs successfully.

Hope this helps.

Moussa.



 
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