Closed
Description
Code
https://github.com/haraldh/rust_llvm_error
❯ cd /tmp
❯ git clone https://github.com/haraldh/rust_llvm_error.git
❯ cd rust_llvm_error/
❯ cargo clean; cargo build
Compiling scopeguard v1.1.0
Compiling primordial v0.1.0
Compiling lock_api v0.4.4
Compiling spinning v0.1.0
Compiling llvm_error v0.1.0 (/tmp/rust_llvm_error)
Finished dev [unoptimized + debuginfo] target(s) in 1.20s
❯ cd ..
❯ mkdir -p /tmp/sfdgfdgdfgfdg/dfghfdgfd/fdfdgfdg/
❯ mv rust_llvm_error /tmp/sfdgfdgdfgfdg/dfghfdgfd/fdfdgfdg/
❯ cd /tmp/sfdgfdgdfgfdg/dfghfdgfd/fdfdgfdg/rust_llvm_error/
❯ cargo clean; cargo build
Compiling scopeguard v1.1.0
Compiling primordial v0.1.0
Compiling lock_api v0.4.4
Compiling spinning v0.1.0
Compiling llvm_error v0.1.0 (/tmp/sfdgfdgdfgfdg/dfghfdgfd/fdfdgfdg/rust_llvm_error)
LLVM ERROR: Invalid LLVMRustLinkage value!
error: could not compile `llvm_error`
Meta
rustc --version --verbose
:
rustc 1.54.0 (a178d0322 2021-07-26)
binary: rustc
commit-hash: a178d0322ce20e33eac124758e837cbd80a6f633
commit-date: 2021-07-26
host: x86_64-unknown-linux-gnu
release: 1.54.0
LLVM version: 12.0.1
Error output
LLVM ERROR: Invalid LLVMRustLinkage value!
error: could not compile `llvm_error`
Metadata
Metadata
Assignees
Labels
Category: This is a bug.Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Bugs identified for the LLVM ICE-breaker groupHigh priorityRelevant to the compiler team, which will review and decide on the PR/issue.ICE tracked in rust-lang/glacier.Performance or correctness regression from one stable version to another.