-
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
ICE: Assertion failed: DestTy && "GEP indices invalid!" compiling reference to static defined in another crate #29265
Comments
In particular, this was found by @badboy, who originally reported it as briansmith/ring#41. |
Triaging: There is an error hapening on
On nightly
|
@bltavares Stable probably still hits the same assert, but LLVM assertions are disabled on stable and beta |
This no longer asserts on the current nightly. |
…, r=Centril Add tests for some issues Closes rust-lang#29265 Closes rust-lang#37433 Closes rust-lang#49544 r? @Centril
…, r=Centril Add tests for some issues Closes rust-lang#29265 Closes rust-lang#37433 Closes rust-lang#49544 r? @Centril
…, r=Centril Add tests for some issues Closes rust-lang#29265 Closes rust-lang#37433 Closes rust-lang#49544 r? @Centril
…, r=Centril Add tests for some issues Closes rust-lang#29265 Closes rust-lang#37433 Closes rust-lang#49544 r? @Centril
…, r=Centril Add tests for some issues Closes rust-lang#29265 Closes rust-lang#37433 Closes rust-lang#49544 r? @Centril
…, r=Centril Add tests for some issues Closes rust-lang#29265 Closes rust-lang#37433 Closes rust-lang#49544 r? @Centril
Program:
Crate test_1_lib:
Notice that this is a static in one crate referencing a static in another crate.
A complete cargo-buildable test case is at https://github.com/briansmith/rust-bug-1. This bug was found by a user of ring. The coding pattern in this test case commonly occurs when using ring.
To reproduce:
rustc crashes with
Reproduced with (on x86_64-pc-windows-msvc):
The text was updated successfully, but these errors were encountered: