Created attachment 882900 [details] Build log FAILED: obj/deps/v8/src/compiler/turboshaft/v8_turboshaft.assembler.o riscv64-unknown-linux-gnu-g++ -MMD -MF obj/deps/v8/src/compiler/turboshaft/v8_turboshaft.assembler.o.d -D_GLIBCXX_USE_CXX11_ABI=1 -DNODE_OPENSSL_CONF_NAME=nodejs_conf - DNODE_OPENSSL_CERT_STORE -DICU_NO_USER_DATA_OVERRIDE -DV8_GYP_BUILD -DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -D__STDC_FORMAT_MACROS -DV8_TARGET_ARCH_RISCV64 -D__riscv_xlen= 64 -DCAN_USE_FPU_INSTRUCTIONS -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX '-DV8_EMBEDDER_STRING="-node.17"' -DENABLE_DISASSEMBLER -DV8_PROMISE_INTERNAL_FIELD_COUNT=1 -DV8_ ENABLE_PRIVATE_MAPPING_FORK_OPTIMIZATION -DOBJECT_PRINT -DV8_INTL_SUPPORT -DV8_ATOMIC_OBJECT_FIELD_WRITES -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_USE_SIPHASH -DV8_SHARED _RO_HEAP -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_USE_ZLIB -DV8_ENABLE_TURBOFAN -DV8_ENABLE_WEBASSEMBLY -DV8_ENABLE_JAVASCRIPT_PR OMISE_HOOKS -DV8_ALLOCATION_FOLDING -DV8_ALLOCATION_SITE_TRACKING -DV8_ADVANCED_BIGINT_ALGORITHMS -I../../deps/v8 -I../../deps/v8/include -Igen/generate-bytecode-output -root -Igen -pthread -Wno-unused-parameter -Wno-return-type -fno-strict-aliasing -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -mabi=lp64d -march=rv64 imafdc_zicsr_zba_zbb -mcpu=sifive-u74 -mtune=sifive-7-series -O2 -pipe -fomit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++17 -c ../../deps/v8/src/compiler/turbos haft/assembler.cc -o obj/deps/v8/src/compiler/turboshaft/v8_turboshaft.assembler.o In file included from ../../deps/v8/src/codegen/assembler-arch.h:27, from ../../deps/v8/src/wasm/baseline/liftoff-assembler-defs.h:8, from ../../deps/v8/src/execution/riscv/frame-constants-riscv.h:11, from ../../deps/v8/src/execution/frame-constants.h:426, from ../../deps/v8/src/builtins/builtins-utils.h:11, from ../../deps/v8/src/api/api-arguments.h:9, from ../../deps/v8/src/ic/call-optimization.h:8, from ../../deps/v8/src/compiler/heap-refs.h:11, from ../../deps/v8/src/compiler/feedback-source.h:8, from ../../deps/v8/src/compiler/common-operator.h:12, from ../../deps/v8/src/compiler/js-operator.h:10, from ../../deps/v8/src/compiler/access-builder.h:9, from ../../deps/v8/src/compiler/turboshaft/assembler.h:21, from ../../deps/v8/src/compiler/turboshaft/assembler.cc:5: ../../deps/v8/src/codegen/riscv/assembler-riscv.h:289:60: error: ‘Tagged’ has not been declared 289 | Tagged<Code> code, | ^~~~~~ ../../deps/v8/src/codegen/riscv/assembler-riscv.h:289:66: error: expected ‘,’ or ‘...’ before ‘<’ token 289 | Tagged<Code> code, | ^
Created attachment 882901 [details] Environment
Created attachment 882902 [details] Info log
Created attachment 882903 [details] pqv log
Created attachment 883156 [details, diff] Patch The attached patch allows me to emerge this version of nodejs
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01b9c90a42dc927bf4b9a93360c5389246acff26 commit 01b9c90a42dc927bf4b9a93360c5389246acff26 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2024-02-04 00:36:46 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2024-02-04 00:37:07 +0000 net-libs/nodejs: Fix build on riscv for version 20.11.0 Closes: https://bugs.gentoo.org/922725 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> net-libs/nodejs/files/nodejs-20.11.0-riscv.patch | 155 +++++++++++++++++++++++ net-libs/nodejs/nodejs-20.11.0.ebuild | 3 + 2 files changed, 158 insertions(+)