-
Notifications
You must be signed in to change notification settings - Fork 54
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
file in wrong format #61
Comments
Same here. Here is the clang patch I applied to support unknown-elf (naively replacing 64 in place of 32 on the original):
Here is the file I am trying to compile:
Here is the clang command with debug info:
|
I shared my experiences with lowRISC RISC-V LLVM 64-bit flow for reference. 1.Create source path : 2.Create bin path : 3.Put patch file RISCV64_Support.patch : 4.Build riscv-gnu-toolchain [1] : 5.Build riscv-llvm(lowRISC version) [2] : 6.Export environment variable : 7.Clang information :
8.Test and elf info. [3] :
End~~~ References: |
Hello,
I've managed to build the tool, but when running clang in the last step, I get a "/path/to/riscv64-unknown-elf/lib/crt0.o: error adding symbols: file in wrong format" error.
Does anyone have any insight as to what this could be and how to go about resolving this issue?
Thanks
The text was updated successfully, but these errors were encountered: