Ignore:
Timestamp:
05/12/2021 04:24:11 AM (3 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
5ed37b3, c034573, df462a9
Parents:
0f7d4cb
Message:

Merge Xi's changes into trunk
Update to meson-0.58.0
Update to systemd-248
Update to gcc-11.1.0
Update to linux-5.12.1
Update to iproute2-5.12.0
Update to Python-3.9.5
Make /bin, /sbin, and /lib symlinks to their counterparts in /usr.
Thanks again for a significant portion of this work goes to Xi, I only
really merged it and made a couple of modifications for my updates. To
LFS 11.x we go!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/strippingagain.xml

    r0f7d4cb rd7a9421  
    3434
    3535<!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"-->
    36 <screen><userinput>save_lib="ld-&glibc-version;.so libc-&glibc-version;.so libpthread-&glibc-version;.so libthread_db-&libthread_db-version;.so"
    37 
    38 cd /lib
    39 
    40 for LIB in $save_lib; do
    41     objcopy --only-keep-debug $LIB $LIB.dbg
    42     strip --strip-unneeded $LIB
    43     objcopy --add-gnu-debuglink=$LIB.dbg $LIB
    44 done   
    45 
    46 save_usrlib="libquadmath.so.&libquadmath-version; libstdc++.so.&libstdcpp-version;
     36<screen><userinput>save_usrlib="ld-&glibc-version;.so libc-&glibc-version;.so libpthread-&glibc-version;.so libthread_db-&libthread_db-version;.so
     37             libquadmath.so.&libquadmath-version; libstdc++.so.&libstdcpp-version;
    4738             libitm.so.&libitm-version; libatomic.so.&libatomic-version;" <!-- libcilkrts.so.&libcilkrts-version;-->
    4839
     
    5546done
    5647
    57 unset LIB save_lib save_usrlib</userinput></screen>
     48unset LIB save_usrlib</userinput></screen>
    5849
    5950<!--  <para>Before performing the stripping, take special care to ensure that
     
    6859   -exec strip --strip-debug {} ';'
    6960
    70 find /lib /usr/lib -type f -name \*.so* ! -name \*dbg \
     61find /usr/lib -type f -name \*.so* ! -name \*dbg \
    7162   -exec strip --strip-unneeded {} ';'
    7263
    73 find /{bin,sbin} /usr/{bin,sbin,libexec} -type f \
     64find /usr/{bin,sbin,libexec} -type f \
    7465    -exec strip --strip-all {} ';'</userinput></screen>
    7566
Note: See TracChangeset for help on using the changeset viewer.