Undefined symbols when bootstrapping with ld.gold in DragonFly BSD #139425
Labels
A-linkers
Area: linkers... you gotta love linkers
C-external-bug
Category: issue that is caused by bugs in software beyond our control
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Summary
TL;DR: When building rust 1.82 onwards and trying to link the
rustc_driver
with ld.gold, it will fail with the following error:Full story on Zulip: https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/__rust_alloc_error_handler_should_panic.20not.20defined/with/510418013
Command used
Rust +1.82 bootstrapped with a custom script.
Expected behaviour
The build to succeed.
Actual behaviour
Fails to build, see summary.
Bootstrap configuration (bootstrap.toml)
<config>
Operating system
DragonFly BSD 6.4 and above (including bleeding edge).
HEAD
Any Rust version from 1.82 and above.
Additional context
Build Log
The text was updated successfully, but these errors were encountered: