Daily build broken since 2026-08-14: riscv64 community altjit fails -Werror,-Wformat
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- build-system, ci-cd
Direzione di ricerca
Inizia da build/build.sh:12 per comprendere la selezione di Clr.AllJitsCommunity, quindi esamina emitriscv64.cpp intorno alla riga 4775 e la build riscv64 altjit segnalata. Verifica se CE espone questo community altjit o se è necessario segnalare il fallimento della build upstream. Il lavoro è completato quando la build giornaliera ha esito positivo senza nascondere i target runtime previsti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The dotnet daily build has failed every day since 2026-08-14.
FAILED: jit/CMakeFiles/clrjit_unix_riscv64_x64.dir/emitriscv64.cpp.o
/root/dotnet/runtime/src/coreclr/jit/emitriscv64.cpp:4775:41: error: format specifies type 'int'
but the argument has type 'emitter::MajorOpcode' [-Werror,-Wformat]
4775 | printf("MajorOpcode: %d\n", GetMajorOpcode(code));
| ~~ ^~~~~~~~~~~~~~~~~~~~
| static_cast<int>( )
1 error generated.
GetMajorOpcode returns a scoped enum, which %d rejects under -Werror -Wformat with clang-18. I checked dotnet/runtime main today and the line is still unchanged, so this is not something that has quietly fixed itself upstream.
Why it only breaks us
build/build.sh:12 sets ALL_JITS_SUBSET="Clr.AllJitsCommunity", which turns on CLR_CMAKE_BUILD_COMMUNITY_ALTJITS=1 and builds the riscv64 altjit. Upstream CI builds Clr.AllJits, so the community altjits are not gated on and can rot without anyone noticing. We have effectively opted into code upstream does not build.
Effect
Silent, as usual for nightlies: no artifact means the old install stays. Newest tarball is dotnet-trunk-20260814.tar.xz, so the site's dotnet trunk has been frozen there for 10 days.
Options
- Wait for upstream, and accept the build staying red meanwhile.
- Report it upstream so the community altjits build clean again.
- Reconsider whether we need
Clr.AllJitsCommunityrather thanClr.AllJits, if the community altjits are not actually surfaced in CE.
@hez2010 you know this build best. Is the riscv64 altjit something CE actually exposes, or would dropping back to Clr.AllJits be a reasonable way to stop upstream churn breaking us?
- Lingua principale
- C#
- Stelle
- 14
- Fork
- 4
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna 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.
Issue simili
-
CLI: stale build hint, non-gofmt autocomplete output and a leftover `--revit=<year>` in the docsApertaCommand Line Utility (CLI)
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pyrevitlabs/pyRevit#4217 ·
I maintainer di solito rispondono entro 1 giorno
-
area: ui bug ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
account bug effort:S P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nightscout/nocturne#3745 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
modelcontextprotocol/csharp-sdk#2031 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
grate-devs/grate#969 ·
I maintainer di solito rispondono entro 1 giorno