From 5112b5ee91ab704f654aa7df923419b51cd54d26 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 4 Feb 2025 13:36:03 +0800 Subject: [PATCH] glibc: upgrade: Note that "fixed" headers may need to be removed --- chapter08/glibc.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index 959c21038..14f0f5a66 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -317,6 +317,15 @@ install -vm755 dest/usr/lib/*.so.* /usr/lib the locales. Once they are finished, reboot the system immediately. + + + When the system has successfully rebooted, if you are running + a LFS system prior to 12.0 (exclusive) where GCC was not built + with the --disable-fixincludes option, + remove the stale fixed copies of the Glibc headers: + + + rm -rfv $(dirname $(gcc -print-libgcc-file-name))/include-fixed/* Install the package: