exectubale has interpretor ld-linux.so.3

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

exectubale has interpretor ld-linux.so.3

3,705 Views
venkats
Contributor I

I am using Yocto SDK - version /opt/fsl-imx-release/1.8/ to build an exeutable and the interpreter is /lib/ld-linux.so.3. I am wondering why this different from  other binaries
which have it as ld-linux-armhf.so.3.  My executable runs ok after creating the link ld-linux.so.3 -> ld-2.21.so in /lib.

Some details about the SDK used.

  • The SDK itself was generate using repo branch  imx-3.14.38-6UL7D_beta . The command used is: "repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.38-6UL7D_beta"
  • The machine type was imx6ulevk; The command used is MACHINE=imx6ulevk source fsl-setup-release.sh -b build_6ul -e x11; bitbake -c populate_sdk fsl-image-gui;
  • SDK installed using tmp/deploy/sdk/fsl-imx-release-glibc-x86_64-fsl-image-gui-cortexa7hf-vfp-neon-toolchain-1.8.sh

root@imx6ulevk:~# file /bin/wl

/bin/wl: ELF 32-bit LSB
executable, ARM, EABI5 version 1 (SYSV), dynamically linked
, interpreter /lib/ld-linux.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=9289f54de4e622ffe2d08b9c884dc748330a4ad

root@imx6ulevk:~#

root@imx6ulevk:~# file /bin/bash

/bin/bash: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=044eb764ca142e79e4

root@imx6ulevk:~# ls -al /lib | grep ld

-rwxr-xr-x  1 root root  134392 Jul  7 14:25 ld-2.21.so

lrwxrwxrwx  1 root root      10 Jul  7 18:23 ld-linux-armhf.so.3 -> ld-2.21.so

lrwxrwxrwx  1 root root      10 Oct  9 00:45 ld-linux.so.3 -> ld-2.21.so

root@imx6ulevk:~#

Thanks,

Venkat

Labels (2)
Tags (2)
0 Kudos
Reply
4 Replies

2,260 Views
alejandrolozan1
NXP Employee
NXP Employee

I have not noticed but the branch you are using is a beta version. I wonder if you can use a GA version?

0 Kudos
Reply

2,260 Views
venkats
Contributor I

What is the branch name for the GA version? Does that version support iMX6 Ultralite?

0 Kudos
Reply

2,260 Views
alejandrolozan1
NXP Employee
NXP Employee

You can find all the possible branches here:linux-2.6-imx.git - Freescale i.MX Linux Tree

0 Kudos
Reply

2,260 Views
alejandrolozan1
NXP Employee
NXP Employee

I have checked with L3.14.28 and it seems that this has changed in L3.14.38.

Let me keep delving into this.

/Alejandro

0 Kudos
Reply