Opened 10 days ago

Last modified 8 hours ago

#21388 new enhancement

rustc-1.86.0

Reported by: zeckma Owned by: blfs-book
Priority: normal Milestone: 12.4
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (4)

comment:1 by zeckma, 9 days ago

I've been testing this. Seems like the patch is no longer necessary. Every hunk fails and files that would be created already exists. However, a problem emerges after stage0 artifacts are built, as the build system at the start of the sysroot stage1 step attempts to configure and build LLVM lld. The build process fails.

This potentially seems related: https://github.com/rust-lang/rust/commit/ab5446c9923090d5ebe33aeea559d9c9fa05a1ad

I will try to use use-lld = "self-contained", or another value, and see if this makes any difference.

Last edited 9 days ago by zeckma (previous) (diff)

comment:2 by Bruce Dubbs, 9 days ago

comment:3 by zeckma, 9 days ago

It appears that we need lld = false under [rust], or else the build system will try to build lld when it is not present on the system, which isn't built in BLFS LLVM.

comment:4 by Xi Ruoyao, 8 hours ago

Note that a libc.a stripped with strip --strip-unneeded (as what the LFS book does) causes static-linked Rust programs to crash on startup, leading to multiple test failures. We are still investigating if this is a bug in *something* (maybe glibc, rust, or binutils) or we should just change the stripping instruction.

Note: See TracTickets for help on using tickets.