-
Notifications
You must be signed in to change notification settings - Fork 13.3k
unreachable pub item from portable-simd with target_feature = "avx512f" #138054
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
Comments
It's happening with glibc too. Dropping "-C target-cpu=native" gets things going again |
Since #134286 we enabled the @calebzulawski @workingjubilee what would be the best way forward? Fix in portable-simd with subtree sync? Allow in core for the moment? |
Subtree sync is probably easiest. @workingjubilee should we even bother with the avx512 mask layout for now? The regular masks still codegen to k registers as long as they don't go to memory |
Any input on the previous message @workingjubilee? |
As is done in `core` since rust-lang/rust#134286 cc rust-lang/rust#138054
As is done in `core` since rust-lang/rust#134286 cc rust-lang/rust#138054
Fixed with #138687 |
#138687 is merged, is this now resolved? |
It's technically a stable to beta regression and #138687 is only in master/was not backported. |
Summary
Can't build core with
target_feature = "avx512f"
rust/library/portable-simd/crates/core_simd/src/masks.rs
Lines 5 to 13 in 4559163
Command used
export CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_RUSTFLAGS=-Ctarget-cpu=znver4 -Clinker=clang -Clink-arg=-fuse-ld=lld -Ctarget-feature=-crt-static ./x build
Expected behaviour
It should build
Actual behaviour
Multiple errors about unreachable
pub
itemBootstrap configuration (config.toml)
Operating system
Gentoo Linux amd64 (musl-llvm profile)
HEAD
ac951d3
61e1603 (1.86 beta)
Additional context
Build Log
The text was updated successfully, but these errors were encountered: