Ignore:
Timestamp:
07/26/2021 01:10:18 AM (12 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, arm, ml-11.0, multilib, trunk, xry111/clfs-ng, xry111/glibc-2.34, xry111/lfs-next
Children:
3388c22, de28837
Parents:
ff5c009
Message:

Package updates and stripping fixes
Add workaround to strip libraries correctly.
Update to shadow-4.9.
Update to util-linux 2.37.1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/strippingagain.xml

    rff5c009 rff96923  
    3535<!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"-->
    3636<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;
     37             libquadmath.so.&libquadmath-version; libstdc++.so.&libstdcpp-version; libz.so.&zlib-version;
    3838             libitm.so.&libitm-version; libatomic.so.&libatomic-version;" <!-- libcilkrts.so.&libcilkrts-version;-->
    3939
     
    4242for LIB in $save_usrlib; do
    4343    objcopy --only-keep-debug $LIB $LIB.dbg
    44     strip --strip-unneeded $LIB
    45     objcopy --add-gnu-debuglink=$LIB.dbg $LIB
     44    cp $LIB /tmp/$LIB
     45    strip --strip-unneeded /tmp/$LIB
     46    objcopy --add-gnu-debuglink=$LIB.dbg /tmp/$LIB
     47    install -vm755 /tmp/$LIB /usr/lib
     48    rm /tmp/$LIB
    4649done
    4750
     
    5962   -exec strip --strip-debug {} ';'
    6063
    61 find /usr/lib -type f -name \*.so* ! -name \*dbg \
     64find /usr/lib -type f -name \*.so* ! -name \*dbg ! -name libz.so* \
    6265   -exec strip --strip-unneeded {} ';'
    6366
Note: See TracChangeset for help on using the changeset viewer.