[Slackbuilds-users] nodejs22 fails to build - internal compiler error
Andrzej Telszewski
andrzej at telszewski.com
Thu Jul 2 08:27:39 UTC 2026
Hi,
I ended up building node with LLVM 22 from /extra
On 28/06/2026 21:07, fsLeg via SlackBuilds-users wrote:
> No idea. It built fine on my machine and passed the weekly build check in CI. 22.23.1 is a minor bugfix update, 22.23.0 was a security update, so nothing major changed recently. Probably something is wrong with your environment. Try spinning up an LXC container with a clean installation and build there.
>
> I run GCC 15.2.0 from testing/, CI uses stock 11.2.0, both build nodejs22 fine.
>
> On June 28, 2026 21:47:13 GMT+03:00, Andrzej Telszewski <andrzej at telszewski.com> wrote:
>> Hi,
>>
>> while trying to build nodejs22, I receive the following compile error:
>>
>>
>> FAILED: obj/tools/v8_gypfiles/gen/torque-generated/src/builtins/v8_initializers.string-trim-tq-csa.o
>> c++ -MMD -MF obj/tools/v8_gypfiles/gen/torque-generated/src/builtins/v8_initializers.string-trim-tq-csa.o.d -D_GLIBCXX_USE_CXX11_ABI=1 -D_FILE_OFFSET_BITS=64 -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.56"' -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_ENABLE_SEEDED_ARRAY_INDEX_HASH -DV8_SHARED_RO_HEAP -DNDEBUG -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_USE_ZLIB -DV8_ENABLE_SPARKPLUG -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 -DV8_ENABLE_WASM_SIMD256_REVEC -DUCONFIG_NO_SERVICE=1 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION=1 -DU_HAVE_STD_STRING=1 -DUCONFIG_NO_BREAK_ITERATION=0 -I../../deps/v8 -I../../deps/v8/include -Igen -Igen/generate-bytecode-output-root -I../../deps/v8/third_party/abseil-cpp -I../../deps/icu-small/source/i18n -I../../deps/icu-small/source/common -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 -m64 -m64 -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -fno-strict-aliasing -std=gnu++20 -Wno-invalid-offsetof -c gen/torque-generated/src/builtins/string-trim-tq-csa.cc -o obj/tools/v8_gypfiles/gen/torque-generated/src/builtins/v8_initializers.string-trim-tq-csa.o
>> In file included from ../../deps/v8/src/handles/persistent-handles.h:11,
>> from ../../deps/v8/src/heap/local-heap.h:19,
>> from ../../deps/v8/src/handles/local-handles.h:12,
>> from ../../deps/v8/src/execution/local-isolate.h:12,
>> from ../../deps/v8/src/execution/local-isolate-inl.h:9,
>> from ../../deps/v8/src/common/ptr-compr-inl.h:10,
>> from ../../deps/v8/src/execution/isolate-utils-inl.h:8,
>> from ../../deps/v8/src/objects/dictionary-inl.h:9,
>> from ../../deps/v8/src/objects/contexts-inl.h:11,
>> from ../../deps/v8/src/execution/isolate-inl.h:9,
>> from ../../deps/v8/src/heap/factory-inl.h:13,
>> from gen/torque-generated/src/builtins/string-trim-tq-csa.cc:21:
>> ../../deps/v8/src/api/api.h:313:80: internal compiler error: Segmentation fault
>> (...)
>> ...
>> Does anyone has any clue what might be wrong?
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
More information about the SlackBuilds-users
mailing list