We have built a custom BSP Reference Minimal Image with docker package, that is working on our custom board with no problems.
Now we need to build this image with the nodejs package, and we enabled it on or image, but now the image stops building when trying to compile nodejs with the errors below:
| collect2: fatal error: ld terminated with signal 9 [Killed]
| compilation terminated.
| make[1]: *** [node.target.mk:193: Release/node] Error 1
| make[1]: *** Waiting for unfinished jobs....
| collect2: fatal error: ld terminated with signal 9 [Killed]
| compilation terminated.
| make[1]: *** [cctest.target.mk:225: Release/cctest] Error 1
| collect2: fatal error: ld terminated with signal 9 [Killed]
| compilation terminated.
| make[1]: *** [node_mksnapshot.target.mk:187: Release/node_mksnapshot] Error 1
| rm ce4005a9f3c414c7f161db21cbc9e6a3c8a65c1a.intermediate 224b5fa8b9a109ae691741cd53ed53c989e88b51.intermediate 584df6a6f2e1bd2cd64dceac369f27b95d74ba5f.intermediate 6839c36cc9a463749da00256ab2e3026b0aec239.intermediate b5007b287cd1de8542dbd9ca38481999bbc5b79f.intermediate 80d5e920d842a9ba2a8ef14613cbf6d65e3ecddf.intermediate
| make: *** [Makefile:113: node] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/smar/toradex/oe-bsp/build/../layers/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_16.20.2.bb:do_compile) failed with exit code '1'
NOTE: We cannot use Torizon TCBuilder right now. This will be studied later.
Best regards,
Vilson Balestero
Software summary
------------------------------------------------------------
Bootloader: U-Boot
Kernel version: 6.1.95-rt34-6.7.0+git.7d6bbd3e0ef0 #1 SMP Wed Jun 26 1 5:24:17 UTC 2024
Kernel command line: enable_wait_mode=off galcore.contiguousSize=50331648 r oot=PARTUUID=4e5d7f3a-02 ro rootwait fec_mac=00:14:2d:ac:5e:30 consoleblank=0 no _console_suspend=1 console=tty1 console=ttymxc0,115200n8 fbmem=8M
Distro name: NAME="DCN I/O Gateway"
Distro version: VERSION_ID=6.7.0-build.0
Distro variant: -
Hostname: dcnio
------------------------------------------------------------
Hardware info
------------------------------------------------------------
HW model: Toradex Colibri iMX6DL/S on Colibri Evaluation Board V 3
Toradex version: 0017 V1.1B
Serial number: 11296304
Processor arch: armv7l
------------------------------------------------------------