Skip to content

gh-132399: fix invalid function signatures on the free-threaded build #132400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 12, 2025

Conversation

picnixz
Copy link
Member

@picnixz picnixz commented Apr 11, 2025

Ok, this is just a PoC for now and the hack I did for MI_CACHE_LINE is just to avoid a misaligned read/write. There shouldn't be a UB for the test suite after this though (assuming that all issues in #132097 are also fixed).

I'll need another PR for fixing the misaligned read/write though.

@picnixz picnixz enabled auto-merge (squash) April 12, 2025 07:25
@picnixz picnixz merged commit a81232c into python:main Apr 12, 2025
41 checks passed
@picnixz picnixz deleted the fix/ubsan/free-threaded-gc-132399 branch April 12, 2025 07:57
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.

1 participant