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
simplicity-sys: tests with test-utils fail to link on Linux since #393 (static library order) #407
Activity
delta1 commentedon Nov 10, 2026
I can't reproduce this on Debian 13 with Rust 1.99 . Could it be specific to the Nix setup?
apoelstra commentedon Nov 10, 2026
Lemme try to update my nightly pin and see if it shows up.
KyrylR commentedon Nov 11, 2026
I am on MacOS, I used this command:
To reproduce the bug
Here is the output (part of it):
KyrylR commentedon Nov 11, 2026
Tried the (rust 1.99)
also fails
After looking with AI (Opus 5.5) into it, it says the following
delta1 tested on x86_64, where Rust 1.90+ links with the bundled
rust-lldand hides the bug. The bug affects:rust-lldis turned off, which some distro and Nix toolchains do;ccpoints at GNU ld.Nix isn't the cause: it fails in plain Docker images too. andrew-ci ran under Docker on your Mac, so it was arm64 as well.
On
7fb2601,cd simplicity-sys && cargo test --features test-utils:RUSTFLAGS="-Clinker-features=-lld")KyrylR commentedon Nov 11, 2026
Now it looks same weird rabbit hole with linker, do not really see a need to spend time on it
apoelstra commentedon Nov 11, 2026
A long time ago in Liquid we replaced our linker with
goldbecause of weird linker issues like this.