You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sh test.sh
/var/tmp/portage/dev-lang/rust-1.34.2/image/usr/lib/rust-1.34.2/rustlib/i686-unknown-linux-gnu/lib/libLLVM-8-rust-1.34.2-stable.so
/var/tmp/portage/dev-lang/rust-1.34.2/image/usr/lib/rust-1.34.2/rust-1.34.2/rustlib/i686-unknown-linux-gnu/codegen-backends/librustc_codegen_llvm-llvm.so
/var/tmp/portage/dev-lang/rust-1.34.2/image/usr/lib/rust-1.34.2/libsyntax_pos-3b2f33a4aab1c362.so
so the resulting codegen-backends gets installed into /usr/lib/rust-1.34.2/rust-1.34.2
it can't be observed on x86_64 hosts because installer replaces lib/, not for lib64/
this breaks rustc as it can't find librustc_codegen_llvm-llvm.so until it's moved to proper location.
The text was updated successfully, but these errors were encountered:
if someone passes
libdir = "lib/rust-1.x.x"
via config.tomlinstall.sh misplaces codegen-backends directory
this code here at fault:
rust-installer/install-template.sh
Lines 573 to 578 in 5afc008
imagine this scenario
part of config.toml
DESTDIR=/var/tmp/portage/dev-lang/rust-1.34.2/image ./x.py install
install.sh gets
"--libdir=/var/tmp/portage/dev-lang/rust-1.34.2/image/usr/lib/rust-1.34.2"
as one of args.minimal reproducer
so the resulting
codegen-backends
gets installed into/usr/lib/rust-1.34.2/rust-1.34.2
it can't be observed on x86_64 hosts because installer replaces
lib/
, not forlib64/
this breaks rustc as it can't find
librustc_codegen_llvm-llvm.so
until it's moved to proper location.The text was updated successfully, but these errors were encountered: