rust-lang / backtrace-rs

Backtraces in Rust
https://docs.rs/backtrace
Other
524 stars 240 forks source link

Commit Cargo.lock #562

Closed bjorn3 closed 10 months ago

bjorn3 commented 11 months ago

As of rust-lang/cargo#8728 it is now recommended to always check in Cargo.lock. This will help with reproducability. It will also allow tidy to run on the backtrace workspace.

bjorn3 commented 11 months ago

CI failure seems unrelated:

   = note: /usr/bin/ld: /checkout/target/x86_64-unknown-linux-musl/debug/deps/accuracy-55902b35759f3f28.1uouxsj60aaj9p4p.rcgu.o: in function `libloading::os::unix::Library::open::{{closure}}':
          /cargo/registry/src/index.crates.io-6f17d22bba15001f/libloading-0.7.4/src/os/unix/mod.rs:173: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
          /usr/bin/ld: /rust/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/libc.a(dlerror.lo): in function `__get_tp':
          /build/musl-cross-make/build/local/x86_64-linux-musl/obj_musl/../src_musl/arch/x86_64/pthread_arch.h:4: multiple definition of `dlerror'; /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libdl.a(dlerror.o):(.text+0x0): first defined here
          /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libdl.a(dlopen.o): in function `dlopen':
          (.text+0x9): undefined reference to `__dlopen'
          /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libdl.a(dlclose.o): in function `dlclose':
          (.text+0x5): undefined reference to `__dlclose'
          /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libdl.a(dlerror.o): in function `dlerror':
          (.text+0x5): undefined reference to `__dlerror'
          collect2: error: ld returned 1 exit status

Seems like musl and glibc are getting mixed.