Skip to content

LLVM 18 breakage: failed to get bitcode from object file after LLVM 6b539f5eb8e #115069

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

Closed
durin42 opened this issue Aug 21, 2023 · 2 comments
Closed
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.

Comments

@durin42
Copy link
Contributor

durin42 commented Aug 21, 2023

Filing this to keep track of llvm/llvm-project@6b539f5 breaking tests/codegen/lto-removes-invokes.rs and tests/codegen/sanitizer/sanitizer-recover.rs#MSAN-RECOVER-LTO, both with the message error: failed to get bitcode from object file for LTO (Bitcode section not found in object file).

In https://reviews.llvm.org/D152973#4520240 it sounds like we should already have an idea of what to do here, but I also have the vague notion it might not be a quick fix, so I'm opening a bug that I can refer the handful of Rust-at-HEAD/LLVM-at-HEAD users to until we get this resolved.

@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Aug 21, 2023
@saethlin saethlin added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Aug 21, 2023
@nikic
Copy link
Contributor

nikic commented Sep 15, 2023

Can be closed as #115641 has landed?

@durin42
Copy link
Contributor Author

durin42 commented Sep 15, 2023

Yep! Thanks!

@durin42 durin42 closed this as completed Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants