Skip to content

gh-158567: Workaround GCC crash in PyFloat_Pack2() - #158568

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:s390x_bswap16
Oct 1, 2026
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:s390x_bswap16

Conversation

@vstinner

@vstinner vstinner commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

Avoid __builtin_bswap16() with _Float16 on s390x.

Avoid __builtin_bswap16() with _Float16 on s390x.
@vstinner

vstinner commented Oct 1, 2026

Copy link
Copy Markdown
Member Author

!buildbot s390x Fedora Stable LTO

@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @vstinner for commit 3c23817 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F158568%2Fmerge

The command will test the builders whose names match following regular expression: s390x Fedora Stable LTO

The builders matched are:

  • s390x Fedora Stable LTO + PGO PR
  • s390x Fedora Stable LTO PR

@vstinner

vstinner commented Oct 1, 2026

Copy link
Copy Markdown
Member Author

buildbot/s390x Fedora Stable LTO + PGO PR

Ok, good, the "compile" step completed successfully.

I also tested the change manually on the s390x Fedora Stable buildbot using: ./configure && make -j10 && ./python -m test test_float test_capi.

@vstinner

vstinner commented Oct 1, 2026

Copy link
Copy Markdown
Member Author

Python built successfully on the two s390x Fedora Stable jobs (LTO and "LTO + PGO").

@vstinner
vstinner enabled auto-merge (squash) October 1, 2026 16:04
@vstinner
vstinner merged commit c7a79bd into python:main Oct 1, 2026
57 checks passed
@vstinner
vstinner deleted the s390x_bswap16 branch October 1, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants