-
Notifications
You must be signed in to change notification settings - Fork 13k
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
DwarfUnit.cpp:724: llvm::DIE* llvm::DwarfUnit::getOrCreateTypeDIE(const llvm::MDNode*): Assertion `Ty == resolve(Ty->getRef()) && "type was not uniqued, possible ODR violation."' failed. #34122
Comments
See also #28233. |
A duplicate of #28233 |
As a workaround please do not combine -C lto and -g. |
The underlying issue seems to be the same to me: -C lto and -g being used together. Doesn’t removing either one get rid of the ICE? |
IMO, it doesn't matter, because just four days ago "-C lto" with "-g" was working fine: https://travis-ci.org/briansmith/ring/builds/134868186. |
OK, I've tried it, and things do start to pass again if I remove "-g". However, I think "-C lto -g" is (or should be) a very common configuration, and also it was working just days ago. So, I think we should find out what regressed and then revert that or somehow fix it otherwise. |
Looks like this affects clang too: https://github.com/dotnet/coreclr/issues/5519 |
This isn't necessarily a regression that you can fix outside of fixing #28233. It might simply be a new Also, the two build logs are for different versions of ring. Are you sure that the change that triggers the bug is in rust's standard lib and not in ring? |
OK, let's fix #28233 then. |
This breaks the build of ring on Nightly. See https://travis-ci.org/briansmith/ring/jobs/135609253. This was using rustc 1.11.0-nightly (1c975ea 2016-06-05).
The text was updated successfully, but these errors were encountered: