ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] cross gcc not found ?


From: Peter Barada
Subject: Re: [Ltib] cross gcc not found ?
Date: Sat, 20 Nov 2010 14:36:05 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10

On 11/20/2010 01:41 PM, Stuart Hughes wrote:
Hi Rob,

Unfortunately I'm short of time so I can't go back and look in detail,
but I recall someone posting a similar issue recently.

I think the issue was that the toolchains are 32 bit and unless you have
the 32bit compatibility libs installed on a 64bit Linux distro, you get
this failure.

Please search the mailing list archives, I'm pretty sure I saw this.
Yes it's been seen before.  If the output of "file
/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc", shows something like:

/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs)...

And you're running on Ubuntu/Debian, try "sudo apt-get install ia32-libs" to install 32-bit versions of the host libraries that link to your 32-bit executable, and allow it to run on x64 systems.
Regards, Stuart

Rob Savoye wrote:
I'm having the same problem using ltib from CVS and also with
L2.6.31_10.08.01_SDK. After fixing one problem with mtd-utils (removed
-Werror from the Makefile). I repeated this from scratch twice, so
unless I'm dong something wrong repeatedly, there is a problem. The
older snapshot built just fine. Basically after ./ltib -m config, I get
stopped with this message:

./ltib
sh:
/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc:
not found

I get the same problem with gcc 4.4.3. So the file it's trying to
execute exists, but it won't execute.

address@hidden:/opt/ltib$  file
/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc


/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc:
ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.2.5, not stripped

address@hidden:/opt/ltib$
/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc
-v

-bash:
/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc:
No such file or directory

With -v, I should get some debug output, so I assume the gcc executable
is non functional. This is on a x86_64 Ubuntu 11.04 system. Maybe I'm
just missing something, I'm more used to the traditional GNU style of
cross compiling.

        - rob -

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib


--
Peter Barada
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]