-
Notifications
You must be signed in to change notification settings - Fork 218
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
Compilation of Rust examples fails on aarch64 hosts #752
Comments
This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time. |
Not stale! |
This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time. |
Bump. |
Note having an Aarch64 machine at hand, this is difficult to investigate. Running an Aarch64 container on a x86_64 host is possible but is also quite slow especially when building a large code base. |
Labeled as a bug because it is, and so it won't become stale and close automatically. |
I understand. (I have the mirror issue since I generally don't have an AMD64 machine at hand.)
What I have done is create a Containerfile that builds everything needed to compile the Rust examples and saves that as a checkpoint. You can then do a build of just the Rust examples, or even just one Rust example and you can reproduce the failed build in a few minutes. I've been using this to allow me to build just the examples with AMD64 in order to get a successful build. If you're interested I can share it with you.
😢
Maybe I can get some help from the Teaclave developers. I'm not an expert on Rust linking and the link customization in the |
[Bad suggestion deleted] |
I was just about to give it a try! Darn! Thanks for trying. |
Note: This is a new sub-issue from Issue #747 that addresses one of several problems that occur when trying to build on an aarch64 host.
When building (
cd build; make check
) on an aarch64 host with the currentmaster
branch (with a patch for Issue #749 and a workaround for Issue #751) , the following error occurs:The key part of the error seems to be
aarch64-linux-ld.bfd: cannot find -lgcc: No such file or directory
.This comment on PR #748 indicates that this error occurs once that fix is applied. You also need to setWITH_CXX_TESTS=n
to avoid Issue #751.Update on 2024-05-24: Now that #753 and #748 are merged the above error occurs on the current
master
branch without needing to apply patches/workarounds for the issues addressed by those now-merged PRs.The text was updated successfully, but these errors were encountered: