aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc.xml
diff options
context:
space:
mode:
authorDouglas R. Reno <renodr@linuxfromscratch.org>2015-08-19 20:20:02 +0000
committerDouglas R. Reno <renodr@linuxfromscratch.org>2015-08-19 20:20:02 +0000
commitf77b95fb3fbd54a9f007f00c86b6cda25f8f373c (patch)
tree0808605daa54d8e5c0a2701916e21f2b08174668 /chapter06/glibc.xml
parent9f3a0fffb18c607b8e098bdc02ad1a17f6fd1e52 (diff)
Update to binutils-2.25.1
Update to check-0.10.0 Update to procps-ng-3.3.11 Update to man-pages-4.02 Update to glibc-2.22 Update to linux-4.1.5 Update to tzdata2015f XML Cleanups Add a workaround for ncurses in Chapter 5 to not use mawk if found Document some test suite failures git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd@10940 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r--chapter06/glibc.xml33
1 files changed, 11 insertions, 22 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 6663d3ea1..f1c1a68d1 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -53,14 +53,12 @@
an <function>iconv()</function> implementation and can convert from/to
Unicode, therefore libiconv is not required on an LFS system.</para>
</note>
-
<para>Some of the Glibc programs use non-FHS compilant
<filename class="directory">/var/db</filename> directory to store
their runtime data. Apply the following patch to make such programs
store their runtime data in the FHS-compliant locations:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
-
+
+<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
<para>The Glibc build system is self-contained and will install
perfectly, even though the compiler specs file and linker are still
pointing at <filename class="directory">/tools</filename>. The specs
@@ -68,22 +66,6 @@
Glibc autoconf tests would give false results and defeat the goal
of achieving a clean build.</para>
- <para>Fix a regression in the package that affects 32-bit architectures:</para>
-
-<screen><userinput remap="pre">sed -e '/ia32/s/^/1:/' \
- -e '/SSE2/s/^1://' \
- -i sysdeps/i386/i686/multiarch/mempcpy_chk.S</userinput></screen>
-
- <para>Fix a potential security issue identified upstream:</para>
-
-<screen><userinput remap="pre">sed -i '/glibc.*pad/{i\ buflen = buflen > pad ? buflen - pad : 0;
- s/ + pad//}' resolv/nss_dns/dns-host.c</userinput></screen>
-
- <para>Fix a test case that fails when built using GCC 5:</para>
-
-<screen><userinput remap="pre">sed -e '/tst-audit2-ENV/i CFLAGS-tst-audit2.c += -fno-builtin' \
- -i elf/Makefile</userinput></screen>
-
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>
@@ -119,8 +101,9 @@ cd ../glibc-build</userinput></screen>
<itemizedlist>
<listitem>
- <para>posix/tst-getaddrinfo4 will always fail
- due to not having a network connection when the tests are run.</para>
+ <para><emphasis>posix/tst-getaddrinfo4</emphasis> will always fail
+ due to not having the necessary network applications when the tests are
+ run.</para>
</listitem>
<listitem>
@@ -151,6 +134,12 @@ cd ../glibc-build</userinput></screen>
</listitem>
-->
<listitem>
+ <para>The <emphasis>elf/tst-protected1a</emphasis> and
+ <emphasis>elf/tst-protected1a</emphasis> tests are known to
+ fail with the current stable version of binutils.</para>
+ </listitem>
+
+ <listitem>
<para>Other tests known to fail on some architectures are
malloc/tst-malloc-usable and nptl/tst-cleanupx4. </para>
</listitem>