Commit cd1b845
committed
Auto merge of rust-lang#31074 - gmbonnet:stage0-libdir, r=alexcrichton
This fixes rust-lang#27254.
On a 64-bit Linux machine, for example, `configure --libdir=/usr/local/lib64` was creating both `x86_64-unknown-linux-gnu/stage0/lib/rustlib` and `x86_64-unknown-linux-gnu/stage0/lib64/rustlib`. Crates from the stage0 snapshot, like `libcore`, are extracted to `x86_64-unknown-linux-gnu/stage0/lib/rustlib`, but the stage0 compiler was attempting to find them in `x86_64-unknown-linux-gnu/stage0/lib64/rustlib`, which has the highest priority on a 64-bit system.
The issue can be fixed by creating only `x86_64-unknown-linux-gnu/stage0/lib/rustlib`, since this is the only rustlib directory needed for stage0 anyways.1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1361 | 1361 | | |
1362 | 1362 | | |
1363 | 1363 | | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
1364 | 1367 | | |
1365 | 1368 | | |
1366 | 1369 | | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
1367 | 1373 | | |
1368 | 1374 | | |
1369 | 1375 | | |
1370 | 1376 | | |
1371 | 1377 | | |
1372 | 1378 | | |
1373 | | - | |
| 1379 | + | |
1374 | 1380 | | |
1375 | 1381 | | |
1376 | 1382 | | |
| |||
0 commit comments