run-make
test failures when building rust-with rpath disabled
#140738
Labels
A-run-make
Area: port run-make Makefiles to rmake.rs
A-test-infra
Area: test infrastructure (may span bootstrap/compiletest/more)
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Similar to #140299, we're seeing some
run-make
tests failing to run due to missinglibrustc_driver
when building withrpath
disabled:Tests that fail:
The root cause is that these tests either:
Command::new(env_var("RUSTC"))
instead using therustc()
wrapper provided by run-make-support, orcargo()
wrapper fromrun-make-support
, which doesn't set the runtime library path (e.g. LD_LIBRARY_PATH) likerustc()
does.To reproduce in a clean tree:
./config --disable-rpath python x.py test --force-rerun tests/run-make/{broken-pipe-no-ice,compiler-builtins,rustc-crates-on-stable}
Originally reproduced on beta (973ec11), still happens on latest master (71b68da).
The text was updated successfully, but these errors were encountered: