#21388 closed enhancement (fixed)

rustc-1.86.0

Reported by: zeckma Owned by: Xi Ruoyao
Priority: normal Milestone: 12.4
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (7)

comment:1 by zeckma, 10 months 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 10 months ago by zeckma (previous) (diff)

comment:2 by Bruce Dubbs, 10 months ago

comment:3 by zeckma, 10 months 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, 10 months 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.

comment:5 by Xi Ruoyao, 10 months ago

Owner: changed from blfs-book to Xi Ruoyao
Status: newassigned

comment:7 by Xi Ruoyao, 10 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.