Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
Lv Terry-R65388
r65388 at freescale.com
Wed Jan 11 06:48:53 UTC 2012
Hi Michael,
Here's the output.
r65388 at shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ./arm-linux-gnueabi-gcc
-bash: ./arm-linux-gnueabi-gcc: No such file or directory
r65388 at shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ls -la /lib/ld*
lrwxrwxrwx 1 root root 25 2011-10-05 06:07 /lib/ld-linux.so.2 -> i386-linux-gnu/ld-2.13.so
r65388 at shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ls -la /lib32/ld*
-rwxr-xr-x 1 root root 126152 2011-10-05 04:58 /lib32/ld-2.13.so
lrwxrwxrwx 1 root root 10 2011-12-14 17:30 /lib32/ld-linux.so.2 -> ld-2.13.so
r65388 at shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$ ls /etc/ld.so*
/etc/ld.so.cache /etc/ld.so.conf
/etc/ld.so.conf.d:
biarch-compat.conf i386-linux-gnu_GL.conf i686-linux-gnu.conf libc.conf x86_64-linux-gnu.conf x86_64-linux-gnu_GL.conf
r65388 at shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$
Seems I know the reason now "/lib/ld-linux.so.2 -> i386-linux-gnu/ld-2.13.so". But I don't know why this happen.
Thanks a lot~~
Yours
Terry
-----Original Message-----
From: Michael Hope [mailto:michael.hope at linaro.org]
Sent: 2012年1月11日 14:40
To: Lv Terry-R65388
Cc: linaro-toolchain at lists.linaro.org
Subject: Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server
On Wed, Jan 11, 2012 at 7:26 PM, Lv Terry-R65388 <r65388 at freescale.com> wrote:
> Hi Michael,
>
> Here's the output. formatted. Sorry for last mail.
>
> r65388 at shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib
> -2011.12/arm-fsl-linux-gnueabi/bin$ md5sum ./arm-linux-gnueabi-gcc
> 22c4ecfc01b1084856d072d4f70809ce ./arm-linux-gnueabi-gcc
> r65388 at shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib
> -2011.12/arm-fsl-linux-gnueabi/bin$ /lib32/ld-linux.so.2
> ./arm-linux-gnueabi-gcc
> arm-linux-gnueabi-gcc: fatal error: no input files compilation terminated.
So it's working then when we call the linker explicitly. That's good.
So why isn't it working when you run the program by itself?
Some more things to try:
Just to be sure:
michaelh at crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$
./arm-linux-gnueabi-gcc
arm-linux-gnueabi-gcc: fatal error: no input files compilation terminated.
michaelh at crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$
ls -la /lib/ld*
-rwxr-xr-x 1 root root 136936 2011-01-22 11:23 /lib/ld-2.11.1.so
lrwxrwxrwx 1 root root 20 2011-08-27 21:19 /lib/ld-linux.so.2 ->
/lib32/ld-linux.so.2
lrwxrwxrwx 1 root root 12 2011-08-27 20:14
/lib/ld-linux-x86-64.so.2 -> ld-2.11.1.so
lrwxrwxrwx 1 root root 13 2011-09-28 22:12 /lib/ld-lsb.so.1 -> ld-linux.so.2
lrwxrwxrwx 1 root root 13 2011-09-28 22:12 /lib/ld-lsb.so.2 -> ld-linux.so.2
lrwxrwxrwx 1 root root 13 2011-09-28 22:12 /lib/ld-lsb.so.3 -> ld-linux.so.2
lrwxrwxrwx 1 root root 25 2011-09-28 22:12 /lib/ld-lsb-x86-64.so.2
-> /lib/ld-linux-x86-64.so.2
lrwxrwxrwx 1 root root 25 2011-09-28 22:12 /lib/ld-lsb-x86-64.so.3
-> /lib/ld-linux-x86-64.so.2
michaelh at crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$
ls -la /lib32/ld*
-rwxr-xr-x 1 root root 118060 2011-01-22 11:25 /lib32/ld-2.11.1.so
lrwxrwxrwx 1 root root 12 2011-08-27 21:19 /lib32/ld-linux.so.2 ->
ld-2.11.1.so
michaelh at crucis:~/linaro/binary/check/gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin$
ls /etc/ld.so*
/etc/ld.so.cache /etc/ld.so.conf
/etc/ld.so.conf.d:
GL.conf lib32asound2.conf libasound2.conf libc.conf x86_64-linux-gnu.conf
More information about the linaro-toolchain
mailing list