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
= help: some extern functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the -l flag to specify native libraries to link
= note: use the cargo:rustc-link-lib directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
Your post is referring to both aarch64-unknown-linux-musl and aarch64-unknown-linux-gnu. Are you sure that's not the problem? What exactly are you trying to do?
Checks
Describe the bug you encountered:
error: linking with
cc
failed: exit status: 1|
= note: "cc" "/root/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-musl/lib/self-contained/crt1.o" "/root/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-musl/lib/self-contained/crti.o" "/root/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-musl/lib/self-contained/crtbegin.o" "/tmp/rustcwRDzm4/symbols.o" "/tmp/sandbox/fd/target/aarch64-unknown-linux-musl/release/deps/fd-e026eb1ad606ca34.fd.af65a59a-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/sandbox/fd/target/aarch64-unknown-linux-musl/release/deps" "-L" "/tmp/sandbox/fd/target/release/deps" "-L" "/tmp/sandbox/fd/target/aarch64-unknown-linux-musl/release/build/jemalloc-sys-edbb7c506b4d16be/out/build/lib" "-L" "/root/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-musl/lib" "-Wl,-Bstatic" "/tmp/rustcwRDzm4/libjemalloc_sys-2b4606dfed38e7c4.rlib" "-Wl,--start-group" "-lunwind" "-lc" "-Wl,--end-group" "/root/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-musl/lib/libcompiler_builtins-ee4c65da8befe454.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-nostartfiles" "-L" "/root/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-musl/lib" "-L" "/root/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-musl/lib/self-contained" "-o" "/tmp/sandbox/fd/target/aarch64-unknown-linux-musl/release/deps/fd-e026eb1ad606ca34" "-Wl,--gc-sections" "-static" "-no-pie" "-Wl,-zrelro,-znow" "-Wl,--strip-all" "-nodefaultlibs" "-s" "/root/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-musl/lib/self-contained/crtend.o" "/root/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-musl/lib/self-contained/crtn.o"
= note: /usr/bin/ld: /root/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/lib/rustlib/aarch64-unknown-linux-musl/lib/libcompiler_builtins-ee4c65da8befe454.rlib(cpu_model.o): in function
init_have_lse_atomics': /cargo/registry/src/github.com-1ecc6299db9ec823/compiler_builtins-0.1.73/./lib/builtins/cpu_model.c:811: undefined reference to
getauxval'collect2: error: ld returned 1 exit status
= help: some
extern
functions couldn't be found; some native libraries may need to be installed or have their path specified= note: use the
-l
flag to specify native libraries to link= note: use the
cargo:rustc-link-lib
directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)Describe what you expected to happen:
No response
What version of
fd
are you using?Latest git
Which operating system / distribution are you on?
The text was updated successfully, but these errors were encountered: