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

[Zenith] Upgrade to v0.14.1 #6151

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

giordano
Copy link
Member

No description provided.

@giordano
Copy link
Member Author

giordano commented Jan 26, 2023

https://buildkite.com/julialang/yggdrasil/builds/431#0185eb7f-92eb-43b7-93eb-aee1dbe18b18/658-1057

[00:58:54]   cargo:rustc-link-lib=dl
[00:58:54]   TARGET = Some("x86_64-unknown-linux-musl")
[00:58:54]   OPT_LEVEL = Some("0")
[00:58:54]   HOST = Some("x86_64-unknown-linux-musl")
[00:58:54]   CC_x86_64-unknown-linux-musl = None
[00:58:54]   CC_x86_64_unknown_linux_musl = None
[00:58:54]   HOST_CC = None
[00:58:54]   CC = Some("cc")
[00:58:54]   CFLAGS_x86_64-unknown-linux-musl = None
[00:58:54]   CFLAGS_x86_64_unknown_linux_musl = None
[00:58:54]   HOST_CFLAGS = None
[00:58:54]   CFLAGS = None
[00:58:54]   CRATE_CC_NO_DEFAULTS = None
[00:58:54]   DEBUG = Some("false")
[00:58:54]   CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
[00:58:54]   running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-Wall" "-Wextra" "-o" "/workspace/srcdir/zenith-0.13.1/target/release/build/libloading-5222050a9880e544/out/src/os/unix/global_static.o" "-c" "src/os/unix/global_static.c"
[00:58:54]   cargo:warning=src/os/unix/global_static.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
[00:58:54]   cargo:warning= #include <pthread.h>
[00:58:54]   cargo:warning= ^
[00:58:54]   exit status: 1

I have no clue where cargo got the impression that target is x86_64-unknown-linux-musl since we say in multiple ways that the target is different.

@imciner2 imciner2 changed the title [Zenith] Upgrade to v0.13.1 [Zenith] Upgrade to v0.14.1 Dec 28, 2024
@imciner2
Copy link
Member

Looks like this needs Clang for some reason:

[00:28:03] error: failed to run custom build command for `linux-taskstats v0.5.0`
[00:28:03] 
[00:28:03] Caused by:
[00:28:03]   process didn't exit successfully: `/workspace/srcdir/zenith/target/release/build/linux-taskstats-ab0d9d70540ba6b7/build-script-build` (exit status: 101)
[00:28:03]   --- stdout
[00:28:03]   cargo:rerun-if-changed=wrapper.h
[00:28:03]   cargo:rerun-if-env-changed=TARGET
[00:28:03]   cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64-unknown-linux-gnu
[00:28:03]   cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64_unknown_linux_gnu
[00:28:03]   cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS
[00:28:03]   cargo:rerun-if-changed=wrapper.h
[00:28:03] 
[00:28:03]   --- stderr
[00:28:03]   thread 'main' panicked at /opt/x86_64-linux-musl/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.69.4/lib.rs:622:31:
[00:28:03]   Unable to find libclang: "the `libclang` shared library at /opt/x86_64-linux-musl/lib/libclang.so.18.1.7 could not be opened: Dynamic loading not supported"
[00:28:03]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[00:28:03] warning: build failed, waiting for other jobs to finish...

@giordano
Copy link
Member Author

Sounds like rust-lang/rust-bindgen#2360

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

Successfully merging this pull request may close these issues.

2 participants