[lfs] branch trunk updated: ch05 glibc: use $LFS_TGT-readelf instead of readelf

git Owner ([email protected] via lfs-book Mailing List) <[email protected]> Sat, 25 Jul 2026 08:15:14 +0000
Newsgroups gmane.linux.lfs.book
Message-ID <178496731453.3248353.10815724966449512893@rivendell.linuxfromscratch.org>
This is a multi-part message in MIME format...

------------=_1784967320-1024790-5840
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.

The following commit(s) were added to refs/heads/trunk by this push:
     new 10730764e ch05 glibc: use $LFS_TGT-readelf instead of readelf
10730764e is described below

commit 10730764e41103e378f0c16afae0ad596ef93787
Author: Xi Ruoyao <[email protected]>
AuthorDate: Sat Jul 25 16:01:36 2026 +0800

    ch05 glibc: use $LFS_TGT-readelf instead of readelf
    
    Technically a binary built with the cross tools for $LFS_TGT should
    always be inspected with such a cross tools as well.
---
 chapter05/glibc.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index a13e6d423..d42fa2fe2 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -202,7 +202,7 @@ cd       build</userinput></screen>
     some sanity checks:</para>
 
 <screen><userinput>echo 'int main(){}' | $LFS_TGT-gcc -x c - -v -Wl,--verbose &amp;&gt; dummy.log
-readelf -l a.out | grep ': /lib'</userinput></screen>
+$LFS_TGT-readelf -l a.out | grep ': /lib'</userinput></screen>
 
   <para>There should be no errors,
   and the output of the last command will be (allowing for

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

------------=_1784967320-1024790-5840
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

------------=_1784967320-1024790-5840--