Wasi + Emscripten: configure behavior with --enable-optimizations seems incorrect?
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 77.2k
- Fork
- 35.9k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
configure.ac sets DEF_MAKE_ALL_RULE to:
- if
--enable-optimizationsis passed, thenprofile-opt - if
ac_sys_systemisEmscriptenorWASIthenbuild_wasm - if neither of these, then
build_all.
build_wasm is a modified version of the build_all target that drops some targets that don't build correctly in webassembly targets or are unneeded. This logic hasn't been added for the case when --enable-optimizations is passed. I think the best solution for now would be to check for these targets with --enable-optimizations and error out. I don't think PGO will work on the wasm targets without tinkering either way.
Linked PRs
- gh-126687
Guida per i contributori
Apri 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.
Direzione di ricerca
Inizia in configure.ac, nella logica di DEF_MAKE_ALL_RULE, e confronta il percorso --enable-optimizations con il percorso build_wasm di Emscripten e WASI. Verifica il comportamento per i target wasm e assicurati che la configurazione ottimizzata non supportata venga rifiutata come descritto; gh-126687 è collegato nell’issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python, wasm
- Ambito
- build-system
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 30/100