-
Notifications
You must be signed in to change notification settings - Fork 410
Can't cross compile with ring dependency #705
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
what's your Cargo.toml like? this seems like a ring issue, or a missing dependency, or just something that has been fixed in unreleased cross version. try using cross from the main branch: |
TARGET_CC and TARGET_AR environment variables must be manually set. |
Okay this seems fixed: echo $TARGET_CC
/.../.cargo/bin/cross
echo $TARGET_AR
/.../.cargo/bin/cross Now I ran into
(using a Mac M1) After which the build process gets stuck always exactly at 24%. Let it there for several hours and it didn't move. This seems the issue? #645 Any quick fix? |
We're finally getting hardware to actually debug aarch64 host issues, there's a whole number of issues currently with the M1 processors (and also likely the new ARM64 Windows previews). Now that we've got maintainers with hardware to debug this, we should be able to eventually get fixes in. |
Those aren't the right values, also, that's weird they don't use These should be the correct values:
This however has to be defined in the environment passthrough. See build.env for more info. |
@Alexhuszagh thanks - my bad, I must have been tired. I corrected the variables and set them via build.env. The build was still freezing, but the solution turned to be simple: I just had to assign more resources to Docker. |
Uh oh!
There was an error while loading. Please reload this page.
Can be reproduced too with
x86_64-unknown-linux-gnu
My system:
rustup 1.24.3 (ce5817a94 2021-05-31)
cargo 1.62.0-nightly (f63f23ff1 2022-04-28) -- (also happens with stable)
cross 0.2.1
MacOS 12.1 Apple M1
The text was updated successfully, but these errors were encountered: