Skip to content

Installation issue: node-js@22 with gcc@11.2 #48492

Open
@climbfuji

Description

Steps to reproduce the issue

  1. Apply a patch to get past a first compilation error described in FTBFS, version 22.11, gcc 11.2 nodejs/node#55596 - see PR Partial bug fix + conflict for compiling node-js@21: with gcc@11.2 #48494.
  2. Follow the instructions below.
$ spack spec -l node-js
==> Warning: using "zlib@1.2.11" which is a deprecated version
 -   rlw3g4m  node-js@22.4.0%gcc@11.2.0~debug~doc~icu4c+openssl+zlib build_system=generic patches=b6067cb arch=linux-rhel8-zen2
 -   g2tdjsi      ^gcc-runtime@11.2.0%gcc@11.2.0 build_system=generic arch=linux-rhel8-zen2
[e]  kg3kko5      ^glibc@2.28%gcc@11.2.0 build_system=autotools arch=linux-rhel8-zen2
[e]  hpbmdm7      ^gmake@4.2.1%gcc@11.2.0~guile build_system=generic patches=ca60bd9,fe5b60d arch=linux-rhel8-zen2
 -   2v6523m      ^libtool@2.4.7%gcc@11.2.0 build_system=autotools arch=linux-rhel8-zen2
[e]  xy6lbeb          ^findutils@4.6.0%gcc@11.2.0 build_system=autotools arch=linux-rhel8-zen2
[e]  d4kq6zm          ^m4@1.4.18%gcc@11.2.0+sigsegv build_system=autotools patches=3877ab5,fc9b616 arch=linux-rhel8-zen2
 -   udewp3q      ^openssl@3.4.0%gcc@11.2.0~docs+shared build_system=generic certs=mozilla arch=linux-rhel8-zen2
 -   t3tq7uq          ^ca-certificates-mozilla@2023-05-30%gcc@11.2.0 build_system=generic arch=linux-rhel8-zen2
 -   amu5jnv          ^perl@5.40.0%gcc@11.2.0+cpanm+opcode+open+shared+threads build_system=generic arch=linux-rhel8-zen2
 -   dtckwkw              ^berkeley-db@18.1.40%gcc@11.2.0+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-rhel8-zen2
 -   yixwuec      ^pkg-config@0.29.2%gcc@11.2.0+internal_glib build_system=autotools arch=linux-rhel8-zen2
 -   ie54o5v      ^python@3.11.7%gcc@11.2.0+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=13fa8bf,b0615b2,ebdca64,f2fd060 arch=linux-rhel8-zen2
 -   5ziitiw          ^bzip2@1.0.8%gcc@11.2.0~debug~pic+shared build_system=generic arch=linux-rhel8-zen2
[e]  tvsu7gu              ^diffutils@3.6%gcc@11.2.0 build_system=autotools arch=linux-rhel8-zen2
 -   dtc6sa4          ^expat@2.6.4%gcc@11.2.0+libbsd build_system=autotools arch=linux-rhel8-zen2
 -   pudsf6h              ^libbsd@0.12.2%gcc@11.2.0 build_system=autotools arch=linux-rhel8-zen2
 -   qi6fhbu                  ^libmd@1.0.4%gcc@11.2.0 build_system=autotools arch=linux-rhel8-zen2
 -   guaycaw          ^gdbm@1.23%gcc@11.2.0 build_system=autotools arch=linux-rhel8-zen2
 -   6rmufdi          ^gettext@0.22.5%gcc@11.2.0+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools arch=linux-rhel8-zen2
 -   fxmwes3              ^libiconv@1.17%gcc@11.2.0 build_system=autotools libs=shared,static arch=linux-rhel8-zen2
 -   xcwzyjt              ^libxml2@2.13.4%gcc@11.2.0+pic~python+shared build_system=autotools arch=linux-rhel8-zen2
[e]  dhbv4um              ^tar@1.30%gcc@11.2.0 build_system=autotools zip=pigz arch=linux-rhel8-zen2
 -   y57p5gj          ^libffi@3.4.6%gcc@11.2.0 build_system=autotools arch=linux-rhel8-zen2
 -   fx2rvd7          ^libxcrypt@4.4.35%gcc@11.2.0~obsolete_api build_system=autotools patches=4885da3 arch=linux-rhel8-zen2
 -   g2fbupz          ^ncurses@6.5%gcc@11.2.0~symlinks+termlib abi=none build_system=autotools patches=7a351bc arch=linux-rhel8-zen2
 -   ulpha7t          ^readline@8.2%gcc@11.2.0 build_system=autotools patches=bbf97f1 arch=linux-rhel8-zen2
 -   l6k26yr          ^sqlite@3.46.0%gcc@11.2.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-rhel8-zen2
 -   5jxhp4n          ^util-linux-uuid@2.40.2%gcc@11.2.0 build_system=autotools arch=linux-rhel8-zen2
 -   l4kzwmc          ^xz@5.4.6%gcc@11.2.0~pic build_system=autotools libs=shared,static arch=linux-rhel8-zen2
[e]  k3f2wfb      ^zlib@1.2.11%gcc@11.2.0+optimize+pic+shared build_system=makefile arch=linux-rhel8-zen2

Error message

  /gpfs/neptune/spack-stack/spack-stack-dev-20250109/spack/lib/spack/env/gcc/g++ -o /gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/compiler/turboshaft/wasm-dead-code-elimination-phase.o ../deps/v8/src/compiler/turboshaft/wasm-dead-code-elimination-phase.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.15"' '-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' '-DNDEBUG' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DV8_USE_ZLIB' '-DV8_ENABLE_SPARKPLUG' '-DV8_ENABLE_MAGLEV' '-DV8_ENABLE_TURBOFAN' '-DV8_ENABLE_WEBASSEMBLY' '-DV8_ENABLE_JAVASCRIPT_PROMISE_HOOKS' '-DV8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA' '-DV8_ALLOCATION_FOLDING' '-DV8_ALLOCATION_SITE_TRACKING' '-DV8_ADVANCED_BIGINT_ALGORITHMS' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DUCONFIG_NO_SERVICE=1' '-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMENTATION=1' '-DU_HAVE_STD_STRING=1' '-DUCONFIG_NO_BREAK_ITERATION=0' -I/usr/include -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/envs/forspackbug/install/gcc/11.2.0/openssl-3.4.0-udewp3q/include -I../deps/v8 -I../deps/v8/include -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj/gen/inspector-generated-output-root -I../deps/v8/third_party/inspector_protocol -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj/gen -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj/gen/generate-bytecode-output-root -I../deps/icu-small/source/i18n -I../deps/icu-small/source/common -I../deps/v8/third_party/zlib -I../deps/v8/third_party/zlib/google -I../deps/v8/third_party/abseil-cpp -I../deps/v8/third_party/fp16/src/include  -pthread -Wno-unused-parameter -Wno-strict-overflow -Wno-return-type -Wno-int-in-bool-context -Wno-deprecated -Wno-stringop-overflow -Wno-stringop-overread -Wno-restrict -Wno-array-bounds -Wno-nonnull -Wno-dangling-pointer -flax-vector-conversions -fno-strict-aliasing -m64 -m64 -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++20 -Wno-invalid-offsetof -MMD -MF /gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/.deps//gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/compiler/turboshaft/wasm-dead-code-elimination-phase.o.d.raw   -c
  /gpfs/neptune/spack-stack/spack-stack-dev-20250109/spack/lib/spack/env/gcc/g++ -o /gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/debug/debug-wasm-objects.o ../deps/v8/src/debug/debug-wasm-objects.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.15"' '-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' '-DNDEBUG' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DV8_USE_ZLIB' '-DV8_ENABLE_SPARKPLUG' '-DV8_ENABLE_MAGLEV' '-DV8_ENABLE_TURBOFAN' '-DV8_ENABLE_WEBASSEMBLY' '-DV8_ENABLE_JAVASCRIPT_PROMISE_HOOKS' '-DV8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA' '-DV8_ALLOCATION_FOLDING' '-DV8_ALLOCATION_SITE_TRACKING' '-DV8_ADVANCED_BIGINT_ALGORITHMS' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DUCONFIG_NO_SERVICE=1' '-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMENTATION=1' '-DU_HAVE_STD_STRING=1' '-DUCONFIG_NO_BREAK_ITERATION=0' -I/usr/include -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/envs/forspackbug/install/gcc/11.2.0/openssl-3.4.0-udewp3q/include -I../deps/v8 -I../deps/v8/include -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj/gen/inspector-generated-output-root -I../deps/v8/third_party/inspector_protocol -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj/gen -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj/gen/generate-bytecode-output-root -I../deps/icu-small/source/i18n -I../deps/icu-small/source/common -I../deps/v8/third_party/zlib -I../deps/v8/third_party/zlib/google -I../deps/v8/third_party/abseil-cpp -I../deps/v8/third_party/fp16/src/include  -pthread -Wno-unused-parameter -Wno-strict-overflow -Wno-return-type -Wno-int-in-bool-context -Wno-deprecated -Wno-stringop-overflow -Wno-stringop-overread -Wno-restrict -Wno-array-bounds -Wno-nonnull -Wno-dangling-pointer -flax-vector-conversions -fno-strict-aliasing -m64 -m64 -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++20 -Wno-invalid-offsetof -MMD -MF /gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/.deps//gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/debug/debug-wasm-objects.o.d.raw   -c
during GIMPLE pass: slp
../deps/v8/src/maglev/maglev-ir.cc: In member function 'void v8::internal::maglev::HasInPrototypeChain::GenerateCode(v8::internal::maglev::MaglevAssembler*, const v8::internal::maglev::ProcessingState&)':
../deps/v8/src/maglev/maglev-ir.cc:3434:6: internal compiler error: in vectorizable_live_operation, at tree-vect-loop.c:8827
 3434 | void HasInPrototypeChain::GenerateCode(MaglevAssembler* masm,
      |      ^~~~~~~~~~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[1]: *** [tools/v8_gypfiles/v8_base_without_compiler.target.mk:1147: /gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/maglev/maglev-ir.o] Error 1
make[1]: *** Waiting for unfinished jobs....
rm 46e6fe110a9b49546332b43104fcb3e1db6d09c0.intermediate 23872f9826ffd2eaa3e5a6072d2ece20a783db30.intermediate 75224d81ed60a619f778eb26887ca6ea35328e2d.intermediate
make: *** [Makefile:137: node] Error 2
==> Error: ProcessError: Command exited with status 2:
    '/usr/bin/make' '-j8'

3 errors found in build log:
     12231      /gpfs/neptune/spack-stack/spack-stack-dev-20250109/spack/lib/spack/env/gcc/g++ -o /gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spa
              ck-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/asmjs/asm-scanner.o ../deps/v8/src/as
              mjs/asm-scanner.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.15"' '-DENABLE_DISASSEMBLER' '-DV
              8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_ENABLE_PRIVATE_MAPPING_FORK_OPTIMIZATION' '-DV8_SHORT_BUILTIN_CALLS' '-DOBJECT_PRINT' '-DV8_INTL_SUPPORT' '-DV8_ATOMIC_OBJEC
              T_FIELD_WRITES' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DV8_SHARED_RO_HEAP' '-DNDEBUG' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_
              THREADED_DISPATCH' '-DV8_USE_ZLIB' '-DV8_ENABLE_SPARKPLUG' '-DV8_ENABLE_MAGLEV' '-DV8_ENABLE_TURBOFAN' '-DV8_ENABLE_WEBASSEMBLY' '-DV8_ENABLE_JAVASCRIPT_PROMISE_HOO
              KS' '-DV8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA' '-DV8_ALLOCATION_FOLDING' '-DV8_ALLOCATION_SITE_TRACKING' '-DV8_ADVANCED_BIGINT_ALGORITHMS' '-DICU_UTIL_DATA_
              IMPL=ICU_UTIL_DATA_STATIC' '-DUCONFIG_NO_SERVICE=1' '-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMENTATION=1' '-DU_HAVE_STD_STRING=1' '-DUCONFIG_NO_BREAK_ITERATION=0' -I/
              usr/include -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/envs/forspackbug/install/gcc/11.2.0/openssl-3.4.0-udewp3q/include -I../deps/v8 -I../deps/v8/include
               -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/ob
              j/gen/inspector-generated-output-root -I../deps/v8/third_party/inspector_protocol -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spa
              ck-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj/gen -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/action
              s/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj/gen/generate-bytecode-output-root -I../deps/icu-small/source/i18n -I../deps/
              icu-small/source/common -I../deps/v8/third_party/zlib -I../deps/v8/third_party/zlib/google -I../deps/v8/third_party/abseil-cpp -I../deps/v8/third_party/fp16/src/inc
              lude  -pthread -Wno-unused-parameter -Wno-strict-overflow -Wno-return-type -Wno-int-in-bool-context -Wno-deprecated -Wno-stringop-overflow -Wno-stringop-overread -W
              no-restrict -Wno-array-bounds -Wno-nonnull -Wno-dangling-pointer -flax-vector-conversions -fno-strict-aliasing -m64 -m64 -O3 -fno-omit-frame-pointer -fdata-sections
               -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++20 -Wno-invalid-offsetof -MMD -MF /gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/
              actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/.deps//gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage
              /actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/asmjs/asm-scanner.o.d.raw
                 -c
     12232      /gpfs/neptune/spack-stack/spack-stack-dev-20250109/spack/lib/spack/env/gcc/g++ -o /gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spa
              ck-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/asmjs/asm-types.o ../deps/v8/src/asmj
              s/asm-types.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.15"' '-DENABLE_DISASSEMBLER' '-DV8_PR
              OMISE_INTERNAL_FIELD_COUNT=1' '-DV8_ENABLE_PRIVATE_MAPPING_FORK_OPTIMIZATION' '-DV8_SHORT_BUILTIN_CALLS' '-DOBJECT_PRINT' '-DV8_INTL_SUPPORT' '-DV8_ATOMIC_OBJECT_FI
              ELD_WRITES' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DV8_SHARED_RO_HEAP' '-DNDEBUG' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THRE
              ADED_DISPATCH' '-DV8_USE_ZLIB' '-DV8_ENABLE_SPARKPLUG' '-DV8_ENABLE_MAGLEV' '-DV8_ENABLE_TURBOFAN' '-DV8_ENABLE_WEBASSEMBLY' '-DV8_ENABLE_JAVASCRIPT_PROMISE_HOOKS'
              '-DV8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA' '-DV8_ALLOCATION_FOLDING' '-DV8_ALLOCATION_SITE_TRACKING' '-DV8_ADVANCED_BIGINT_ALGORITHMS' '-DICU_UTIL_DATA_IMPL
              =ICU_UTIL_DATA_STATIC' '-DUCONFIG_NO_SERVICE=1' '-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMENTATION=1' '-DU_HAVE_STD_STRING=1' '-DUCONFIG_NO_BREAK_ITERATION=0' -I/usr/
              include -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/envs/forspackbug/install/gcc/11.2.0/openssl-3.4.0-udewp3q/include -I../deps/v8 -I../deps/v8/include -I/
              gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj/ge
              n/inspector-generated-output-root -I../deps/v8/third_party/inspector_protocol -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-s
              tage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj/gen -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/sp
              ack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj/gen/generate-bytecode-output-root -I../deps/icu-small/source/i18n -I../deps/icu-
              small/source/common -I../deps/v8/third_party/zlib -I../deps/v8/third_party/zlib/google -I../deps/v8/third_party/abseil-cpp -I../deps/v8/third_party/fp16/src/include
                -pthread -Wno-unused-parameter -Wno-strict-overflow -Wno-return-type -Wno-int-in-bool-context -Wno-deprecated -Wno-stringop-overflow -Wno-stringop-overread -Wno-r
              estrict -Wno-array-bounds -Wno-nonnull -Wno-dangling-pointer -flax-vector-conversions -fno-strict-aliasing -m64 -m64 -O3 -fno-omit-frame-pointer -fdata-sections -ff
              unction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++20 -Wno-invalid-offsetof -MMD -MF /gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/acti
              ons/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/.deps//gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/act
              ions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/asmjs/asm-types.o.d.raw   -c
     12233      /gpfs/neptune/spack-stack/spack-stack-dev-20250109/spack/lib/spack/env/gcc/g++ -o /gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spa
              ck-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/compiler/turboshaft/wasm-dead-code-el
              imination-phase.o ../deps/v8/src/compiler/turboshaft/wasm-dead-code-elimination-phase.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.15"' '-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' '
              -DNDEBUG' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DV8_USE_ZLIB' '-DV8_ENABLE_SPARKPLUG' '-DV8_ENABLE_MAGLEV' '-DV8_ENABLE_T
              URBOFAN' '-DV8_ENABLE_WEBASSEMBLY' '-DV8_ENABLE_JAVASCRIPT_PROMISE_HOOKS' '-DV8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA' '-DV8_ALLOCATION_FOLDING' '-DV8_ALLOCAT
              ION_SITE_TRACKING' '-DV8_ADVANCED_BIGINT_ALGORITHMS' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DUCONFIG_NO_SERVICE=1' '-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMEN
              TATION=1' '-DU_HAVE_STD_STRING=1' '-DUCONFIG_NO_BREAK_ITERATION=0' -I/usr/include -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/envs/forspackbug/install/gcc/
              11.2.0/openssl-3.4.0-udewp3q/include -I../deps/v8 -I../deps/v8/include -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-no
              de-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj/gen/inspector-generated-output-root -I../deps/v8/third_party/inspector_protocol -I/gpfs/nept
              une/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj/gen -I/gpfs
              /neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj/gen/ge
              nerate-bytecode-output-root -I../deps/icu-small/source/i18n -I../deps/icu-small/source/common -I../deps/v8/third_party/zlib -I../deps/v8/third_party/zlib/google -I.
              ./deps/v8/third_party/abseil-cpp -I../deps/v8/third_party/fp16/src/include  -pthread -Wno-unused-parameter -Wno-strict-overflow -Wno-return-type -Wno-int-in-bool-co
              ntext -Wno-deprecated -Wno-stringop-overflow -Wno-stringop-overread -Wno-restrict -Wno-array-bounds -Wno-nonnull -Wno-dangling-pointer -flax-vector-conversions -fno
              -strict-aliasing -m64 -m64 -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++20 -Wno-invalid-offsetof -MMD -MF
               /gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/.dep
              s//gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj
              .target/v8_base_without_compiler/deps/v8/src/compiler/turboshaft/wasm-dead-code-elimination-phase.o.d.raw   -c
     12234      /gpfs/neptune/spack-stack/spack-stack-dev-20250109/spack/lib/spack/env/gcc/g++ -o /gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spa
              ck-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/debug/debug-wasm-objects.o ../deps/v8
              /src/debug/debug-wasm-objects.cc '-D_GLIBCXX_USE_CXX11_ABI=1' '-DNODE_OPENSSL_CONF_NAME=nodejs_conf' '-DICU_NO_USER_DATA_OVERRIDE' '-DV8_GYP_BUILD' '-DV8_TYPED_ARRA
              Y_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.15"' '-DENABLE_DISA
              SSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_ENABLE_PRIVATE_MAPPING_FORK_OPTIMIZATION' '-DV8_SHORT_BUILTIN_CALLS' '-DOBJECT_PRINT' '-DV8_INTL_SUPPORT' '-DV
              8_ATOMIC_OBJECT_FIELD_WRITES' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DV8_SHARED_RO_HEAP' '-DNDEBUG' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEX
              P_INTERPRETER_THREADED_DISPATCH' '-DV8_USE_ZLIB' '-DV8_ENABLE_SPARKPLUG' '-DV8_ENABLE_MAGLEV' '-DV8_ENABLE_TURBOFAN' '-DV8_ENABLE_WEBASSEMBLY' '-DV8_ENABLE_JAVASCRI
              PT_PROMISE_HOOKS' '-DV8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA' '-DV8_ALLOCATION_FOLDING' '-DV8_ALLOCATION_SITE_TRACKING' '-DV8_ADVANCED_BIGINT_ALGORITHMS' '-D
              ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DUCONFIG_NO_SERVICE=1' '-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMENTATION=1' '-DU_HAVE_STD_STRING=1' '-DUCONFIG_NO_BREAK_IT
              ERATION=0' -I/usr/include -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/envs/forspackbug/install/gcc/11.2.0/openssl-3.4.0-udewp3q/include -I../deps/v8 -I../d
              eps/v8/include -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/
              out/Release/obj/gen/inspector-generated-output-root -I../deps/v8/third_party/inspector_protocol -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_sta
              ge/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj/gen -I/gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/buil
              d_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj/gen/generate-bytecode-output-root -I../deps/icu-small/source/i
              18n -I../deps/icu-small/source/common -I../deps/v8/third_party/zlib -I../deps/v8/third_party/zlib/google -I../deps/v8/third_party/abseil-cpp -I../deps/v8/third_part
              y/fp16/src/include  -pthread -Wno-unused-parameter -Wno-strict-overflow -Wno-return-type -Wno-int-in-bool-context -Wno-deprecated -Wno-stringop-overflow -Wno-string
              op-overread -Wno-restrict -Wno-array-bounds -Wno-nonnull -Wno-dangling-pointer -flax-vector-conversions -fno-strict-aliasing -m64 -m64 -O3 -fno-omit-frame-pointer -
              fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++20 -Wno-invalid-offsetof -MMD -MF /gpfs/neptune/spack-stack/spack-stack-dev-20250109/cach
              e/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/.deps//gpfs/neptune/spack-stack/spack-stack-dev-20250109/cac
              he/build_stage/actions/spack-stage-node-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/debug/debug
              -wasm-objects.o.d.raw   -c
     12235    during GIMPLE pass: slp
     12236    ../deps/v8/src/maglev/maglev-ir.cc: In member function 'void v8::internal::maglev::HasInPrototypeChain::GenerateCode(v8::internal::maglev::MaglevAssembler*, const v
              8::internal::maglev::ProcessingState&)':
  >> 12237    ../deps/v8/src/maglev/maglev-ir.cc:3434:6: internal compiler error: in vectorizable_live_operation, at tree-vect-loop.c:8827
     12238     3434 | void HasInPrototypeChain::GenerateCode(MaglevAssembler* masm,
     12239          |      ^~~~~~~~~~~~~~~~~~~
     12240    Please submit a full bug report,
     12241    with preprocessed source if appropriate.
     12242    See <https://gcc.gnu.org/bugs/> for instructions.
  >> 12243    make[1]: *** [tools/v8_gypfiles/v8_base_without_compiler.target.mk:1147: /gpfs/neptune/spack-stack/spack-stack-dev-20250109/cache/build_stage/actions/spack-stage-no
              de-js-22.4.0-rlw3g4mruffh2uo4t5knjqwlnbm2tetd/spack-src/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/maglev/maglev-ir.o] Error 1
     12244    make[1]: *** Waiting for unfinished jobs....
     12245    rm 46e6fe110a9b49546332b43104fcb3e1db6d09c0.intermediate 23872f9826ffd2eaa3e5a6072d2ece20a783db30.intermediate 75224d81ed60a619f778eb26887ca6ea35328e2d.intermediate
  >> 12246    make: *** [Makefile:137: node] Error 2

Information on your system

* **Spack:** 0.23.0 (2044f9dc7e96ab0015b0fda07e4b0a1f5e353e2c)
* **Python:** 3.6.8
* **Platform:** linux-rhel8-zen2

Additional information

nodejs/node#55596

node-err.tar.gz

@cosmicexplorer

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have run spack maintainers <name-of-the-package> and @mentioned any maintainers
  • I have uploaded the build log and environment files
  • I have searched the issues of this repo and believe this is not a duplicate

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions