Error while building IMX93 Yocto Build.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error while building IMX93 Yocto Build.

164 Views
mohamed_gaseen
Contributor II

Hello,

I'm currently building an IMX93 yocto build on my PC. I integrated nodejs in my source file and building it, While building I'm facing some error messages. I'll attach the errors below.

imx93evk/tmp/work/armv8a-poky-linux/nodejs/18.14.2-r0/recipe-sysroot -o Release/cctest -pthread -rdynamic -Wl,--whole-archive .//Release/obj.target/deps/uv/libuv.a -Wl,--no-whole-archive -Wl,-z,noexecstack -Wl,--whole-archive .//Release/obj.target/tools/v8_gypfiles/libv8_snapshot.a -Wl,--no-whole-archive -Wl,-z,relro -Wl,-z,now -pthread -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=/home/zumi/IMX93/Imxbsp--6.1.22/bld-imx93evk/tmp/work/armv8a-poky-linux/nodejs/18.14.2-r0/node-v18.14.2=/usr/src/debug/nodejs/18.14.2-r0 -fdebug-prefix-map=/home/zumi/IMX93/Imxbsp--6.1.22/bld-imx93evk/tmp/work/armv8a-poky-linux/nodejs/18.14.2-r0/node-v18.14.2=/usr/src/debug/nodejs/18.14.2-r0 -fmacro-prefix-map=/home/zumi/IMX93/Imxbsp--6.1.22/bld-imx93evk/tmp/work/armv8a-poky-linux/nodejs/18.14.2-r0/node-v18.14.2=/usr/src/debug/nodejs/18.14.2-r0 -fdebug-prefix-map=/home/zumi/IMX93/Imxbsp--6.1.22/bld-imx93evk/tmp/work/armv8a-poky-linux/nodejs/18.14.2-r0/node-v18.14.2=/usr/src/debug/nodejs/18.14.2-r0 -fdebug-prefix-map=/home/zumi/IMX93/Imxbsp--6.1.22/bld-imx93evk/tmp/work/armv8a-poky-linux/nodejs/18.14.2-r0/recipe-sysroot= -fmacro-prefix-map=/home/zumi/IMX93/Imxbsp--6.1.22/bld-imx93evk/tmp/work/armv8a-poky-linux/nodejs/18.14.2-r0/recipe-sysroot= -fdebug-prefix-map=/home/zumi/IMX93/Imxbsp--6.1.22/bld-imx93evk/tmp/work/armv8a-poky-linux/nodejs/18.14.2-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -Wl,--start-group .//Release/obj.target/cctest/src/node_snapshot_stub.o .//Release/obj.target/cctest/test/cctest/node_test_fixture.o .//Release/obj.target/cctest/test/cctest/test_aliased_buffer.o .//Release/obj.target/cctest/test/cctest/test_base64.o .//Release/obj.target/cctest/test/cctest/test_base_object_ptr.o .//Release/obj.target/cctest/test/cctest/test_node_postmortem_metadata.o .//Release/obj.target/cctest/test/cctest/test_environment.o .//Release/obj.target/cctest/test/cctest/test_linked_binding.o .//Release/obj.target/cctest/test/cctest/test_node_api.o .//Release/obj.target/cctest/test/cctest/test_per_process.o .//Release/obj.target/cctest/test/cctest/test_platform.o .//Release/obj.target/cctest/test/cctest/test_report.o .//Release/obj.target/cctest/test/cctest/test_json_utils.o .//Release/obj.target/cctest/test/cctest/test_sockaddr.o .//Release/obj.target/cctest/test/cctest/test_traced_value.o .//Release/obj.target/cctest/test/cctest/test_util.o .//Release/obj.target/cctest/test/cctest/test_url.o .//Release/obj.target/cctest/test/cctest/test_crypto_clienthello.o .//Release/obj.target/cctest/test/cctest/test_node_crypto.o .//Release/obj.target/cctest/test/cctest/test_inspector_socket.o .//Release/obj.target/cctest/test/cctest/test_inspector_socket_server.o .//Release/obj.target/libnode.a .//Release/obj.target/deps/base64/libbase64.a .//Release/obj.target/deps/googletest/libgtest.a .//Release/obj.target/deps/googletest/libgtest_main.a .//Release/obj.target/deps/histogram/libhistogram.a .//Release/obj.target/deps/uvwasi/libuvwasi.a .//Release/obj.target/deps/simdutf/libsimdutf.a .//Release/obj.target/tools/v8_gypfiles/libv8_snapshot.a .//Release/obj.target/tools/v8_gypfiles/libv8_libplatform.a .//Release/obj.target/deps/llhttp/libllhttp.a .//Release/obj.target/deps/uv/libuv.a .//Release/obj.target/deps/nghttp2/libnghttp2.a .//Release/obj.target/deps/base64/libbase64_neon64.a .//Release/obj.target/tools/v8_gypfiles/libv8_base_without_compiler.a .//Release/obj.target/tools/v8_gypfiles/libv8_libbase.a .//Release/obj.target/tools/v8_gypfiles/libv8_zlib.a .//Release/obj.target/tools/v8_gypfiles/libv8_compiler.a .//Release/obj.target/tools/v8_gypfiles/libv8_initializers.a -lz -lbrotlidec -lbrotlienc -lcares -lcrypto -lssl -licui18n -licuuc -licudata -lm -ldl -Wl,--end-group
| collect2: fatal error: ld terminated with signal 9 [Killed]
| compilation terminated.
| make[1]: *** [node.target.mk:216: 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:226: Release/cctest] Error 1
| rm fc5d1203d768b8853ee79d0776c1b01ca7cf2b38.intermediate 6a393a3eb693ccbc552c1f91aabb85529876ace5.intermediate ccb7075b54495ec4e1369971458c73f4a0cc5e45.intermediate d60aebaaaa8894040185d16220301ed4b3c519c7.intermediate 71a4bfd95d60bf89a3b8abf7c8a87993083c5984.intermediate 922e1b6d59b2ef4dc6e07b2b0954360a7d68d636.intermediate
| make: *** [Makefile:134: node] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/zumi/IMX93/Imxbsp--6.1.22/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_18.14.2.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1390 tasks of which 1382 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/zumi/IMX93/Imxbsp--6.1.22/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_18.14.2.bb:do_compile
Summary: There were 2 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.

 

What 's the cause for the error. Can you please help me to sort out the issue.

Thanks in Advance.

0 Kudos
1 Reply

129 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @mohamed_gaseen 

Make sure you are using Ubuntu20.04+ and you have installed host packages in Ubuntu.

Then use bitbake imx-image-full -c cleanall. <if you are making imx-image-full>

 

Best Regards

Zhiming

0 Kudos