On 16 April 2014 00:31, Jeremy Hahn <m...@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-gnueabihf-raspbian-4.8-2014.03_linux.tar.xz 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 _______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain