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
{{ message }}
Repository navigation
Intrinsic has incorrect return type. LLVM ERROR: Broken function found, compilation aborted. aarch64 / ARM / nightly #118124
Crate bytecount compilation fails with latest nightly on NanoPC-T6 (RK3588 ARM / aarch64).
It worked yesterday.
I tried this code:
cargo new bytecount_test &&cd bytecount_test
cargo add bytecount
Updating crates.io index
Adding bytecount v0.6.7 to dependencies.
Features:
- generic-simd
- html_report
- packed_simd
- runtime-dispatch-simd
Updating crates.io index
cargo +nightly-2023-11-20 build
Compiling bytecount v0.6.7
Intrinsic has incorrect return type!
ptr @llvm.aarch64.neon.ld1x4.v16i8.p0i8
in function _ZN4core9core_arch10arm_shared4neon9generated11vld1q_u8_x417hd6e0965b4ff7ff22E
LLVM ERROR: Broken function found, compilation aborted!
error: could not compile bytecount (lib)
cargo +nightly-2023-11-19 build
Compiling bytecount v0.6.7
Compiling bytecount_test v0.1.0 (/home/pi/bytecount_test)
Finished dev [unoptimized + debuginfo] target(s) in 0.90s
Activity
Noratrieb commentedon Nov 21, 2023
searched nightlies: from nightly-2023-11-19 to nightly-2023-11-20
regressed nightly: nightly-2023-11-20
searched commit range: 4cb3bee...9a66e44
regressed commit: d19980e
bisected with cargo-bisect-rustc v0.6.5
Host triple: aarch64-unknown-linux-gnu
Reproduce with:
looks like something in that PR changed ABI behavior and now LLVM and rustc disagree. Don't know who's wrong. @RalfJung @davidtwco
RalfJung commentedon Nov 21, 2023
Hm, I don't know how that "unadjusted" ABI stuff works...
RalfJung commentedon Nov 21, 2023
#118127 should fix this. I am not sure how to add a test.
apiraino commentedon Nov 23, 2023
WG-prioritization assigning priority (Zulip discussion).
@rustbot label -I-prioritize +P-high
Auto merge of rust-lang#118127 - RalfJung:unadjusted-abi, r=compiler-…
Auto merge of #118127 - RalfJung:unadjusted-abi, r=compiler-errors