-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Cpython build failure: _bootstrap_python segfault #127545
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
Comments
Debian has a bug report for this issue. |
Note m86k is not a supported platform per PEP 11. |
Reading the Debian reports, it seems like the plan is for m86k to switch to 4-byte alignment anyway. Do we need to fix this? |
@ZeroIntensity, there is no alternative ABI for Linux/m68k. That's why Debian picked up this patch. No kernel and toolchain patches have been posted that would constitute a new ABI and no effort has been made to design a new ABI to meet the needs of everyone in the Linux/m68k community for the foreseeable future. Distro maintainers are primarily concerned with their own software and its users, which is understandable. Regardless, I think the patch stands on its merits because, IMO, the patch improves the python source code by improving correctness, readability, portability and reusability. |
Opinions on this do vary. 🙂 However, as someone who would like to see 4-byte alignment, I don't want to force it on anybody and would still like this fixed. Thank you for your efforts, @fthain. |
I'm worried that this might cause more problems with portability than solutions. |
We also don't test this, as evidenced by that all buildbots & CI don't fail. I would suggest closing, this is an unsupported platform. Perhaps this could be re-evaluated with a BuildBot, but even then the concerns Peter raises remain. A |
Python already requires C11 in its headers. Also, the bits in capi-workgroup/decisions#61 make clear that it's fine as-needed. |
Yes, but people notoriously don't always follow it (looking at you, Windows). I think we should definitely get sign-off from the C API WG before requiring |
It shouldn't, the headers are compatible with C++. @encukou Thoughts here? |
If we want to introduce It is exactly the use case for If there are any issues with I'd hold the 3.13 backport though; and maybe even 3.14 just to be safe.
The sign-off is done. Judging by the vote, the WG prefers
Read “unsupported” more as “not in our CI” and less as “we won't spend time on this”. We wouldn't magically add support for Thank you for supporting Python on platforms we can't test here! |
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
When building dev-lang/python-3.13.0 on Gentoo/m68k, the following crash is observed.
A patch is available to resolve this issue. A pull request will follow shortly.
CPython versions tested on:
3.13
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: