build: riscv64 Clang 19 build fails in V8 MutablePage cache-line assertion
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, linux
- Ambito
- build-system
Direzione di ricerca
Start with deps/v8/src/heap/mutable-page.cc at the failing static assertion, then inspect the definitions of the fast-field offsets and hardware_destructive_interference_size for the riscv64 build. Reproduce with the reported configure and make commands on riscv64 using Clang 19. Done means the build proceeds past this assertion while preserving the intended cache-line layout checks.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Version
Node.js master branch (upstream origin/master, tested on November 6, 2026; exact commit not record).
Platform
Linux v100-001 7.0.0-42-generic #42.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 16 15:53:30 UTC 2026 riscv64 GNU/Linux
Subsystem
v8
What steps will reproduce the bug?
./configure --error-on-warn --v8-enable-temporal-support
make -j"$(getconf _NPROCESSORS_ONLN)"
make test-ci -j1 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9
How often does it reproduce? Is there a required condition?
always
What is the expected behavior? Why is that the expected behavior?
Build and test will be passed.
What do you see instead?
But it fail to build on this riscv64 hardware
#8 1157.2 132 | # define _GLIBCXX20_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
#8 1157.2 | ^
#8 1157.2 /usr/lib/gcc/riscv64-linux-gnu/14/../../../../include/riscv64-linux-gnu/c++/14/bits/c++config.h:100:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
#8 1157.2 100 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
#8 1157.2 | ^
#8 1157.3 CXX(target) /home/jenkins/node/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/ic/ic-stats.o
#8 1157.6 2 warnings generated.
#8 1157.8 CXX(target) /home/jenkins/node/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/ic/ic.o
#8 1158.0 ../deps/v8/src/heap/mutable-page.cc:53:7: error: static assertion failed due to requirement 'kOffsetOfFirstFastField / std::hardware_destructive_interference_size == kOffsetOfLastFastField / std::hardware_destructive_interference_size'
#8 1158.0 53 | kOffsetOfFirstFastField / std::hardware_destructive_interference_size ==
#8 1158.0 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#8 1158.0 54 | kOffsetOfLastFastField / std::hardware_destructive_interference_size);
#8 1158.0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#8 1158.0 ../deps/v8/src/heap/mutable-page.cc:53:77: note: expression evaluates to '2 == 3'
#8 1158.0 53 | kOffsetOfFirstFastField / std::hardware_destructive_interference_size ==
#8 1158.0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
#8 1158.0 54 | kOffsetOfLastFastField / std::hardware_destructive_interference_size);
#8 1158.0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#8 1158.2 In file included from ../deps/v8/src/heap/minor-mark-sweep.cc:5:
see the log.
Additional information
While bringing up a Nodejs CI job on native riscv64 hardware, we encountered a build failure in the bundled V8. With Clang 19 on Debian Trixie, the cache-line locality assertion in deps/v8/src/heap/mutable-page.cc fails, with the expression evaluating to 2 == 3. The build stops before tests can run.
Is this a known layout limitation for native riscv64 builds, or should the assertion/layout be adjusted for this configuration?
- Lingua principale
- JavaScript
- Stelle
- 124k
- Fork
- 38k
- Merge medio
- 4g 2h
- PR unite (30g)
- 266
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nodejs/node
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
I maintainer di solito rispondono entro 1 giorno
-
fs: document readStream.start and readStream.endForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertadoc
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
nodejs/node#67848 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
doc: document the Buffer.prototype.*Slice() methodsForse già presa @AyushCipher l’ha presa oggi. Apertadoc
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
nodejs/node#67847 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
`styleText` fast path bypasses `options` and `options.validateStream` validationForse già presa @GBra-4-669 l’ha presa 8 giorni fa. Apertautil
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
riscv64
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
nodejs/node#67655 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
bug triage needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
[Resource]: PersephoneApertaresource-submission validation-passed
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
hesreallyhim/awesome-claude-code#3773 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
tabatkins/railroad-diagrams#129 ·
-
web: api() turns a null or object-valued error body into a TypeError or "[object Object]" and loses the statusForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
OCM: shares using the `embedded` protocol are rejected with "Missing sharedSecret in protocol"Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno