I downloaded the aarch64 binaries to a ubuntu machine:
wink@ssi-primary:~$ uname -a Linux ssi-primary 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
And when I try to run gcc-4.7.3:
wink@ssi-primary:~$ ls -al ~/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3 -rwxr-xr-x 1 wink wink 553068 Oct 18 14:21 /home/wink/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3
I get a file not found:
wink@ssi-primary:~$ strace /home/wink/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3 -v
execve("/home/wink/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3", ["/home/wink/aarch64-toolchain/gcc"..., "-v"], [/* 19 vars */]) = -1 ENOENT (No such file or directory) dup(2) = 3 fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa688be5000 lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory ) = 40 close(3) = 0 munmap(0x7fa688be5000, 4096) = 0 exit_group(1) = ?
I must have done something real stupid, any help appreciated.
-- Wink
On 10 February 2013 04:36, Wink Saville wink@saville.com wrote:
I downloaded the aarch64 binaries to a ubuntu machine:
wink@ssi-primary:~$ uname -a Linux ssi-primary 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
And when I try to run gcc-4.7.3:
wink@ssi-primary:~$ ls -al ~/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3 -rwxr-xr-x 1 wink wink 553068 Oct 18 14:21 /home/wink/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3
I get a file not found:
wink@ssi-primary:~$ strace /home/wink/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3 -v
execve("/home/wink/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3", ["/home/wink/aarch64-toolchain/gcc"..., "-v"], [/* 19 vars */]) = -1 ENOENT (No such file or directory)
This error usually means the executable is requesting a non-existent "interpreter" (dynamic loader). You need to install the 32-bit compat lib package. I don't remember what it's called on ubuntu, probably ia32-libs or similar.
Thanks, I install ia32-lib and now it works, but what a poor error message. To bad i would at least tell you what file wasn't found.
-- Wink
On Sun, Feb 10, 2013 at 3:23 AM, Mans Rullgard mans.rullgard@linaro.orgwrote:
On 10 February 2013 04:36, Wink Saville wink@saville.com wrote:
I downloaded the aarch64 binaries to a ubuntu machine:
wink@ssi-primary:~$ uname -a Linux ssi-primary 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59
UTC
2012 x86_64 x86_64 x86_64 GNU/Linux
And when I try to run gcc-4.7.3:
wink@ssi-primary:~$ ls -al
~/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3
-rwxr-xr-x 1 wink wink 553068 Oct 18 14:21
/home/wink/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3
I get a file not found:
wink@ssi-primary:~$ strace
/home/wink/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3
-v
execve("/home/wink/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3",
["/home/wink/aarch64-toolchain/gcc"..., "-v"], [/* 19 vars */]) = -1 ENOENT (No such file or directory)
This error usually means the executable is requesting a non-existent "interpreter" (dynamic loader). You need to install the 32-bit compat lib package. I don't remember what it's called on ubuntu, probably ia32-libs or similar.
-- Mans Rullgard / mru
On 13/02/13 02:08, Wink Saville wrote:
Thanks, I install ia32-lib and now it works, but what a poor error message. To bad i would at least tell you what file wasn't found.
I agree, but that's a feature of the OS, rather than the program you were trying to run. The programs you installed never even started to run because the OS couldn't find the required libraries.
R.
-- Wink
On Sun, Feb 10, 2013 at 3:23 AM, Mans Rullgard <mans.rullgard@linaro.org mailto:mans.rullgard@linaro.org> wrote:
On 10 February 2013 04:36, Wink Saville <wink@saville.com <mailto:wink@saville.com>> wrote: > I downloaded the aarch64 binaries to a ubuntu machine: > > wink@ssi-primary:~$ uname -a > Linux ssi-primary 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC > 2012 x86_64 x86_64 x86_64 GNU/Linux > > > And when I try to run gcc-4.7.3: > > wink@ssi-primary:~$ ls -al > ~/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3 > -rwxr-xr-x 1 wink wink 553068 Oct 18 14:21 > /home/wink/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3 > > I get a file not found: > > wink@ssi-primary:~$ strace > /home/wink/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3 > -v > > execve("/home/wink/aarch64-toolchain/gcc-linaro-aarch64-linux-gnu-4.7+bzr115029-20121015+bzr2506_linux/bin/aarch64-linux-gnu-gcc-4.7.3", > ["/home/wink/aarch64-toolchain/gcc"..., "-v"], [/* 19 vars */]) = -1 > ENOENT (No such file or directory) This error usually means the executable is requesting a non-existent "interpreter" (dynamic loader). You need to install the 32-bit compat lib package. I don't remember what it's called on ubuntu, probably ia32-libs or similar. -- Mans Rullgard / mru
ATT00001..txt
linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain
I wasn't blaming the app, I see it as a linux problem.
On Wed, Feb 13, 2013 at 2:47 AM, Richard Earnshaw rearnsha@arm.com wrote:
On 13/02/13 02:08, Wink Saville wrote:
Thanks, I install ia32-lib and now it works, but what a poor error message. To bad i would at least tell you what file wasn't found.
I agree, but that's a feature of the OS, rather than the program you were trying to run. The programs you installed never even started to run because the OS couldn't find the required libraries.
R.
-- Wink
On Sun, Feb 10, 2013 at 3:23 AM, Mans Rullgard <mans.rullgard@linaro.org <mailto:mans.rullgard@linaro.**org mans.rullgard@linaro.org>> wrote:
On 10 February 2013 04:36, Wink Saville <wink@saville.com <mailto:wink@saville.com>> wrote: > I downloaded the aarch64 binaries to a ubuntu machine: > > wink@ssi-primary:~$ uname -a > Linux ssi-primary 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC > 2012 x86_64 x86_64 x86_64 GNU/Linux > > > And when I try to run gcc-4.7.3: > > wink@ssi-primary:~$ ls -al > ~/aarch64-toolchain/gcc-**linaro-aarch64-linux-gnu-4.7+**
bzr115029-20121015+bzr2506_**linux/bin/aarch64-linux-gnu-**gcc-4.7.3 > -rwxr-xr-x 1 wink wink 553068 Oct 18 14:21 > /home/wink/aarch64-toolchain/**gcc-linaro-aarch64-linux-gnu-** 4.7+bzr115029-20121015+**bzr2506_linux/bin/aarch64-**linux-gnu-gcc-4.7.3 > > I get a file not found: > > wink@ssi-primary:~$ strace > /home/wink/aarch64-toolchain/**gcc-linaro-aarch64-linux-gnu-** 4.7+bzr115029-20121015+**bzr2506_linux/bin/aarch64-**linux-gnu-gcc-4.7.3 > -v > > execve("/home/wink/aarch64-**toolchain/gcc-linaro-aarch64-** linux-gnu-4.7+bzr115029-**20121015+bzr2506_linux/bin/** aarch64-linux-gnu-gcc-4.7.3", > ["/home/wink/aarch64-**toolchain/gcc"..., "-v"], [/* 19 vars */]) = -1 > ENOENT (No such file or directory)
This error usually means the executable is requesting a non-existent "interpreter" (dynamic loader). You need to install the 32-bit compat lib package. I don't remember what it's called on ubuntu, probably ia32-libs or similar. -- Mans Rullgard / mru
ATT00001..txt
______________________________**_________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.**org linaro-toolchain@lists.linaro.org http://lists.linaro.org/**mailman/listinfo/linaro-**toolchainhttp://lists.linaro.org/mailman/listinfo/linaro-toolchain
linaro-toolchain@lists.linaro.org