It appears this version requires glibc >= 2.14 and Debian Wheezy ships with 2.13.
I've got the compiler going on a new system which satisfies the dependency and was able to get my project to successfully compile. Thanks. There seems to be an issue with arm-linux-gnueabihf-gdb, however:
I'm sorry, Dave, I can't do that. Symbol format `elf32-littlearm' unknown.
On 04/15/2014 09:21 PM, Zhenqiang Chen wrote:
On 16 April 2014 00:31, Jeremy Hahn mail@jeremyhahn.com wrote:
Getting the following cross compiling for RPi on Debian Wheezy x64 using the gcc-linaro-arm-linux-gnueabihf-raspbian toolchain within Eclipse Kepler. Compilation works fine using native Debian x64 GCC and native GCC compiler on the RPi.
out of dynamic memory in yy_create_buffer() collect2: error: ld returned 2 exit status make: * [cwebsocket] Error 1
I'm stumped. Can't find much info on the issue. Any ideas?
Which toolchain do you use? If not 2014.03 release, please try
http://cbuild.validation.linaro.org/binaries/2014.03/gcc-linaro-arm-linux-gn...
Please also try "ld.gold". i.e change the softlink from
arm-linux-gnueabihf-ld -> arm-linux-gnueabihf-ld.bfd arm-linux-gnueabihf-ld -> arm-linux-gnueabihf-ld.gold
at gcc-linaro-arm-linux-gnueabihf-raspbian-4.8-2014.03_linux/bin/
Thanks! -Zhenqiang
linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain