Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933649 - net-libs/nodejs-22.2.0 fails to compile on riscv: handler-outside.cc:(.text._ZN2v88internal12trap_handler17EnableTrapHandlerEb+0x54): undefined reference to `v8::internal::trap_handler::Registe rDefaultTrapHandler()'
Summary: net-libs/nodejs-22.2.0 fails to compile on riscv: handler-outside.cc:(.text._...
Status: RESOLVED DUPLICATE of bug 931256
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: riscv Linux
: Normal normal (vote)
Assignee: William Hubbs
URL: https://github.com/nodejs/node/issues...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-05 19:56 UTC by matoro
Modified: 2024-06-06 01:18 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (build.log.gz,192.23 KB, application/gzip)
2024-06-05 19:56 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-06-05 19:56:23 UTC
Created attachment 895201 [details]
build.log and emerge --info

FAILED: mksnapshot 
riscv64-unknown-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -pthread -rdynamic -o mksnapshot -Wl,--start-group obj/deps/v8/src/snapshot/embedded/mksnapshot.embedded-empty.o obj/deps/v8/src/snapshot/embedded/mksnapshot.embedded-file-writer.o obj/deps/v8/src/snapshot/embedded/mksnapshot.platform-embedded-file-writer-aix.o obj/deps/v8/src/snapshot/embedded/mksnapshot.platform-embedded-file-writer-base.o obj/deps/v8/src/snapshot/embedded/mksnapshot.platform-embedded-file-writer-generic.o obj/deps/v8/src/snapshot/embedded/mksnapshot.platform-embedded-file-writer-mac.o obj/deps/v8/src/snapshot/embedded/mksnapshot.platform-embedded-file-writer-win.o obj/deps/v8/src/snapshot/mksnapshot.mksnapshot.o obj/deps/v8/src/snapshot/mksnapshot.snapshot-empty.o obj/deps/v8/src/snapshot/mksnapshot.static-roots-gen.o obj/tools/v8_gypfiles/libv8_base_without_compiler.a obj/tools/v8_gypfiles/libv8_init.a obj/tools/v8_gypfiles/libv8_libbase.a obj/tools/v8_gypfiles/libv8_libplatform.a obj/tools/v8_gypfiles/libv8_turboshaft.a obj/tools/v8_gypfiles/libv8_abseil.a obj/tools/v8_gypfiles/libv8_zlib.a obj/tools/v8_gypfiles/libv8_compiler.a obj/tools/v8_gypfiles/libv8_initializers.a obj/tools/v8_gypfiles/libv8_initializers_slow.a  -lz -luv -lsimdjson -lbrotlidec -lbrotlienc -lcares -lnghttp2 -lngtcp2 -lcrypto -lssl -licui18n -licuuc -licudata -latomic -ldl -lrt -Wl,--end-group
/usr/lib/gcc/riscv64-unknown-linux-gnu/14/../../../../riscv64-unknown-linux-gnu/bin/ld: obj/tools/v8_gypfiles/../../deps/v8/src/api/v8_base_without_compiler.api.o: in function `v8::TryHandleWebAssemblyTrapPosix(int, siginfo_t*, void*)':
api.cc:(.text._ZN2v829TryHandleWebAssemblyTrapPosixEiP9siginfo_tPv+0xe): undefined reference to `v8::internal::trap_handler::TryHandleSignal(int, siginfo_t*, void*)'
/usr/lib/gcc/riscv64-unknown-linux-gnu/14/../../../../riscv64-unknown-linux-gnu/bin/ld: obj/tools/v8_gypfiles/../../deps/v8/src/trap-handler/v8_base_without_compiler.handler-outside.o: in function `v8::internal::trap_handler::EnableTrapHandler(bool)':
handler-outside.cc:(.text._ZN2v88internal12trap_handler17EnableTrapHandlerEb+0x54): undefined reference to `v8::internal::trap_handler::RegisterDefaultTrapHandler()'
collect2: error: ld returned 1 exit status
Comment 1 Jakov Smolić archtester gentoo-dev 2024-06-06 01:18:00 UTC

*** This bug has been marked as a duplicate of bug 931256 ***