diff --git a/chapter08/stripping.xml b/chapter08/stripping.xml index 2839cfda7..b1f88f33a 100644 --- a/chapter08/stripping.xml +++ b/chapter08/stripping.xml @@ -34,11 +34,8 @@ After stripping with --strip-debug it is 5.9 MB. Using --strip-unneeded only reduces the size further to only 5.8 MB. - The debugging symbols from selected libraries are compressed with - Zlib and preserved in separate files. That + Zstd and preserved in separate files. That debugging information is needed to run regression tests with valgrind or gdb later, in BLFS. @@ -86,7 +83,7 @@ cd /usr/lib for LIB in $save_usrlib; do - objcopy --only-keep-debug --compress-debug-sections=zlib $LIB $LIB.dbg + objcopy --only-keep-debug --compress-debug-sections=zstd $LIB $LIB.dbg cp $LIB /tmp/$LIB strip --strip-debug /tmp/$LIB objcopy --add-gnu-debuglink=$LIB.dbg /tmp/$LIB