Hello,

I'm trying to compile nodejs 0.10.x for the beaglebone (using the yocto1.3 
branch of the angstrom "setup-scripts" repository)
As a baseline, I am using the nodejs_0.8.18.bb recipe available in the 
"recipes-devtools/nodejs" directory (I've just edited the .patch file). For 
information, node 0.8.18 builds fine under yocto 1.3.

However, compilation fails for nodejs 0.10.x:
[...]

/armcap.o ../deps/openssl/openssl/crypto/armcap.c
| 
|   arm-angstrom-linux-gnueabi-gcc  -march=armv7-a     -mthumb-interwork 
-mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 
--sysroot=/data/oe13/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/sysroots/beaglebone
 
'-DL_ENDIAN' '-DPURIFY' '-D_REENTRANT' '-DOPENSSL_NO_HEARTBEATS' 
'-DOPENSSL_NO_ASM' '-DENGINESDIR="/dev/null"' '-DOPENSSLDIR="/etc/ssl"' 
'-DTERMIOS' -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 
 -Wall -Wextra -Wno-unused-parameter -pthread 
-Wno-missing-field-initializers -Wno-old-style-declaration -O2 
-fno-strict-aliasing -fno-tree-vrp  -MMD -MF 
/data/oe13/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/nodejs-0.10.2-r0/node-v0.10.2/out/Release/.deps//data/oe13/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/nodejs-0.10.2-r0/node-v0.10.2/out/Release/obj.target/openssl/deps/openssl/openssl/crypto/armcap.o.d.raw
 
-O2 -pipe -g -feliminate-unused-debug-types -c -o 
/data/oe13/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/nodejs-0.10.2-r0/node-v0.10.2/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]:
| make[1]: execvp: printf: Argument list too long
| make[1]: *** 
[/data/oe13/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/nodejs-0.10.2-r0/node-v0.10.2/out/Release/obj.target/deps/openssl/libopenssl.a]
 
Error 127
| 
| *** 
[/data/oe13/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/nodejs-0.10.2-r0/node-v0.10.2/out/Release/obj.target/deps/openssl/libopenssl.a]
 
Error 127
| make[1]: Leaving directory 
`/data/oe13/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/nodejs-0.10.2-r0/node-v0.10.2/out'

[...]

When I use the same recipe (and ajust the patch file, to remove a 
"-rdynamic" flag in common.gypi and add an "'arm-neon%': 1" in the 
variables in deps/v8/build/common.gypi), it builds OK in the "master" 
branch of "setup-scripts".

I'm not aware of how yocto1.3 differs from "master" in terms of compile / 
build, but there may be something in nodejs 0.10.x build environment that 
yocto1.3 doesn't like.

Have you got any ideas?

Thanks in advance,

Erwin

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" 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.


Reply via email to