-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
LLVM assertion with 16 codegen units and ThinLTO #45131
Comments
ping @alexcrichton |
Thanks for the report! I'll try to investigate soon |
Same error comes out of the crate
|
TimNN
added
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
labels
Oct 10, 2017
I've opened up an upstream bug for this as well as a fix, and I'll backport this to our branch once it lands. |
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Oct 11, 2017
This commit updates LLVM with a patch that's landed upstream to fix an assertion that was tripping when ThinLTO was activated. Unfortunately I wasn't able to get a reduced test case, but I've tested manually on the affected crates and the assertion is indeed fixed. Closes rust-lang#45131
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Oct 13, 2017
…woerister rustc: Update LLVM with a ThinLTO fix This commit updates LLVM with a patch that's landed upstream to fix an assertion that was tripping when ThinLTO was activated. Unfortunately I wasn't able to get a reduced test case, but I've tested manually on the affected crates and the assertion is indeed fixed. Closes rust-lang#45131
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiling the latest master of soa-derive with 16 codegen units and thinLTO activated makes the compiler hit an LLVM assertion:
The assertion error appears when compiling syn, but I could not reproduce with the syn crate by itself.
Meta
The text was updated successfully, but these errors were encountered: