Changeset ff96923 for chapter08/strippingagain.xml
- Timestamp:
- 07/26/2021 01:10:18 AM (3 years ago)
- 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:
- 3388c22, de28837
- Parents:
- ff5c009
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/strippingagain.xml
rff5c009 rff96923 35 35 <!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"--> 36 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; 37 libquadmath.so.&libquadmath-version; libstdc++.so.&libstdcpp-version; libz.so.&zlib-version; 38 38 libitm.so.&libitm-version; libatomic.so.&libatomic-version;" <!-- libcilkrts.so.&libcilkrts-version;--> 39 39 … … 42 42 for LIB in $save_usrlib; do 43 43 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 46 49 done 47 50 … … 59 62 -exec strip --strip-debug {} ';' 60 63 61 find /usr/lib -type f -name \*.so* ! -name \*dbg \64 find /usr/lib -type f -name \*.so* ! -name \*dbg ! -name libz.so* \ 62 65 -exec strip --strip-unneeded {} ';' 63 66
Note:
See TracChangeset
for help on using the changeset viewer.