-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile v6.8.1 on armv7 #55
Comments
Maybe meta-nodejs is completely missing from your bblayers.conf? I don't see in your config... |
I agree with @gizero Looks like meta-nodejs is not included. |
Hi, My bblayers.conf: `LCONF_VERSION = "6" BBPATH = "${TOPDIR}" BBLAYERS ?= " $ bitbake -s | grep nodejs ` $ cd meta-nodejs; git branch -av ` The version 0.12.7 is compiled. Regards |
Found the issue. The layer should not be on EXTRALAYERS section. Now I am getting the following compiling error: | arm-poky-linux-gnueabi-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a7 --sysroot=/home/joao/projetos/toradex/poky_imx7/poky-toradex/build/tmp/sysroots/colibri-imx7 '-D_REENTRANT' '-DPURIFY' '-DOPENSSL_NO_COMP' '-DOPENSSL_NO_SSL3' '-DOPENSSL_NO_HEARTBEATS' '-DOPENSSL_NO_HW' '-DENGINESDIR="/dev/null"' '-DTERMIOS' '-DOPENSSLDIR="/etc/ssl"' '-DL_ENDIAN' '-DAES_ASM' '-DCPUID_ASM' '-DOPENSSL_BN_ASM_MONT' '-DOPENSSL_CPUID_OBJ' '-DSHA1_ASM' '-DSHA256_ASM' '-DSHA512_ASM' '-DGHASH_ASM' '-DDSO_DLFCN' '-DHAVE_DLFCN_H' -I../deps/openssl -I../deps/openssl/openssl -I../deps/openssl/openssl/crypto -I../deps/openssl/openssl/crypto/asn1 -I../deps/openssl/openssl/crypto/evp -I../deps/openssl/openssl/crypto/md2 -I../deps/openssl/openssl/crypto/modes -I../deps/openssl/openssl/crypto/store -I../deps/openssl/openssl/include -Wno-missing-field-initializers -pthread -Wall -Wextra -Wno-unused-parameter -O3 -fno-omit-frame-pointer -MMD -MF /home/joao/projetos/toradex/poky_imx7/poky-toradex/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/nodejs/6.8.1-r1.7/node-v6.8.1/out/Release/.deps//home/joao/projetos/toradex/poky_imx7/poky-toradex/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/nodejs/6.8.1-r1.7/node-v6.8.1/out/Release/obj.target/openssl/deps/openssl/openssl/crypto/armcap.o.d.raw -O2 -pipe -g -feliminate-unused-debug-types -c -o /home/joao/projetos/toradex/poky_imx7/poky-toradex/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/nodejs/6.8.1-r1.7/node-v6.8.1/out/Release/obj.target/openssl/deps/openssl/openssl/crypto/armcap.o ../deps/openssl/openssl/crypto/armcap.c | make[1]: execvp: printf: Argument list too long | make[1]: *** [/home/joao/projetos/toradex/poky_imx7/poky-toradex/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/nodejs/6.8.1-r1.7/node-v6.8.1/out/Release/obj.target/deps/openssl/libopenssl.a] Error 127 | make: *** [node] Error 2 Best regards |
Take a look at #9... seems related. I also experienced a similar issue when building from unusual build paths and suspected this was related to the length of the paths |
If bundled openssl compilation fails you can build Node.js with use shared openssl. This can be enabled with http://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#var-PACKAGECONFIG For example, in your
or in
|
using I give you my example. I keep my yocto related stuff in one directory, where I have 2 other dirs: If my main path is:
In my opinion this issue should be forwarded to the developers responsible for creating nodejs. There has already been a patch for this issue in nodejs 0.8.18 but I tried applying it manually (normal patching failed), but even that did not help. There is already an issue for it in here: nodejs/node#9137 |
Hi,
I'm trying to compile the version v6.8.1 but I'm getting the following warning:
My local.conf:
PREFERRED_VERSION_nodejs = "6.8.1"
Build configuration:
BB_VERSION = "1.28.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-14.04" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "colibri-imx7" DISTRO = "poky" DISTRO_VERSION = "2.0.2" TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa7" TARGET_FPU = "vfp-neon" meta meta-yocto = "jethro:37eb21b2b1d5977a028a448e52551607fae99bf7" meta-oe meta-python meta-networking meta-gnome meta-ruby = "jethro:8ab04afbffb4bc5184cfe0655049de6f44269990" meta-yocto-bsp = "jethro:37eb21b2b1d5977a028a448e52551607fae99bf7" meta-toradex = "V2.6:485643678b2d39d37b1cc9d1aa2200bb934b08de" meta-fsl-arm = "jethro:417f669e4dede244a81e11aa6d8b60c4e333e589" meta-fsl-arm-extra = "master:fddc5aef6712b9ea87095772ad51a8d41be9ad67"
Am i missing anything? I'm using the latest master.
Best regards
The text was updated successfully, but these errors were encountered: