Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined reference to `v8::internal::trap_handler::RegisterDefaultTrapHandler()' #53115

Open
andreas-schwab opened this issue May 23, 2024 · 3 comments
Labels
riscv64 Issues and PRs related to the riscv64 architecture.

Comments

@andreas-schwab
Copy link
Contributor

andreas-schwab commented May 23, 2024

/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 status
make[1]: *** [tools/v8_gypfiles/mksnapshot.target.mk:228: /home/abuild/rpmbuild/BUILD/node-v22.2.0/out/Release/mksnapshot] Error 1
@targos targos added the riscv64 Issues and PRs related to the riscv64 architecture. label May 23, 2024
@targos
Copy link
Member

targos commented May 23, 2024

@nodejs/platform-riscv64

@richardlau
Copy link
Member

I think this is #52678?
Could you see if #52888 fixes it?

@kth5
Copy link

kth5 commented May 24, 2024

#52888 fixed it for me. I can now build 22.2.0 with Clang 17.0.6 again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
riscv64 Issues and PRs related to the riscv64 architecture.
Projects
None yet
Development

No branches or pull requests

4 participants