Closed TheOnlyMrCat closed 2 years ago
Can you provide steps for a minimal reproducible example?
Sure! Steps to reproduce:
As a dependency:
backtrace = "0.3.62"
to Cargo.toml
(The most recent version at the time of writing)cargo build
Building the repository itself:
cargo build
in the cloned repository.Building with cargo clean && RUSTFLAGS="-C link-arg=-fuse-ld=/path/to/zld" cargo build
succeeds for me for backtrace-rs
Also, it looks like you're on an Intel mac, is that true?
Curiously, the bug has disappeared for me as well. (Yes, intel mac, now on Monterey, same commit, with zld versions 1.3.1 and 1.3.3)
hmm i'm curious of two things:
The MD5 sum of target/debug/build/backtrace-*/build-script-build
remains consistent, even when removing /tmp/zld-*
.
I might have a time machine backup, so I could attempt to replicate the issue on a VM
well, if the bug has disappeared, we can close. feel free to report if it happens again
I'm using zld through cargo with rustflags:
"-C", "link-arg=-fuse-ld=/usr/local/bin/zld"
.Compilation fails with the following warning and error:
Attached is the full log, if it is helps: backtrace-rs_report.txt
Compilation succeeds using the default Apple linker