cross-compiling on x64_64 when target is of same arch as host fails #143
-
Really long story short, Our build framework starts by building a minimal python38 and includes the necessary wheels, including crossenv. It happens that all version >=1.0 of I presume that Our PR where we hit the issue is: SynoCommunity/spksrc#4902 |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
Thanks for waiting while I got to this. I am having trouble reproducing this. I created separate Python installs, each for x86_64 and tried to build PyNaCl using crossenv:
Can you let me know:
|
Beta Was this translation helpful? Give feedback.
-
EDIT: I've sort of translated most variables to give a general idea of the |
Beta Was this translation helpful? Give feedback.
-
I have still been unable to reproduce this, and I can't think of a likely source of the error. This is a complete shot in the dark, but does adding something like |
Beta Was this translation helpful? Give feedback.
-
So if I understand correctly (please correct me if I'm wrong), when building our host python (to be used later in the build process) we are currently including:
After cross-compiling the target python, we call-up
Later-on we are calling this host python to build the pure and cross python wheels as needed using Although, interestingly, in the case of
So if I get this right, you're shot in the dark would be to add EDIT: In parallel I'm testing out the feasibility to use our regular cross-compilation |
Beta Was this translation helpful? Give feedback.
-
It should be added as a parameter when setting up the crossenv helper, something like:
|
Beta Was this translation helpful? Give feedback.
-
I ended-up solving the issue by using our regular I haven't tried the Thnx for your help. |
Beta Was this translation helpful? Give feedback.
-
@benfogle Interestingly I'm facing once more this problem. This time as But I think I've partially found where the issue is: no In every case my build environment contains Here's a comparison between
And now the equivalent, broken
|
Beta Was this translation helpful? Give feedback.
I ended-up solving the issue by using our regular
pip wheel
cross-compilation environment instead of the legacy call tosetup.py
. Using that instead I can now build all my dependencies using latest version ofcrossenv
.I haven't tried the
--manylinux manylinux2010
in our legacy wheel cross-building environment. But I'll keep it in mind if a new issue of that same kind arise.Thnx for your help.