Skip to content

gh-145010: Fix Python.h compilation with -masm=intel#145011

Merged
Yhg1s merged 1 commit intopython:mainfrom
colesbury:gh-145010-masm-intel
Mar 10, 2026
Merged

gh-145010: Fix Python.h compilation with -masm=intel#145011
Yhg1s merged 1 commit intopython:mainfrom
colesbury:gh-145010-masm-intel

Conversation

@colesbury
Copy link
Contributor

@colesbury colesbury commented Feb 19, 2026

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @colesbury for commit b7d7b91 🤖

Results will be shown at:

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

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Feb 19, 2026
@colesbury colesbury marked this pull request as ready for review February 20, 2026 14:12
@colesbury colesbury requested review from Yhg1s and vstinner February 20, 2026 14:12
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

I confirm that ./python -m test test_cppext -m test_build_intel_asm -v -u all test fails without the fix, and pass with the fix, on a Free-Threaded build. I tested on Fedora 43 x86-64 with GCC 15.2.1. I also tested with clang++ 21.1.8.

@Yhg1s Yhg1s merged commit 9c1c710 into python:main Mar 10, 2026
128 checks passed
@colesbury colesbury deleted the gh-145010-masm-intel branch March 10, 2026 17:02
@colesbury
Copy link
Contributor Author

I think it's probably worth backporting this to 3.14

@colesbury colesbury added the needs backport to 3.14 bugs and security fixes label Mar 10, 2026
@miss-islington-app
Copy link

Thanks @colesbury for the PR, and @Yhg1s for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 10, 2026
…145011)

(cherry picked from commit 9c1c710)

Co-authored-by: Sam Gross <colesbury@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Mar 10, 2026

GH-145776 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Mar 10, 2026
colesbury added a commit that referenced this pull request Mar 10, 2026
… (#145776)

(cherry picked from commit 9c1c710)

Co-authored-by: Sam Gross <colesbury@gmail.com>
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.

4 participants