-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[BUG] [REGRESSION] Fails on cross-compiling when host = target x84_64 #3055
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
After quick testing I can confirm that issue first appeared with version 60.3.0. |
While doing more testing it looks like something fixed this issue between 60.5.3 and 60.5.4.
|
Looking at the history for 60.3.0, there were basically two changes. One was about the _distutils hack relating to get-pip, so seems unlikely. The other was a distutils change where config vars are now honored from sysconfig, which seems a likely culprit. Here's the code changes.
Oh, that's good news. And we can see that the 60.5.4 release did fix a known defect around building CPython's own stdlib, which it looks like you're trying to do above. Therefore, I believe this issue is a duplicate of #3007. Let me know if you think that's not the case.
I'd recommend this standards-aligned syntax instead:
|
I can't say wetter it's related or not, ain't sure. EDIT: @jaraco just mentioning but 60.5.x sub-releases are not available on pypi. |
setuptools version
60.5.0
Python version
3.10.2
OS
Linux - Synology DSM toolchain
Additional environment information
Part of the SynoCommunity ecosystem providing python package(s).
https://synocommunity.com/
Python 3.10 packages for all Synology NAS archs:
https://synocommunity.com/package/python310
Build using Synology toolchain.
Stages:
When updating to latest version (60.5.0), python 3.10 fails to build on cross-compiling ONLY when target=host x86_64.
It successfully build all other cross-compiled environment.
Related PR: SynoCommunity/spksrc#5101
Description
While completing the python310 package update it ended-up failing specifically when updating setuptools from 60.2.0 to 60.5.0.
Specific commit:
SynoCommunity/spksrc@ca2698a
Expected behavior
Successful build using previous setuptools release (60.2.0):
https://github.com/SynoCommunity/spksrc/pull/5101/checks?sha=1448434cb826ec5ac25b6cd66bc836b1b9818e19
How to Reproduce
See PR for additional details.
Output
All build outputs available thought checks on associated PR.
https://github.com/SynoCommunity/spksrc/pull/5101/checks
Failure seems to be happening post-build time, probably at linking time and makes me think it may have "lost" its
LDFLAG
somehow. Actual failure output, only happens on x86_64:Error relates to
libffi
while it does exists and is part of default CFLAGS and LDFLAGS. And such error does not happens when cross-compiling for all other archs.The text was updated successfully, but these errors were encountered: