You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is a (currently) low-information report about a bug I've hit. Trying to generate the assembly listing of a pretty big project, I get the error in the title.
Some details:
The project is based on this CMake-first template. Probably not related, it just makes my life awkward here :)
Build used to compile (without a few flags): cargo +esp rustc --target xtensa-esp32-espidf -Z build-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort -- --emit asm
Project compiles with thin LTO enabled.
Assembly is emitted with LTO off.
Build fails with full LTO on, regardless of whether I'm trying to emit ASM or not.
I am not yet able to reproduce this issue by building up a minimal project, but I am able to configure my big one to succeed (and give me a 29MB .s file. Let's hope it's not a total code size related issue :) ). I'll keep investigating.
Update:
This might be some LTO related issue instead of ASM. I'm getting this when not trying to emit ASM but having enabled full LTO.
The text was updated successfully, but these errors were encountered:
bugadani
changed the title
"error: fixup value out of range" while trying to emit asm
"error: fixup value out of range" while trying to emit asm with thin LTO
Jun 15, 2022
This issue is a (currently) low-information report about a bug I've hit. Trying to generate the assembly listing of a pretty big project, I get the error in the title.
Some details:
The project is based on this CMake-first template. Probably not related, it just makes my life awkward here :)
Build used to compile (without a few flags):
cargo +esp rustc --target xtensa-esp32-espidf -Z build-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort -- --emit asm
Project compiles with thin LTO enabled.
Assembly is emitted with LTO off.
Build fails with full LTO on, regardless of whether I'm trying to emit ASM or not.
Rustc version:
I am not yet able to reproduce this issue by building up a minimal project, but I am able to configure my big one to succeed (and give me a 29MB
.s
file. Let's hope it's not a total code size related issue :) ). I'll keep investigating.Update:
This might be some LTO related issue instead of ASM. I'm getting this when not trying to emit ASM but having enabled full LTO.
The text was updated successfully, but these errors were encountered: