Skip to content

Not able to compile on Windows in MinGW anymore #28639

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
nhowell opened this issue Sep 24, 2015 · 2 comments
Closed

Not able to compile on Windows in MinGW anymore #28639

nhowell opened this issue Sep 24, 2015 · 2 comments

Comments

@nhowell
Copy link
Contributor

nhowell commented Sep 24, 2015

$ make
...
compile: x86_64-pc-windows-gnu/rustllvm/ArchiveWrapper.o
link: x86_64-pc-windows-gnu/rt/rustllvm.lib
rustc: x86_64-pc-windows-gnu/stage0/bin/rustlib/x86_64-pc-windows-gnu/lib/librustc_llvm
C:/Users/Nick/GitHub/rust/x86_64-pc-windows-gnu/rt/llvmdeps.rs:78:38: 78:54 error: #[link(name = "")] given with empty name
C:/Users/Nick/GitHub/rust/x86_64-pc-windows-gnu/rt/llvmdeps.rs:78 #[cfg_attr(not(target_env = "msvc"), link(name = ""))]
                                                                                                       ^~~~~~~~~~~~~~~~
note: in expansion of include!
src/librustc_llvm/lib.rs:2336:5: 2336:47 note: expansion site
error: aborting due to previous error
/c/Users/Nick/GitHub/rust/mk/target.mk:164: recipe for target 'x86_64-pc-windows-gnu/stage0/bin/rustlib/x86_64-pc-windows-gnu/lib/stamp.rustc_llvm' failed
make: *** [x86_64-pc-windows-gnu/stage0/bin/rustlib/x86_64-pc-windows-gnu/lib/stamp.rustc_llvm] Error 101

I suspect this commit (here's the PR, too) might be to blame, but I don't know enough about it to be sure.

@alexcrichton
Copy link
Member

Thanks for the report! If you delete the file in question the build should be able to progress as normal, however.

@nhowell
Copy link
Contributor Author

nhowell commented Sep 24, 2015

Right you are! Much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants