On Wed, Jan 11, 2012 at 7:26 PM, Lv Terry-R65388 <r65...@freescale.com> wrote:
> Hi Michael,
>
>        Here's the output. formatted. Sorry for last mail.
>
> r65388@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@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@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@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@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@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

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to