Skip to content
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

Add musl aarch64 config in .cargo #10

Closed
andreeaflorescu opened this issue May 21, 2021 · 0 comments
Closed

Add musl aarch64 config in .cargo #10

andreeaflorescu opened this issue May 21, 2021 · 0 comments

Comments

@andreeaflorescu
Copy link
Member

Port the commit: rust-vmm/kvm@83c98b2 here.
Without this, the build for all repos will fail with: https://buildkite.com/rust-vmm/seccompiler-ci/builds/1#21667689-53e8-46b9-89bd-10c840411967

andreeaflorescu added a commit to andreeaflorescu/crate-template that referenced this issue May 25, 2021
Added target-feature=+crt-static and link-arg=-lgcc as a temporary
workaround. This seems to be the accepted fix in the Rust community:
rust-lang/compiler-builtins#201

A permanent fix is yet to be implemented in the Rust compiler.

Fixes: rust-vmm#10

Signed-off-by: Andreea Florescu <fandree@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant