Skip to content

'assertion failed: !lib.is_empty()' on mingw-w64 (32bit) #10978

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
klutzy opened this issue Dec 15, 2013 · 1 comment
Closed

'assertion failed: !lib.is_empty()' on mingw-w64 (32bit) #10978

klutzy opened this issue Dec 15, 2013 · 1 comment
Labels
O-windows Operating system: Windows

Comments

@klutzy
Copy link
Contributor

klutzy commented Dec 15, 2013

~/stone/rust-w32 $ rm build -rf && mkdir build && cd build
~/stone/rust-w32/build $ ../configure --build=i686-w64-mingw32
...
~/stone/rust-w32/build $ make
...
compile_and_link: i686-w64-mingw32/stage0/bin/rustc/i686-w64-mingw32/bin/rustc.dll
task 'rustc' failed at 'assertion failed: !lib.is_empty()', C:\bot\slave\snap3-win\build\src\librustc\metadata\cstore.rs:138
error: internal compiler error: unexpected failure

The failure doesn't happen on regular mingw.

@klutzy
Copy link
Contributor Author

klutzy commented Dec 19, 2013

It's not mingw-w64 specific. librustc/lib/llvmdeps.rs contained #[link(name = "")] then rustc failed badly. I've opened #11073 for such glitches.

@klutzy klutzy closed this as completed Dec 19, 2013
bors added a commit that referenced this issue Dec 20, 2013
This patchset fixes small glitches which caused #10978.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-windows Operating system: Windows
Projects
None yet
Development

No branches or pull requests

1 participant