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

Linker errors building clang in crate_universe examples #2947

Open
UebelAndre opened this issue Oct 18, 2024 · 0 comments
Open

Linker errors building clang in crate_universe examples #2947

UebelAndre opened this issue Oct 18, 2024 · 0 comments

Comments

@UebelAndre
Copy link
Collaborator

https://buildkite.com/bazel/rules-rust-rustlang/builds/12457#0192a053-e6b0-4b21-8f7d-d5af4b6e85f7

 = note: bazel-out/k8-fastbuild/bin/external/m_pkgs__curl/libcurl.a(mime.pic.o):mime.c:function curl_mime_filedata: error: undefined reference to 'stat'
          bazel-out/k8-fastbuild/bin/external/m_pkgs__curl/libcurl.a(fopen.pic.o):fopen.c:function Curl_fopen: error: undefined reference to 'fstat'
          collect2: error: ld returned 1 exit status
  = note: 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#rustc-link-lib)
error: aborting due to 1 previous error

This occurred in #2944 and should be investigated.

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

1 participant