Relocation out of range when calling panic
The Rust Programming Language Forum
Relocation out of range when calling panic
I'm writing firmware for bare-metal x86 (x86_64-unknown-none) and keep hitting relocation out of range errors that I haven't been able to solve by messing with the linker script, code generation options or linker options. The specific error I'm seeing seems to be related to sections prefixed with .rodata..Lanon: rust-lld: error: /home/finchie/Projects/Rust/linker_panic_codegen/target/x86_64-unknown-none/debug/build/linker_panic_codegen/597092d75453df74/out/linker_panic_codegen.a4oktnzon0hpo8l8...
0 comments
No comments yet.