- Timestamp:
- 09/13/2023 10:30:12 PM (13 months ago)
- Branches:
- multilib, xry111/multilib
- Children:
- dc39c7b
- Parents:
- b0c238ac (diff), b91b12a (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. - Location:
- chapter08
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/glibc.xml
rb0c238ac rea6fdf5 55 55 56 56 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-memalign-patch;</userinput></screen> 57 58 <!-- CVE-2023-4527 59 https://sourceware.org/bugzilla/show_bug.cgi?id=30842 60 https://sourceware.org/ml/libc-alpha/2023-September/151522.html --> 61 <para>Then fix a security vulnerability exploitable when the 62 <option>no-aaaa</option> option is used in 63 <filename>/etc/resolv.conf</filename>:</para> 64 65 <screen><userinput remap="pre">sed \ 66 -E "/__res_context_search/\ 67 {N;N;s/(search \(([^,]*,){6}[^,]*)NULL/\1\&alt_dns_packet_buffer/}" \ 68 -i resolv/nss_dns/dns-host.c</userinput></screen> 57 69 58 70 <para>The Glibc documentation recommends building Glibc -
chapter08/stripping.xml
rb0c238ac rea6fdf5 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. … … 78 81 cd /usr/lib 79 82 for LIB in $save_usrlib; do 80 objcopy --only-keep-debug $LIB $LIB.dbg83 objcopy --only-keep-debug --compress-debug-sections=zlib $LIB $LIB.dbg 81 84 cp $LIB /tmp/$LIB 82 85 strip --strip-unneeded /tmp/$LIB
Note:
See TracChangeset
for help on using the changeset viewer.