-
Notifications
You must be signed in to change notification settings - Fork 63
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
hack to 'fix' Issue #135 for acipher-rs TA #138
base: no-std
Are you sure you want to change the base?
hack to 'fix' Issue #135 for acipher-rs TA #138
Conversation
@msgilligan Since it's a buildroot toolchain compiled from source in case of native aarch64 builds. I would like to see the linker path provided. Can you try following diff instead?
|
732244f
to
10d35e6
Compare
After seeing the following line in
When I tried to apt install
So this lead me to create PR #137.
It's force-pushed and I will try it out in my aarch64 Debian VM. Please note the two commented-out lines in
This PR is meant to document my work-in-progress and to stimulate discussion, it is a "very drafty" DRAFT. Note that I am new to OP-TEE, relatively new to Rust, have not used Rust in embedded environments before and am not knowledgeable about these linker options, so I'm experimenting and learning as I go along... |
If I use this PR after the force-push of your diff, I get the following error message:
This is the same as with If I remove the Is there a way to find out what else it is doing? |
Can you share the output of following echo command?
|
It is there to setup linker for the aarch64 target when Rust examples are being cross-compiled. However, here you are trying a native aarch64 Rust examples build which isn't tested before. Let me see if I can test it on a aarch64 machine too. |
|
10d35e6
to
13935f6
Compare
This is a "hack" which demonstrates changes that I made that eliminate the error seen in Issue #135. I don't understand the compile/link process well enough to submit a real fix and I haven't even tested that the build of this TA works, but I am submitting this patch as a demonstration of how to make the error message seen in Issue #135 go away.