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

オープン
#1,390 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
57/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, python, typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
2.3k
フォーク
752
平均マージ
22日 15時間
マージ済み PR(30日)
1

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

actions/setup-python のほかの issue

actions/setup-python の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。