On 12/18/15 06:51, Martin Jansa wrote: > On Tue, Dec 01, 2015 at 01:19:25PM -0500, Trevor Woerner wrote: >> Remove old nodejs_0.4.12 and update nodejs_0.12.7 to the latest stable >> nodejs_4.2.2. > It does something strange with CC and ends with invalid parameter for > qemuarm: > > arm-oe-linux-gnueabi-g++: error: unrecognized argument in option '-mfpu=vfpv2' > > http://errors.yoctoproject.org/Errors/Details/22678/
Nodejs (actually V8) dropped support for ARMv5 around V8 version 3.22 https://github.com/nodejs/node/issues/3061 A day or so ago I had generated a patch to switch the -mfpu option to "vfp" (i.e. version 1) instead of vfpv2 (-mfpu=vfp). This allowed nodejs to build for ARMv5, but when I tried running it, it just crashed and said "illegal instruction". Since ARMv5 is not supported upstream anymore I didn't think it was worth my time trying to get it to work. So I simply removed armv5 from COMPATIBLE_MACHINE. See my v3 patch. As to this specific error, it doesn't look like gcc5 accepts "vfp2" as an option to mfpu: https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
