Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trust failing on x86_64-unknown-netbsd #101

Open
XAMPPRocky opened this issue Apr 18, 2018 · 2 comments
Open

trust failing on x86_64-unknown-netbsd #101

XAMPPRocky opened this issue Apr 18, 2018 · 2 comments

Comments

@XAMPPRocky
Copy link

build log

/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
@rschmitt
Copy link

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.

@brookst
Copy link

brookst commented Sep 9, 2018

I think build.rs can be ruled out - I just hit this error in this log without a build.rs file present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants