-
Notifications
You must be signed in to change notification settings - Fork 460
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
cc
1.0.86 seems to erroneously enable parallelism by default on certain platforms
#964
Comments
cc version 1.0.86 has a bug that blocks our cross compilation pipeline rust-lang/cc-rs#964
Duplicate of #962 , there's probably another crate that enables feature cc/parallel To solve this problem once and for all, I believe we need to change rust-lang/jobserver. A temporary fix can be done here for openssl-sys, by disabling |
Indeed after some investigation I think I found another crate that enables it in my own build, since building In this case it was Since this doesn't seem to be a Good luck trying to fix this permanently and thanks for the pointers. |
cc version 1.0.86 has a bug that blocks our cross compilation pipeline rust-lang/cc-rs#964
Compiling
openssl-sys
onaarch64-unknown-linux-gnu
, which usescc
fails with the following error:This is a known issue with building openssl on this platform using parallelism:
rust-lang/cargo#13476
sfackler/rust-openssl#2179
However, the
parallel
feature is not enabled byopenssl-sys
and compiling with the exact same version ofopenssl-sys
but usingcc
1.0.83 succeeds, which leads me to believe there is a breaking change or bug in the 1.0.86 version.The text was updated successfully, but these errors were encountered: