GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||
GeezerVison is showing github.com — bpo-41916: allow cross-compiled python to have -pthread set for CXX by virtuald · Pull Request #22525 · python/cpython Conversation
|
|
Some testing indicates that this worked without issues. Given that the tests all seem to pass on CI, I think this is good to go. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I have confirmed that this does fix the issues I was running into, and my cross compiled packages seem to be fine. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This fix looks correct. @jaraco could you have a look?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I've been using it to build python 3.9.x and more recently python 3.10.x without any issues. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Perhaps, just add a news item to make it quicker to merge. I think the code is good, it is just missing a news entry. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You can use https://blurb-it.herokuapp.com/ to add a news fragment. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
6ff346a to
0fdc88d
Compare
|
I'm afraid I don't have a lot of experience with this aspect of CPython. Perhaps @ambv could review or suggest a reviewer? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
FWIW, I've been using the patch to cross-compile python for use in CI since I've made the patch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
0fdc88d to
77af732
Compare
|
Rebased on main; integrated changes that were made in #29485 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@tiran seems to make a lot of changes to configure.ac, perhaps they might be a better reviewer for this? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
When cross-compiling, the compile/run test for -pthread always fails so -pthread will never be automatically set without an override from the cache. ac_cv_pthread can already be overridden, so do the same thing for ac_cv_cxx_thread.
77af732 to
fefd3d2
Compare
There was an error while loading. Please reload this page.
|
@tiran, do have time to have a quick look at this PR? Thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
IIRC, @gpshead has some interest in cross-compilation and @erlend-aasland has experience with the configure script. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.