[lfs] branch trunk updated: glibc: upgrade: Note that "fixed" headers may need to be removed

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <173864741427.22185.13686928830533499373@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new 5112b5ee9 glibc: upgrade: Note that "fixed" headers may need to be removed
5112b5ee9 is described below

commit 5112b5ee91ab704f654aa7df923419b51cd54d26
Author: Xi Ruoyao <[email protected]>
AuthorDate: Tue Feb 4 13:36:03 2025 +0800

    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</userinput></screen>
         the locales.  Once they are finished, reboot the system
         immediately.
       </para>
+
+      <para>
+        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 <parameter>--disable-fixincludes</parameter> option,
+        remove the stale <quote>fixed</quote> copies of the Glibc headers:
+      </para>
+
+      <screen role='nodump'><userinput>rm -rfv $(dirname $(gcc -print-libgcc-file-name))/include-fixed/*</userinput></screen>
     </important>
 
     <para>Install the package:</para>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.