graydon/rust — Issue #1050: $PATH for running compiletest.exe is not correct on windows
Author: brson
Created: 2011-10-19 23:56:34+00:00
State: open
Labels: bug, test, unassigned, Win32

This is the command being used to run compiletest.exe for stage1:

```
PATH="/usr/local/bin:$PATH:stage1/lib/rustc/i686-pc-mingw32/lib" stage1/bin/comp
iletest.exe --compile-lib-path stage1/lib --run-lib-path stage1/lib/rustc/i686-p
c-mingw32/lib --rustc-path stage1/bin/rustc.exe --stage-id stage1 --rustcflags "
-O" --verbose --src-base ../src/test/run-pass/ --build-base test/run-pass/ --m
ode run-pass
```

stage1/bin/comp is linked against libraries in stage1/lib not stage1/lib/rustc/etc. so this ends up not finding the expected symbols.

It happens to work for stage2 because once we get that far in the compilation process the symbols end up being the same.