trust
trust copied to clipboard
trust failing on x86_64-unknown-netbsd
/usr/local/lib/gcc/x86_64-unknown-netbsd/5.3.0/../../../../x86_64-unknown-netbsd/bin/ld: /rust/lib/rustlib/x86_64-unknown-netbsd/lib/libstd-075ab6f2359a82f1.rlib(std-075ab6f2359a82f1.std0.rcgu.o): undefined reference to symbol 'execvp'
/usr/local/x86_64-unknown-netbsd/lib/libc.so.12: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
I'm seeing this as well. From the build log:
Compiling heatseeker v1.5.2 (file:///project)
error: linking with `x86_64-unknown-netbsd-gcc` failed: exit code: 1
|
= note: "x86_64-unknown-netbsd-gcc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/rust/lib/rustlib/x86_64-unknown-netbsd/lib" [many .o files from dependencies]"-o" "/target/x86_64-unknown-netbsd/debug/deps/hs-0c4a7dee80fd9a13" "/target/x86_64-unknown-netbsd/debug/deps/hs-0c4a7dee80fd9a13.crate.allocator.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "-L" "/target/x86_64-unknown-netbsd/debug/deps" "-L" "/target/debug/deps" "-L" "/rust/lib/rustlib/x86_64-unknown-netbsd/lib" "-Wl,-Bstatic" [many rlib files] "-Wl,-Bdynamic" "-l" "util" "-l" "util" "-l" "pthread" "-l" "gcc_s" "-l" "m" "-l" "util" "-l" "util"
= note: /usr/local/lib/gcc/x86_64-unknown-netbsd/5.3.0/../../../../x86_64-unknown-netbsd/bin/ld: /rust/lib/rustlib/x86_64-unknown-netbsd/lib/libstd-774f1a5992f88ec5.rlib(std-774f1a5992f88ec5.std3-ae68302ff3ae5869970a3c9427eb7989.rs.rcgu.o): undefined reference to symbol 'execvp'
/usr/local/x86_64-unknown-netbsd/lib/libc.so.12: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
I noticed one thing that both of our projects have in common, which is that they have a build.rs.
I think build.rs can be ruled out - I just hit this error in this log without a build.rs file present.