Hello all. I am cross compiling for BBB under Ubunto Raring, trying to use a Linaro toolchain from Launchpad. Specifically https://launchpad.net/linaro-toolchain-binaries/trunk/2013.09/+download/gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux.tar.xz
Reason to use this toolchain is I need gcc 4.8, since my code exposes http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56869, so the prepackaged Ubunto toolchain fails, since it is gcc 4.7. The binaries compiled with this toolchain fail to execute, with strange symptoms: root@beaglebone:~# uname -a Linux beaglebone 3.8.13 #1 SMP Tue Jun 18 02:11:09 EDT 2013 armv7l GNU/Linux root@beaglebone:~# ls -l total 3600 -rwxrwxrwx 1 root root 3679696 Jan 1 00:16 CloudSafe drwxr-xr-x 2 root root 4096 Jan 1 00:01 Desktop root@beaglebone:~# file CloudSafe CloudSafe: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 3.1.1, BuildID[sha1]=0xb74d54b1daa09340f06bf9adb5a5a42e23a35b70, not stripped root@beaglebone:~# ./CloudSafe -sh: ./CloudSafe: No such file or directory root@beaglebone:~# ldd CloudSafe /usr/bin/ldd: line 116: ./CloudSafe: No such file or directory root@beaglebone:~# strace ./CloudSafe execve("./CloudSafe", ["./CloudSafe"], [/* 14 vars */]) = -1 ENOENT (No such file or directory) write(2, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory ) = 40 exit_group(1) = ? +++ exited with 1 +++ root@beaglebone:~# It seems the file is not there, even though i is very clearly three :-( Other test programs cross compiled with the Ubuntu arm toolchain I get to run just fine. Searcing for other questions like this in this forum leads me to believe this might be related to Hard Float.... somehow.... in a way I can't understand. Can someone enlighten me? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
