Changeset 2df066c9 for chapter08/stripping.xml
- Timestamp:
- 09/15/2023 10:54:55 AM (10 months ago)
- Branches:
- xry111/clfs-ng
- Children:
- 7546d8b
- Parents:
- d58da4b (diff), ba40e32 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/stripping.xml
rd58da4b r2df066c9 30 30 dynamically linked binaries and shared libraries).</para> 31 31 32 <para>The debugging symbols from selected libraries are preserved 33 in separate files. That debugging information is needed to run 34 regression tests with <ulink 32 <!-- TODO: Zstd is better than Zlib for both speed and size. 33 Unfortunately Valgrind does not support Zstd-compressed debug 34 info yet: https://bugs.kde.org/show_bug.cgi?id=469782 --> 35 <para>The debugging symbols from selected libraries are compressed with 36 <application>Zlib</application> and preserved in separate files. That 37 debugging information is needed to run regression tests with <ulink 35 38 url='&blfs-book;/general/valgrind.html'>valgrind</ulink> or <ulink 36 39 url='&blfs-book;/general/gdb.html'>gdb</ulink> later, in BLFS. … … 79 82 80 83 for LIB in $save_usrlib; do 81 objcopy --only-keep-debug $LIB $LIB.dbg84 objcopy --only-keep-debug --compress-debug-sections=zlib $LIB $LIB.dbg 82 85 cp $LIB /tmp/$LIB 83 86 strip --strip-unneeded /tmp/$LIB … … 89 92 online_usrbin="bash find strip" 90 93 online_usrlib="libbfd-&binutils-version;.so 91 libsframe.so. 0.0.094 libsframe.so.&libsframe-version; 92 95 libhistory.so.&readline-soversion; 93 96 libncursesw.so.&ncurses-version; … … 95 98 libreadline.so.&readline-soversion; 96 99 libz.so.&zlib-version; 100 libzstd.so.&zstd-version; 97 101 $(cd /usr/lib; find libnss*.so* -type f)" 98 102
Note:
See TracChangeset
for help on using the changeset viewer.