Skip to content

LLVM ERROR: dwo only supported with ELF and Wasm #101078

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
kennystrawnmusic opened this issue Aug 27, 2022 · 2 comments
Closed

LLVM ERROR: dwo only supported with ELF and Wasm #101078

kennystrawnmusic opened this issue Aug 27, 2022 · 2 comments
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@kennystrawnmusic
Copy link

Code

Attempt to compile this UEFI stub kernel project using the latest nightly

Meta

rustc --version --verbose:

rustc 1.65.0-nightly (c07a8b4e0 2022-08-26)
binary: rustc
commit-hash: c07a8b4e09f356c7468b69c50cac7fc5b5000b8a
commit-date: 2022-08-26
host: x86_64-unknown-linux-gnu
release: 1.65.0-nightly
LLVM version: 15.0.0

Error output


   Compiling compiler_builtins v0.1.79
   Compiling core v0.0.0 (/opt/rust/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
   Compiling proc-macro2 v1.0.43
   Compiling quote v1.0.21
   Compiling unicode-ident v1.0.3
   Compiling syn v1.0.99
   Compiling version_check v0.9.4
   Compiling autocfg v1.1.0
   Compiling log v0.4.17
   Compiling typenum v1.15.0
   Compiling doc-comment v0.3.3
   Compiling radium v0.6.2
   Compiling rustversion v1.0.9
   Compiling heck v0.4.0
   Compiling paste v1.0.8
   Compiling generic-array v0.14.6
   Compiling lock_api v0.4.7
   Compiling snafu-derive v0.7.1
   Compiling uefi-macros v0.7.1
   Compiling rustc-std-workspace-core v1.99.0 (/opt/rust/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)
LLVM ERROR: dwo only supported with ELF and Wasm
error: could not compile `rustc-std-workspace-core`
warning: build failed, waiting for other jobs to finish...
LLVM ERROR: dwo only supported with ELF and Wasm
error: could not compile `core`
LLVM ERROR: dwo only supported with ELF and Wasm
error: could not compile `compiler_builtins`

@kennystrawnmusic kennystrawnmusic added C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 27, 2022
@kennystrawnmusic kennystrawnmusic changed the title REGRESSION: x86_64-unknown-uefi: “LLVM ERROR: dwo only supported with ELF and Wasm” LLVM ERROR: dwo only supported with ELF and Wasm Aug 27, 2022
@jfrimmel
Copy link
Contributor

Looks like a duplicate of #101071.

@kennystrawnmusic
Copy link
Author

Closing as duplicate, thanks

@kennystrawnmusic kennystrawnmusic closed this as not planned Won't fix, can't repro, duplicate, stale Aug 27, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants