Add patch to fix glibc occasional crash with problem nameservers

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9965 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2012-08-27 22:31:00 +00:00
parent 4a5a10855a
commit 8d2a1f4c95
5 changed files with 26 additions and 3 deletions

View File

@ -40,11 +40,13 @@
<para>2012-08-27</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Add instructions to Chapter 5 glibc
to add rpc headers to the host system if they are missing.</para>
<para>[bdubbs] - Add patch to fix glibc occasional crash
with problem nameservers. Fixes
<ulink url="&lfs-ticket-root;3172">#3172</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Apply upstream patches to make.</para>
<para>[bdubbs] - Add instructions to Chapter 5 glibc
to add rpc headers to the host system if they are missing.</para>
</listitem>
</itemizedlist>
</listitem>

View File

@ -235,6 +235,10 @@
<para>&flex-bison-patch;</para>
</listitem>
<listitem>
<para>&glibc-fix-resolv-patch;</para>
</listitem>
<listitem>
<para>&kbd-fixes-patch;</para>
</listitem>

View File

@ -58,6 +58,14 @@
</listitem>
</varlistentry>
<varlistentry>
<term>Glibc DNS Resolve Patch - <token>&glibc-fix-resolv-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&patches-root;&glibc-fix-resolv-patch;"/></para>
<para>MD5 sum: <literal>&glibc-fix-resolv-patch-md5;</literal></para>
</listitem>
</varlistentry>
<!--
<varlistentry>
<term>GRUB Disk Geometry Patch - <token>&grub-geometry-patch-size;</token>:</term>

View File

@ -103,6 +103,11 @@ unset DL</userinput></screen>-->
<screen><userinput remap="pre">sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in</userinput></screen>
<para>Now fix a problem that causes some applications to crash when
utilizing problem nameservers:</para>
<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fix-resolv-patch;</userinput></screen>
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>

View File

@ -34,6 +34,10 @@
<!ENTITY gcc-startfiles-patch-md5 "799ef1971350d2e3c794f2123f247cc6">
<!ENTITY gcc-startfiles-patch-size "1.5 KB">
<!ENTITY glibc-fix-resolv-patch "glibc-&glibc-version;-res_query_fix-1.patch">
<!ENTITY glibc-fix-resolv-patch-md5 "d37659c643b1a2150624120238e5b295">
<!ENTITY glibc-fix-resolv-patch-size "2.0 KB">
<!ENTITY grub-inode-patch "grub-&grub-version;-256byte_inode-1.patch">
<!ENTITY grub-inode-patch-md5 "2482bef9c1866b4045767a56268ba673">