On Tue, Nov 02, 2021 at 12:39:53PM +0000, Stuart Henderson wrote: > for checking libs for WANTLIB, use objdump -p or readelf -d and look at NEEDED > ldd also shows you libraries pulled in by dep's > > > I haven't verified this is the reason, but a quick grep in Rust source > > tree found this in library/unwind/build.rs: > > > > } else if target.contains("openbsd") { > > if target.contains("sparc64") { > > println!("cargo:rustc-link-lib=gcc"); > > } else { > > println!("cargo:rustc-link-lib=c++abi"); > > } > > } else if target.contains("solaris") { > > > > so I guess kn's test was on sparc64
Yes, sorry for not mentioning this; fcambus asked me days ago already but I noticed just now that this mail was off-list...