Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
6.7.0
-
None
-
-
b7ad3758b (dev), 9e028c397 (6.7)
Description
I'm trying to build Boot2Qt for raspberry pi 4 following the instructions here: https://doc.qt.io/Boot2Qt/b2qt-how-to-create-b2qt-image.html
export MACHINE=raspberrypi4-64
When I get to the step
bitbake b2qt-embedded-qt6-image
It looks like almost everything builds OK except it keeps failing node.js...
...
...
g++ -o Release/obj.target/v8_base_without_compiler/deps/v8/src/baseline/baseline-compiler.o ../deps/v8/src/baseline/baseline-compiler.cc '-D_GLIBCXX_USE_CXX11_ABI=1' '-DNODE_OPENSSL_CO NF_NAME=nodejs_conf' '-DICU_NO_USER_DATA_OVERRIDE' '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' '-D__STDC_FORMAT_MACROS' '-DV8_TARGET_ARCH_X64' '-DV8_HAVE_TARGET_OS' '-DV8_TARGET _OS_LINUX' '-DV8_EMBEDDER_STRING="-node.16"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_ENABLE_PRIVATE_MAPPING_FORK_OPTIMIZATION' '-DV8_SHORT_BUILTIN_CALLS' '-DOBJE CT_PRINT' '-DV8_INTL_SUPPORT' '-DV8_ATOMIC_OBJECT_FIELD_WRITES' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DV8_SHARED_RO_HEAP' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_ INTERPRETER_THREADED_DISPATCH' '-DV8_USE_ZLIB' '-DV8_ENABLE_TURBOFAN' '-DV8_ENABLE_WEBASSEMBLY' '-DV8_ENABLE_JAVASCRIPT_PROMISE_HOOKS' '-DV8_ALLOCATION_FOLDING' '-DV8_ALLOCATION_SITE_TRACKI NG' '-DV8_SCRIPTORMODULE_LEGACY_LIFETIME' '-DV8_ADVANCED_BIGINT_ALGORITHMS' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' -I/docs/Projects/MyProject/Boot2Qt/raspberrypi4-64/build-raspber rypi4-64/tmp/work/x86_64-linux/nodejs-native/20.8.1/recipe-sysroot-native/usr/include -I../deps/v8 -I../deps/v8/include -I.//Release/obj/gen/inspector-generated-output-root -I../deps/v8/thi rd_party/inspector_protocol I.//Release/obj/gen -I.//Release/obj/gen/generate-bytecode-output-root -I../deps/v8/third_party/zlib -I../deps/v8/third_party/zlib/google -pthread -Wno-unused parameter -Wno-return-type -fno-strict-aliasing -m64 -m64 -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++17 -MMD -MF .//Release/.dep s/Release/obj.target/v8_base_without_compiler/deps/v8/src/baseline/baseline-compiler.o.d.raw -isystem/docs/Projects/MyProject/Boot2Qt/raspberrypi4-64/build-raspberrypi4-64/tmp/work/x86 _64-linux/nodejs-native/20.8.1/recipe-sysroot-native/usr/include -isystem/docs/Projects/MyProject/Boot2Qt/raspberrypi4-64/build-raspberrypi4-64/tmp/work/x86_64-linux/nodejs-native/20.8 .1/recipe-sysroot-native/usr/include -O2 -pipe -c |
g++ -o Release/obj.target/v8_base_without_compiler/deps/v8/src/baseline/baseline.o ../deps/v8/src/baseline/baseline.cc '-D_GLIBCXX_USE_CXX11_ABI=1' '-DNODE_OPENSSL_CONF_NAME=nodejs_con
f' '-DICU_NO_USER_DATA_OVERRIDE' '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' '-D__STDC_FORMAT_MACROS' '-DV8_TARGET_ARCH_X64' '-DV8_HAVE_TARGET_OS' '-DV8_TARGET_OS_LINUX' '-DV8_E
MBEDDER_STRING="-node.16"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_ENABLE_PRIVATE_MAPPING_FORK_OPTIMIZATION' '-DV8_SHORT_BUILTIN_CALLS' '-DOBJECT_PRINT' '-DV8_IN
TL_SUPPORT' '-DV8_ATOMIC_OBJECT_FIELD_WRITES' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DV8_SHARED_RO_HEAP' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREAD
ED_DISPATCH' '-DV8_USE_ZLIB' '-DV8_ENABLE_TURBOFAN' '-DV8_ENABLE_WEBASSEMBLY' '-DV8_ENABLE_JAVASCRIPT_PROMISE_HOOKS' '-DV8_ALLOCATION_FOLDING' '-DV8_ALLOCATION_SITE_TRACKING' '-DV8_SCRIPTOR
MODULE_LEGACY_LIFETIME' '-DV8_ADVANCED_BIGINT_ALGORITHMS' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' -I/docs/Projects/MyProject/Boot2Qt/raspberrypi4-64/build-raspberrypi4-64/tmp/work/
x86_64-linux/nodejs-native/20.8.1/recipe-sysroot-native/usr/include -I../deps/v8 -I../deps/v8/include -I.//Release/obj/gen/inspector-generated-output-root -I../deps/v8/third_party/inspector
_protocol -I.//Release/obj/gen -I.//Release/obj/gen/generate-bytecode-output-root -I../deps/v8/third_party/zlib -I../deps/v8/third_party/zlib/google -pthread -Wno-unused-parameter -Wno-ret
urn-type -fno-strict-aliasing -m64 -m64 -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++17 -MMD -MF .//Release/.deps/Release/obj.targ
et/v8_base_without_compiler/deps/v8/src/baseline/baseline.o.d.raw -isystem/docs/Projects/MyProject/Boot2Qt/raspberrypi4-64/build-raspberrypi4-64/tmp/work/x86_64-linux/nodejs-native/20.
8.1/recipe-sysroot-native/usr/include -isystem/docs/Projects/MyProject/Boot2Qt/raspberrypi4-64/build-raspberrypi4-64/tmp/work/x86_64-linux/nodejs-native/20.8.1/recipe-sysroot-native/us
r/include -O2 -pipe -c
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[1]: *** [tools/v8_gypfiles/v8_turboshaft.target.mk:179: Release/obj.target/v8_turboshaft/deps/v8/src/compiler/turboshaft/machine-lowering-phase.o] Error 1
make[1]: *** Waiting for unfinished jobs....
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[1]: *** [tools/v8_gypfiles/v8_compiler.target.mk:282: Release/obj.target/v8_compiler/deps/v8/src/compiler/pipeline.o] Error 1
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[1]: *** [tools/v8_gypfiles/v8_turboshaft.target.mk:179: Release/obj.target/v8_turboshaft/deps/v8/src/compiler/turboshaft/late-optimization-phase.o] Error 1
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[1]: *** [tools/v8_gypfiles/v8_turboshaft.target.mk:179: Release/obj.target/v8_turboshaft/deps/v8/src/compiler/turboshaft/optimize-phase.o] Error 1
rm 34362c4c68cbcfc01a145690f0ebcc5b1b3e4946.intermediate 6ffbe036f7f10157a54869bfb571bd367a4ae088.intermediate 421793270e72807c810c95aa842f62c90e383fe7.intermediate
make: *** [Makefile:134: node] Error 2
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Task (virtual:native:/docs/Projects/MyProject/Boot2Qt/raspberrypi4-64/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_20.8.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6159 tasks of which 5093 didn't need to be rerun and 1 failed.
NOTE: Build completion summary:
NOTE: do_populate_sysroot: 0.0% sstate reuse(0 setscene, 88 scratch)
NOTE: do_deploy_source_date_epoch: 0.0% sstate reuse(0 setscene, 4 scratch)
NOTE: do_create_spdx: 0.0% sstate reuse(0 setscene, 82 scratch)
NOTE: do_create_runtime_spdx: 0.0% sstate reuse(0 setscene, 75 scratch)
NOTE: do_package_qa: 0.0% sstate reuse(0 setscene, 75 scratch)
NOTE: do_package: 0.0% sstate reuse(0 setscene, 82 scratch)
NOTE: do_packagedata: 0.0% sstate reuse(0 setscene, 82 scratch)
NOTE: do_package_write_ipk: 38.3% sstate reuse(46 setscene, 74 scratch)
NOTE: do_populate_lic: 0.0% sstate reuse(0 setscene, 4 scratch)
Summary: 1 task failed:
virtual:native:/docs/Projects/MyProject/Boot2Qt/raspberrypi4-64/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_20.8.1.bb:do_compile
Summary: There were 2 ERROR messages, returning a non-zero exit code.