You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
undefined reference to `v8::internal::trap_handler::RegisterDefaultTrapHandler()' #53115
/usr/lib64/gcc/riscv64-suse-linux/13/../../../../riscv64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/node-v22.2.0/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/api/api.o: in function `v8::TryHandleWebAssemblyTrapPosix(int, siginfo_t*, void*)':/home/abuild/rpmbuild/BUILD/node-v22.2.0/out/../deps/v8/src/api/api.cc:6403:(.text._ZN2v829TryHandleWebAssemblyTrapPosixEiP9siginfo_tPv+0xa): undefined reference to `v8::internal::trap_handler::TryHandleSignal(int, siginfo_t*, void*)'/usr/lib64/gcc/riscv64-suse-linux/13/../../../../riscv64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/node-v22.2.0/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/trap-handler/handler-outside.o: in function `v8::internal::trap_handler::EnableTrapHandler(bool)':/home/abuild/rpmbuild/BUILD/node-v22.2.0/out/../deps/v8/src/trap-handler/handler-outside.cc:265:(.text._ZN2v88internal12trap_handler17EnableTrapHandlerEb+0x54): undefined reference to `v8::internal::trap_handler::RegisterDefaultTrapHandler()'collect2: error: ld returned 1 exit statusmake[1]: *** [tools/v8_gypfiles/mksnapshot.target.mk:228: /home/abuild/rpmbuild/BUILD/node-v22.2.0/out/Release/mksnapshot] Error 1
Activity
targos commentedon May 23, 2024
@nodejs/platform-riscv64
richardlau commentedon May 23, 2024
I think this is #52678?
Could you see if #52888 fixes it?
kth5 commentedon May 24, 2024
#52888 fixed it for me. I can now build 22.2.0 with Clang 17.0.6 again.
RossComputerGuy commentedon Jan 17, 2025
Issue occurs in Nix as well: NixOS/nixpkgs#374456
fix: patch V8 trap-handler OFF for Android cross-build (nodejs/node#5…