Skip to content
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

Rustbuild on 32-bit MSVC fails run-make tests on AppVeyor #37858

Closed
alexcrichton opened this issue Nov 18, 2016 · 1 comment
Closed

Rustbuild on 32-bit MSVC fails run-make tests on AppVeyor #37858

alexcrichton opened this issue Nov 18, 2016 · 1 comment
Labels
T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@alexcrichton
Copy link
Member

In #37817 I discovered that enabling rustbuild fails to run 32-bit MSVC tests on AppVeyor. Specifically the run-make suite is failing with a bunch of errors like:

[02:33:05] C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64_x86/cl.exe: error while loading shared libraries: mspdb140.dll: cannot open shared object file: No such file or directory

I know I've seen this before, just want to open an issue to track this. I think this is something like we're adding the wrong directory to PATH or we're forgetting a directory entirely.

@alexcrichton alexcrichton added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Nov 18, 2016
@alexcrichton alexcrichton changed the title Rustbuild an 32-bit MSVC fails run-make tests on AppVeyor Rustbuild on 32-bit MSVC fails run-make tests on AppVeyor Nov 18, 2016
@retep998
Copy link
Member

retep998 commented Nov 18, 2016

The tools in C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_x86 are cross tools from a host of amd64 to a target of x86. This means that the native host directory needs to be in PATH specifically C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64. rustc does this just fine, but Rustbuild seems to be getting it wrong.

@bors bors closed this as completed in 0e272de Dec 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

No branches or pull requests

2 participants