simics-api-sys bindings fail to compile with newer system clang (Ubuntu 26.04, Fedora 45)

Aperta
#441 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
build-system

Direzione di ricerca

Start with the simics-api-sys bindgen configuration and the CI logs linked in the issue; compare the Ubuntu 26.04 and Fedora 45 environments with the pinned toolchain. Check how clang and header include paths affect the generated bindings-auto.rs. Done means cargo doc and cargo build succeed on both newer systems and the docs runner can be unpinned.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Where

Problem
On ubuntu-26.04 and Fedora 45, cargo doc/cargo build fail with 380 E0080 errors in simics-api-sys's bindings-auto.rs, e.g. attempt to compute 1_usize - 216_usize at size_of::<_IO_FILE>() - 216usize. Same error with the pinned 1.90.0 toolchain, so the newer system clang/headers make bindgen emit opaque 1-byte types.

Impact
Blocks moving off Ubuntu 24.04 / Fedora 42. #399 pins the docs runner as a workaround.

Suggested fix
Fix bindgen configuration in simics-api-sys (likely clang/bindgen version or include paths), then unpin.

Related
#399, #397

Status
Confirmed from CI logs. Found by reading the code; not reproduced under SIMICS.

Lingua principale
Rust
Stelle
335
Fork
26
Merge medio
1g 50m
PR unite (30g)
12

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di intel/tsffs

Tutte le issue di intel/tsffs

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.