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

Aarch64 build appears broken #90

Open
inferiorhumanorgans opened this issue Nov 27, 2023 · 3 comments
Open

Aarch64 build appears broken #90

inferiorhumanorgans opened this issue Nov 27, 2023 · 3 comments

Comments

@inferiorhumanorgans
Copy link

Intrinsic has incorrect return type!
ptr @llvm.aarch64.neon.ld1x4.v16i8.p0i8
in function _ZN4core9core_arch10arm_shared4neon9generated11vld1q_u8_x417h224d569be9c8b1b6E
LLVM ERROR: Broken function found, compilation aborted!
error: could not compile `bytecount` (lib)
warning: build failed, waiting for other jobs to finish...
$ uname -vm
Darwin Kernel Version 23.1.0: Mon Oct  9 21:28:45 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T6020 arm64
@llogiq
Copy link
Owner

llogiq commented Nov 27, 2023

What kind of machine is this? I get that Darwin is MacOS, right?

Can you try compiling with RUSTFLAGS="-c target-cpu=native"?

@inferiorhumanorgans
Copy link
Author

$ RUSTFLAGS="-C target-cpu=native" cargo build
   Compiling bytecount v0.6.7 (pwd/bytecount)
Intrinsic has incorrect return type!
ptr @llvm.aarch64.neon.ld1x4.v16i8.p0i8
in function _ZN4core9core_arch10arm_shared4neon9generated11vld1q_u8_x417hc2c70c85f2363de7E
LLVM ERROR: Broken function found, compilation aborted!
error: could not compile `bytecount` (lib)
$ rustc --version
rustc 1.76.0-nightly (37b2813a7 2023-11-24)

The processor is an M2 Pro.

@Librazy
Copy link

Librazy commented Nov 28, 2023

rust-lang/rust#118124 It‘s a Rust ICE

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

3 participants