Ignore:
Timestamp:
05/03/2017 09:28:38 PM (7 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
427a460
Parents:
22c4f87
Message:

Fix a problem with glibc tests and add some explanations to i
the configure options.

Add a command to touch /root/.vimrc so that the default vim
options don't override those in /etc/vimrc.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11240 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/glibc.xml

    r22c4f87 r5897639  
    7979
    8080<screen><userinput remap="configure">../configure --prefix=/usr                   \
     81             --disable-werror                \
    8182             --enable-kernel=&min-kernel;          \
    8283             --enable-obsolete-rpc           \
     
    8485             libc_cv_slibdir=/lib</userinput></screen>
    8586
     87   <variablelist>
     88      <title>The meaning of the new configure options:</title>
     89
     90      <varlistentry>
     91        <term><parameter>--disable-werror</parameter></term>
     92        <listitem>
     93          <para>This option disables the -Werror option passed to
     94          GCC.  This is necessary for running the test suite.</para>
     95        </listitem>
     96      </varlistentry>
     97
     98      <varlistentry>
     99        <term><parameter>--enable-obsolete-rpc</parameter></term>
     100        <listitem>
     101          <para>This option builds older RPC code for use with
     102          network file system utilities (nfs).</para>
     103        </listitem>
     104      </varlistentry>
     105
     106      <varlistentry>
     107        <term><parameter>--enable-stack-protector=strong</parameter></term>
     108        <listitem>
     109          <para>This option increases system security by adding  a known canary
     110          (a random integer) to the stack during a function preamble, and checks
     111          it when the function returns. If it changed, there was a stack
     112          overflow, and the program aborts.</para>
     113        </listitem>
     114      </varlistentry>
     115
     116      <varlistentry>
     117        <term><parameter>libc_cv_slibdir=/lib</parameter></term>
     118        <listitem>
     119          <para>This variable sets the correct library for all
     120          systems.  We do not want lib64 to be used.</para>
     121        </listitem>
     122      </varlistentry>
     123
     124    </variablelist>
     125
    86126    <para>Compile the package:</para>
    87127
     
    98138<screen><userinput remap="test">make check</userinput></screen>
    99139
    100     <para>You will probably see some test failures.  The Glibc test suite is
     140    <para>You may see some test failures.  The Glibc test suite is
    101141    somewhat dependent on the host system.  This is a list of the most common
    102     issues seen for this version of LFS:</para>
     142    issues seen for some versions of LFS:</para>
    103143
    104144    <itemizedlist>
    105145
    106146      <listitem>
    107         <para><emphasis>posix/tst-getaddrinfo4</emphasis> will always fail due
    108         to not having the necessary networking applications when the tests are
    109         run.  <emphasis>posix/tst-getaddrinfo5</emphasis> is also known
    110         to fail on some architectures.</para>
     147        <para><emphasis>posix/tst-getaddrinfo4</emphasis> and
     148        <emphasis>posix/tst-getaddrinfo5</emphasis>
     149        may fail on some architectures.</para>
    111150      </listitem>
    112151
Note: See TracChangeset for help on using the changeset viewer.