Title: node-v24.1.0 fails to build on riscv / gcc-15 · Issue #58485 · nodejs/node · GitHub
Open Graph Title: node-v24.1.0 fails to build on riscv / gcc-15 · Issue #58485 · nodejs/node
X Title: node-v24.1.0 fails to build on riscv / gcc-15 · Issue #58485 · nodejs/node
Description: There are a few instances of the error below. It looks like upstream v8 has patched some riscv issues recently. FAILED: obj/deps/v8/src/compiler/backend/v8_compiler.jump-threading.o riscv64-unknown-linux-musl-g++ -MMD -MF obj/deps/v8/src...
Open Graph Description: There are a few instances of the error below. It looks like upstream v8 has patched some riscv issues recently. FAILED: obj/deps/v8/src/compiler/backend/v8_compiler.jump-threading.o riscv64-unknown...
X Description: There are a few instances of the error below. It looks like upstream v8 has patched some riscv issues recently. FAILED: obj/deps/v8/src/compiler/backend/v8_compiler.jump-threading.o riscv64-unknown...
Opengraph URL: https://github.com/nodejs/node/issues/58485
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"node-v24.1.0 fails to build on riscv / gcc-15","articleBody":"There are a few instances of the error below. It looks like upstream v8 has patched some riscv issues recently.\n\n```\nFAILED: obj/deps/v8/src/compiler/backend/v8_compiler.jump-threading.o \nriscv64-unknown-linux-musl-g++ -MMD -MF obj/deps/v8/src/compiler/backend/v8_compiler.jump-threading.o.d -D_GLIBCXX_USE_CXX11_ABI=1 -D_FILE_OFFSET_BITS=64 -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.16\"' -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 -DNDEBUG -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_USE_ZLIB -DV8_ENABLE_LEAPTIERING -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 -I../../deps/v8 -I../../deps/v8/include -Igen/generate-bytecode-output-root -Igen -I../../deps/v8/third_party/fp16/src/include -I../../deps/v8/third_party/abseil-cpp -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 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -O3 -pipe -mabi=lp64d -march=rv64gc -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -Wno-template-id-cdtor -fno-tree-vectorize -fno-rtti -fno-exceptions -fno-strict-aliasing -std=gnu++20 -Wno-invalid-offsetof -c ../../deps/v8/src/compiler/backend/jump-threading.cc -o obj/deps/v8/src/compiler/backend/v8_compiler.jump-threading.o\nIn file included from ../../deps/v8/src/codegen/macro-assembler.h:82,\n from ../../deps/v8/src/compiler/backend/code-generator-impl.h:8,\n from ../../deps/v8/src/compiler/backend/jump-threading.cc:6:\n../../deps/v8/src/codegen/riscv/macro-assembler-riscv.h:409:13: error: explicit specialization in non-namespace scope 'class v8::internal::MacroAssembler'\n 409 | template \u003c\u003e\n | ^\n../../deps/v8/src/codegen/riscv/macro-assembler-riscv.h:557:13: error: explicit specialization in non-namespace scope 'class v8::internal::MacroAssembler'\n 557 | template \u003c\u003e\n | ^\n```","author":{"url":"https://github.com/orlitzky","@type":"Person","name":"orlitzky"},"datePublished":"2025-05-27T19:51:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/58485/node/issues/58485"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:feffdea9-49f5-85a2-03fd-08884b27f29e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC9A:27C8DB:1EB1283:2C0494B:6A4CEC04 |
| html-safe-nonce | bf9912975e52a0ed93753b3e98d349523dbbefbcb6a70c0b525e8b28c0943f62 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzlBOjI3QzhEQjoxRUIxMjgzOjJDMDQ5NEI6NkE0Q0VDMDQiLCJ2aXNpdG9yX2lkIjoiODU1NzI4OTIxNzM4MTQyODIyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f2cc9e887bd3f988dca8e4f99b7961ba5ce11cf5d19e7cc0f69091f74683e047 |
| hovercard-subject-tag | issue:3095022280 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/58485/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9f386501c4c458ff390ab8d84c9f018ad3771e12cfef541b0923d4bdd5c96dd3/nodejs/node/issues/58485 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9f386501c4c458ff390ab8d84c9f018ad3771e12cfef541b0923d4bdd5c96dd3/nodejs/node/issues/58485 |
| og:image:alt | There are a few instances of the error below. It looks like upstream v8 has patched some riscv issues recently. FAILED: obj/deps/v8/src/compiler/backend/v8_compiler.jump-threading.o riscv64-unknown... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | orlitzky |
| hostname | github.com |
| expected-hostname | github.com |
| None | 299b43bca6e02ad35197ffeba30d2466846d5fb02ab96fbced5b5e6cec589fb8 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c5a57f04eeb310f57c73fd6d751d957e2ca27ed2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width