linux-26.04-x64 builds don't start on CPUs without AVX2

Aperta
#1,390 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, python, typescript

Direzione di ricerca

The report names the ubuntu-26.04 x64 Python builds and shows reproduction commands using readelf and qemu-x86_64; it does not identify a repository file or test. Start by tracing how setup-python selects or downloads these builds, then check the build metadata for Python 3.11 through 3.15. Done when the affected builds start under the reported Westmere emulation, or the x86-64-v3 requirement is confirmed as intended.

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

Descrizione

The ubuntu-26.04 x64 build of 3.12.16 is marked as needing x86-64-v3, so it refuses to start on anything older than Haswell. Is that intended? We ran into it testing wheels under qemu with an older CPU model.

tar -xzf python-3.12.16-linux-26.04-x64.tar.gz -C py
readelf -n py/bin/python3.12 | grep "ISA needed"
#   x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3
LD_LIBRARY_PATH=py/lib qemu-x86_64 -cpu Westmere py/bin/python3.12 -S -c pass
# py/bin/python3.12: CPU ISA level is lower than required

Same command with -cpu Haswell runs fine. Probably not just 3.12, in our CI 3.11 through 3.15 on ubuntu-26.04 all crashed on an emulated Westmere.

Lingua principale
TypeScript
Stelle
2.3k
Fork
752
Merge medio
22g 15h
PR unite (30g)
1

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 actions/setup-python

Tutte le issue di actions/setup-python

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.