We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When we compile a project for the SBF target, we still invoke the linker, assuming the BPF target.
Them seems to be related to the following line:
rust/compiler/rustc_codegen_ssa/src/back/metadata.rs
Line 214 in 696ef74
However, changing it to Architecture::Sbf crashes the linker, as we try to put together files compiled for both the BPF and the SBF target.
Architecture::Sbf
We are either invoking the compiler for both targets or writing the incorrect architecture in the file header.
The text was updated successfully, but these errors were encountered:
We are still writing EM_BPF in the ELF object: https://github.com/anza-xyz/llvm-project/blob/bda98722f7b7806d037185b4891b9419feee720c/llvm/lib/Target/SBF/MCTargetDesc/SBFELFObjectWriter.cpp#L53
EM_BPF
Sorry, something went wrong.
No branches or pull requests
When we compile a project for the SBF target, we still invoke the linker, assuming the BPF target.
Them seems to be related to the following line:
rust/compiler/rustc_codegen_ssa/src/back/metadata.rs
Line 214 in 696ef74
However, changing it to
Architecture::Sbf
crashes the linker, as we try to put together files compiled for both the BPF and the SBF target.We are either invoking the compiler for both targets or writing the incorrect architecture in the file header.
The text was updated successfully, but these errors were encountered: