Author: robert
Date: 2006-11-27 03:28:41 -0700 (Mon, 27 Nov 2006)
New Revision: 898
Modified:
branches/2.4-branch/BOOK/chapter01/changelog.xml
branches/2.4-branch/BOOK/chapter06/glibc.xml
branches/2.4-branch/BOOK/general.ent
Log:
Added more notes about test suite in Glibc chap6
Modified: branches/2.4-branch/BOOK/chapter01/changelog.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter01/changelog.xml 2006-11-26 22:30:47 UTC
(rev 897)
+++ branches/2.4-branch/BOOK/chapter01/changelog.xml 2006-11-27 10:28:41 UTC
(rev 898)
@@ -109,6 +109,9 @@
</listitem>
-->
+<listitem><para>November 27th, 2005 [Robert]: Added more notes about test suite
+results in Glibc chap6.</para></listitem>
+
<listitem><para>November 26th, 2005 [Robert]: Removed Udev.</para></listitem>
<listitem><para>November 26th, 2005 [Robert]: Added MAKEDEV-1.7, and edited
devices.xml
Modified: branches/2.4-branch/BOOK/chapter06/glibc.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter06/glibc.xml 2006-11-26 22:30:47 UTC
(rev 897)
+++ branches/2.4-branch/BOOK/chapter06/glibc.xml 2006-11-27 10:28:41 UTC
(rev 898)
@@ -45,8 +45,8 @@
<screen><userinput>tar xvf
../glibc-linuxthreads-&glibc-version;.tar.bz2</userinput></screen>
- <para>The glibc-libidn tarball adds support for internationalized domain
- names (IDN) to Glibc. Many programs that support IDN require the full
+ <para>The glibc-libidn tarball adds support for Internationalized Domain
+ Names (IDN) to Glibc. Many programs that support IDN require the full
<filename class="libraryfile">libidn</filename> library, not this add-on
(see
<ulink url="&blfs-root;view/svn/general/libidn.html"/>).
Unpack the tarball from within the Glibc source directory:</para>
@@ -115,7 +115,7 @@
LDFLAGS-tst-cancelx10 += -nopie
LDFLAGS-tst-cancelx18 += -nopie' >> nptl/Makefile
-echo 'LDFLAGS-order += -nopie' >> elf/Makefile
+echo 'LDFLAGS-order += -nopie' >> elf/Makefile
sed 's/LDFLAGS-default =/& -nopie/' -i.orig
dlfcn/Makefile</userinput></screen>
@@ -143,15 +143,65 @@
<screen><userinput>make</userinput></screen>
+ <para>The Linux Threads port is no longer supported by Glibc, and neither
+ are the test suites. We need to include <filename>stdlib.h</filename> in a
+ few tests so they will build without errors. The following command will
+ add <filename>stdlib.h</filename> after <filename>stdio.h</filename> is
+ included:</para>
+
+<screen><userinput>sed 's/#include <stdio.h>/&\n#include
<stdlib.h>/' \
+ -i.orig
libio/{bug-memstream1,bug-wmemstream1,tst-memstream{1,2}}.c</userinput></screen>
+
<para>To test the results, issue:</para>
<screen><userinput>make LDFLAGS="-nonow" -k check 2>&1 \
| tee glibc-check-log ; grep Error glibc-check-log</userinput></screen>
- <para>BUG: Other than <quote>posix/annexc.out (ignored)</quote>, the only
- testsuite failure should be <quote>stdlib/isomac.out</quote>. This should
be
- fixed soon.</para>
+ <para>You will probably see an expected (ignored) failure in the
+ <emphasis>posix/annexc</emphasis> test. In addition the Glibc test suite
+ is somewhat dependent on the host system's kernel. This is a list of the
+ most common issues:</para>
+ <itemizedlist>
+ <listitem>
+ <para>The <emphasis>tst-aio9</emphasis> and
<emphasis>rt/tst-aio10</emphasis>
+ tests will fail because with Linux Threads the lio_listio() function
+ uses pthread_cond_wait(), which does not stop and return EINTR when
+ a signal is raised. This is expected behaviour with Linux
Threads.</para>
+ </listitem>
+ <listitem>
+ <para>The <emphasis>elf/check-localplt</emphasis> and
+ <emphasis>c++-types-check</emphasis> tests will fail with Linux
+ Threads because binary symbols do not match what is expected when
+ using Native Posix Linux Threads (NPTL).</para>
+ </listitem>
+ <listitem>
+ <para>The <emphasis>nptl/tst-clock2</emphasis> and
+ <emphasis>tst-attr3</emphasis> tests sometimes
+ fail. The reason is not completely understood, but indications
+ are that a heavy system load can trigger these failures.</para>
+ </listitem>
+ <listitem>
+ <para>The math tests sometimes fail when running on
+ systems where the CPU is not a relatively new genuine Intel or
+ authentic AMD processor.</para>
+ </listitem>
+ <listitem>
+ <para>If you have mounted the HLFS partition with the
+ <parameter>noatime</parameter> option, the <emphasis>atime</emphasis>
+ test will fail. As mentioned in <xref linkend="prepare-mounting"/>, do
not
+ use the <parameter>noatime</parameter> option while building
HLFS.</para>
+ </listitem>
+ <listitem>
+ <para>When running on older and slower hardware or on systems under
+ load, some tests can fail because of test timeouts being
exceeded.</para>
+ </listitem>
+ </itemizedlist>
+
+ <para>BUG: The <emphasis>stdlib/isomac.out</emphasis> test failure is
+ caused by the hardened GCC options. This should be resolved before the
+ stable HLFS book release.</para>
+
<para>You can also run <command>make check-abi</command> if you like. This
checks ELF dynamic symbol tables against expected values. See:
<ulink url="http://sourceware.org/ml/libc-hacker/2002-12/msg00048.html"/>.
@@ -203,7 +253,7 @@
localedef -i it_IT -f ISO-8859-1 it_IT
localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
-</sect2>
+ </sect2>
<sect2 id="conf-glibc" role="configuration"><title>Configuring Glibc</title>
<indexterm zone="conf-glibc"><primary
sortas="e-/etc/nsswitch.conf">/etc/nsswitch.conf</primary></indexterm>
@@ -386,81 +436,100 @@
</listitem>
</varlistentry>
-<varlistentry id="ldconfig">
-<term><command>ldconfig</command></term>
-<listitem>
-<para>Configures the dynamic linker runtime bindings</para>
-<indexterm zone="ch-system-glibc ldconfig"><primary
sortas="b-ldconfig">ldconfig</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="ldconfig">
+ <term><command>ldconfig</command></term>
+ <listitem>
+ <para>Configures the dynamic linker runtime bindings</para>
+ <indexterm zone="ch-system-glibc ldconfig">
+ <primary sortas="b-ldconfig">ldconfig</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="ldd">
-<term><command>ldd</command></term>
-<listitem>
-<para>Reports which shared libraries are required
-by each given program or shared library</para>
-<indexterm zone="ch-system-glibc ldd"><primary
sortas="b-ldd">ldd</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="ldd">
+ <term><command>ldd</command></term>
+ <listitem>
+ <para>Reports which shared libraries are required
+ by each given program or shared library</para>
+ <indexterm zone="ch-system-glibc ldd">
+ <primary sortas="b-ldd">ldd</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="lddlibc4">
-<term><command>lddlibc4</command></term>
-<listitem>
-<para>Assists <command>ldd</command> with object files</para>
-<indexterm zone="ch-system-glibc lddlibc4"><primary
sortas="b-lddlibc4">lddlibc4</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="lddlibc4">
+ <term><command>lddlibc4</command></term>
+ <listitem>
+ <para>Assists <command>ldd</command> with object files</para>
+ <indexterm zone="ch-system-glibc lddlibc4">
+ <primary sortas="b-lddlibc4">lddlibc4</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="locale">
-<term><command>locale</command></term>
-<listitem>
-<para>Tells the compiler to enable or disable the use of POSIX locales
-for built-in operations</para>
-<indexterm zone="ch-system-glibc locale"><primary
sortas="b-locale">locale</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="locale">
+ <term><command>locale</command></term>
+ <listitem>
+ <para>Tells the compiler to enable or disable the use of
+ POSIX locales for built-in operations</para>
+ <indexterm zone="ch-system-glibc locale">
+ <primary sortas="b-locale">locale</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="localedef">
-<term><command>localedef</command></term>
-<listitem>
-<para>Compiles locale specifications</para>
-<indexterm zone="ch-system-glibc localedef"><primary
sortas="b-localedef">localedef</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="localedef">
+ <term><command>localedef</command></term>
+ <listitem>
+ <para>Compiles locale specifications</para>
+ <indexterm zone="ch-system-glibc localedef">
+ <primary sortas="b-localedef">localedef</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="mtrace">
-<term><command>mtrace</command></term>
-<listitem>
-<para>Reads and interprets a memory trace file and
-ouputs a summary in human-readable format</para>
-<indexterm zone="ch-system-glibc mtrace"><primary
sortas="b-mtrace">mtrace</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="mtrace">
+ <term><command>mtrace</command></term>
+ <listitem>
+ <para>Reads and interprets a memory trace file and
+ ouputs a summary in human-readable format</para>
+ <indexterm zone="ch-system-glibc mtrace">
+ <primary sortas="b-mtrace">mtrace</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="nscd">
-<term><command>nscd</command></term>
-<listitem>
-<para>A daemon that provides a cache for the most common name
-service requests</para>
-<indexterm zone="ch-system-glibc nscd"><primary
sortas="b-nscd">nscd</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="nscd">
+ <term><command>nscd</command></term>
+ <listitem>
+ <para>A daemon that provides a cache for the most common
+ name service requests</para>
+ <indexterm zone="ch-system-glibc nscd">
+ <primary sortas="b-nscd">nscd</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="nscd_nischeck">
-<term><command>nscd_nischeck</command></term>
-<listitem>
-<para>Checks whether or not secure mode is necessary for NIS+ lookup</para>
-<indexterm zone="ch-system-glibc nscd_nischeck"><primary
sortas="b-nscd_nischeck">nscd_nischeck</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="nscd_nischeck">
+ <term><command>nscd_nischeck</command></term>
+ <listitem>
+ <para>Checks whether or not secure mode is necessary
+ for NIS+ lookup</para>
+ <indexterm zone="ch-system-glibc nscd_nischeck">
+ <primary sortas="b-nscd_nischeck">nscd_nischeck</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="pcprofiledump">
-<term><command>pcprofiledump</command></term>
-<listitem>
-<para>Dumps information generated by PC profiling</para>
-<indexterm zone="ch-system-glibc pcprofiledump"><primary
sortas="b-pcprofiledump">pcprofiledump</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="pcprofiledump">
+ <term><command>pcprofiledump</command></term>
+ <listitem>
+ <para>Dumps information generated by PC profiling</para>
+ <indexterm zone="ch-system-glibc pcprofiledump">
+ <primary sortas="b-pcprofiledump">pcprofiledump</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
<varlistentry id="pt_chown">
<term><command>pt_chown</command></term>
Modified: branches/2.4-branch/BOOK/general.ent
===================================================================
--- branches/2.4-branch/BOOK/general.ent 2006-11-26 22:30:47 UTC (rev
897)
+++ branches/2.4-branch/BOOK/general.ent 2006-11-27 10:28:41 UTC (rev
898)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "2.4-branch-20061126">
-<!ENTITY releasedate "November 26th, 2006">
+<!ENTITY version "2.4-branch-20061127">
+<!ENTITY releasedate "November 27th, 2006">
<!ENTITY milestone "1.0">
<!ENTITY lfs-root "http://www.linuxfromscratch.org/">
--
http://linuxfromscratch.org/mailman/listinfo/hlfs-book
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page