mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-02-07 06:41:59 +00:00
stripping, chapter 8: prevent stripping ld-*.dbg
With the construct used in save_usrlib, if ld-linux-...dbg already exists, it is stripped again and a file ld-linux-...dbg.dbg is created. Prevent this by not listing files ending in "g".
This commit is contained in:
parent
07b9641cac
commit
8731bd1cd0
@ -42,12 +42,14 @@
|
|||||||
|
|
||||||
<note><para>The ELF loader's name is ld-linux-x86-64.so.2 on 64-bit systems
|
<note><para>The ELF loader's name is ld-linux-x86-64.so.2 on 64-bit systems
|
||||||
and ld-linux.so.2 on 32-bit systems. The construct below selects the
|
and ld-linux.so.2 on 32-bit systems. The construct below selects the
|
||||||
correct name for the current architecture.</para></note>
|
correct name for the current architecture, excluding anything ending
|
||||||
|
with <quote>g</quote>, in case the commands below have already been
|
||||||
|
run.</para></note>
|
||||||
|
|
||||||
<!-- also of interest are libgfortan, libgo, libgomp, and libobjc from GCC -->
|
<!-- also of interest are libgfortan, libgo, libgomp, and libobjc from GCC -->
|
||||||
|
|
||||||
<!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"-->
|
<!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"-->
|
||||||
<screen><userinput>save_usrlib="$(cd /usr/lib; ls ld-linux*)
|
<screen><userinput>save_usrlib="$(cd /usr/lib; ls ld-linux*[^g])
|
||||||
libc.so.6
|
libc.so.6
|
||||||
libthread_db.so.1
|
libthread_db.so.1
|
||||||
libquadmath.so.&libquadmath-version;
|
libquadmath.so.&libquadmath-version;
|
||||||
|
Loading…
Reference in New Issue
Block a user