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

rustc-LLVM ERROR: Broken function found, compilation aborted! #122621

Closed
tankf33der opened this issue Mar 17, 2024 · 2 comments
Closed

rustc-LLVM ERROR: Broken function found, compilation aborted! #122621

tankf33der opened this issue Mar 17, 2024 · 2 comments
Labels
C-bug Category: This is a bug.

Comments

@tankf33der
Copy link

I tried this steps, code is unknown:

$ cd pijul
$ cargo clean
$ cargo +nightly check
...
...
    Checking aes v0.7.5
    Checking hmac v0.11.0
    Checking event-listener v4.0.3
   Compiling backtrace v0.3.69
    Checking static_assertions v1.1.0
   Compiling toml_edit v0.19.15
ZExt only operates on integer
  %11 = zext ptr %1 to i64
ZExt only operates on integer
  %14 = zext ptr %1 to i64
ZExt only operates on integer
  %17 = zext ptr %1 to i64
ZExt only operates on integer
  %20 = zext ptr %1 to i64
ZExt only operates on integer
  %23 = zext ptr %1 to i64
in function _ZN4core4sync6atomic18AtomicPtr$LT$T$GT$4swap17hef559076e1cb26beE
rustc-LLVM ERROR: Broken function found, compilation aborted!
error: could not compile `once_cell` (lib)
warning: build failed, waiting for other jobs to finish...

I expected to see this happen: check passed as on stable

Instead, this happened: compiler crash (?)

Meta

$ rustc --version --verbose
rustc 1.78.0-nightly (766bdce74 2024-03-16)
binary: rustc
commit-hash: 766bdce744d531267d53ba2a3f9ffcda69fb9b17
commit-date: 2024-03-16
host: x86_64-unknown-linux-gnu
release: 1.78.0-nightly
LLVM version: 18.1.2

@tankf33der tankf33der added the C-bug Category: This is a bug. label Mar 17, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Mar 17, 2024
@tankf33der
Copy link
Author

Worked on nightly a 5 days ago.

@nikic
Copy link
Contributor

nikic commented Mar 17, 2024

Duplicate of #122476.

@nikic nikic closed this as not planned Won't fix, can't repro, duplicate, stale Mar 17, 2024
@fmease fmease removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

4 participants