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
{{ message }}
Repository navigation
[Fixed] Bootloader v0.9.17 seems to be broken on Rust nightly-2021-05-20 #167
changed the title [-]Bootloader v0.9.17 seems to be broken on nightly-2021-05-20[/-][+]Bootloader `v0.9.17` seems to be broken on Rust `nightly-2021-05-20`[/+]on May 20, 2021
--gc-sections is now only passed if "linker-is-gnu": true is used inside the target spec (rust-lang/rust#85274). The blog os target spec doesn't mention it. Maybe the first stage is too big without --gc-sections?
changed the title [-]Bootloader `v0.9.17` seems to be broken on Rust `nightly-2021-05-20`[/-][+][Fixed] Bootloader `v0.9.17` seems to be broken on Rust `nightly-2021-05-20`[/+]on May 20, 2021
Activity
[-]Bootloader v0.9.17 seems to be broken on nightly-2021-05-20[/-][+]Bootloader `v0.9.17` seems to be broken on Rust `nightly-2021-05-20`[/+]phil-opp commentedon May 20, 2021
Diff between the working and broken nightly: rust-lang/rust@4e3e6db...f94942d
bjorn3 commentedon May 20, 2021
--gc-sectionsis now only passed if"linker-is-gnu": trueis used inside the target spec (rust-lang/rust#85274). The blog os target spec doesn't mention it. Maybe the first stage is too big without--gc-sections?phil-opp commentedon May 20, 2021
@bjorn3 Ah thanks, I think that's likely the reason. I'll push a fix in a moment.
phil-opp commentedon May 20, 2021
I opened #168 with a fix.
[-]Bootloader `v0.9.17` seems to be broken on Rust `nightly-2021-05-20`[/-][+][Fixed] Bootloader `v0.9.17` seems to be broken on Rust `nightly-2021-05-20`[/+]phil-opp commentedon May 20, 2021
Fix published as v0.9.18. A
cargo update -p bootloadershould be enough to fix this issue in downstream crates.Add `--gc-sections` linker argument again