[lfs] 02/02: binutils: add --with-lib-path

git Owner ([email protected] via lfs-book Mailing List) <[email protected]> Sat, 01 Aug 2026 08:01:37 +0000
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1785571303-1024790-7132
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

commit e981d9b10fed9161ec39de9be26476511bbf3fe5
Author: Xi Ruoyao <[email protected]>
AuthorDate: Sat Aug 1 16:00:35 2026 +0800

    binutils: add --with-lib-path
    
    Helps to prevent the lib64 puzzle that happened several times.  Also
    simplifies the sanity check output in glibc.
---
 chapter08/gcc.xml | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml
index 289564979..3c4f38193 100644
--- a/chapter08/gcc.xml
+++ b/chapter08/gcc.xml
@@ -316,13 +316,8 @@ readelf -l a.out | grep ': /lib'</userinput></screen>
   be ignored, but otherwise the output of the last command should be:</para>
 
 <screen><computeroutput>SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib64")
-SEARCH_DIR("/usr/local/lib64")
-SEARCH_DIR("/lib64")
-SEARCH_DIR("/usr/lib64")
-SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib")
-SEARCH_DIR("/usr/local/lib")
-SEARCH_DIR("/lib")
-SEARCH_DIR("/usr/lib");</computeroutput></screen>
+SEARCH_DIR("/usr/lib");
+SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib")</computeroutput></screen>
 
    <para>A 32-bit system may use a few other directories. For example, here
    is the output from an i686 machine:</para>

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

------------=_1785571303-1024790-7132
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page

------------=_1785571303-1024790-7132--