cross build regression in 1.83+ #135796
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Summary
Since 1.83, cross-building in Debian is broken because of the check/invocation introduced by #130899 (68034f8 to be exact).
Command used
on an amd64/x86_64 host:
Expected behaviour
up to 1.82, cross building worked.
Actual behaviour
since 1.83, the newly introduced rustc invocation fails, since it doesn't seem to set the right
LD_LIBRARY_PATH
:the mentioned
librustc_driver-3099989dab198f47.so
exists instage1/lib
, settingLD_LIBRARY_PATH
and repeating therustc
invocation doesn't fail, manually repeating it without settingLD_LIBRARY_PATH
does and gives the same error.Bootstrap configuration (config.toml)
somewhat reduced from the actual config used during a Debian package build (this is the one I used to bisect/reproduce the issue from git):
Operating system
Debian unstable (sid) with rustc 1.84.0 as packaged, but see above
HEAD
Additional context
while the problem surfaced as part of the (modified) Debian package build, it is reproducible using the config and command given above on a stock git clone.
Build Log
master.log
The text was updated successfully, but these errors were encountered: