bitbake compilation errors
Ananth, Rajesh
rajesh.ananth at smartm.com
Fri Jun 7 05:57:31 AEST 2024
Bitbake, while compiling the nodejs-native keeps on failing. It happens irrespective of what platform I am building for. Does it require any package fixes for nodejs?
Build environment: Linux bld-ub20s-openbmc 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
| g++ -o Release/obj.target/v8_turboshaft/deps/v8/src/compiler/turboshaft/memory-optimization-reducer.o ../deps/v8/src/compiler/turboshaft/memory-optimization-reducer.cc '-D_GLIBCXX_USE_CXX11_ABI=1' '-DNODE_OPENSSL_CONF_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.17"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_ENABLE_PRIVATE_MAPPING_FORK_OPTIMIZATION' '-DV8_SHORT_BUILTIN_CALLS' '-DOBJECT_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_TRACKING' '-DV8_ADVANCED_BIGINT_ALGORITHMS' -I/home/rajesh/openbmc/build/s7106/tmp/work/x86_64-linux/nodejs-native/20.11.1/recipe-sysroot-native/usr/include -I../deps/v8 -I../deps/v8/include -I.//Release/obj/gen/generate-bytecode-output-root -I.//Release/obj/gen -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/.deps/Release/obj.target/v8_turboshaft/deps/v8/src/compiler/turboshaft/memory-optimization-reducer.o.d.raw -isystem/home/rajesh/openbmc/build/s7106/tmp/work/x86_64-linux/nodejs-native/20.11.1/recipe-sysroot-native/usr/include -isystem/home/rajesh/openbmc/build/s7106/tmp/work/x86_64-linux/nodejs-native/20.11.1/recipe-sysroot-native/usr/include -O2 -pipe -c
| g++: fatal error: Killed signal terminated program cc1plus
| compilation terminated.
| make[1]: *** [tools/v8_gypfiles/v8_turboshaft.target.mk:177: Release/obj.target/v8_turboshaft/deps/v8/src/compiler/turboshaft/late-optimization-phase.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| rm d85b0cd18d0307252071c96a6ed9b0c9664aa71f.intermediate af4e842a57ff19a6520eb7907ccb4a3969f292c1.intermediate f6356c0b28cf2ef78d26a21531153d32a6176eb4.intermediate
| make: *** [Makefile:134: node] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (virtual:native:/home/rajesh/openbmc/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_20.11.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3967 tasks of which 12 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
virtual:native:/home/rajesh/openbmc/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_20.11.1.bb:do_compile
Summary: There were 2 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20240606/3accdd87/attachment.htm>
More information about the openbmc
mailing list