| 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
 | 
|---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
 | 
|---|
| 3 |   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 | 
|---|
| 4 |   <!ENTITY % general-entities SYSTEM "../../general.ent">
 | 
|---|
| 5 |   %general-entities;
 | 
|---|
| 6 | ]>
 | 
|---|
| 7 | 
 | 
|---|
| 8 | <sect1 id="ch-system-glibc" role="wrap">
 | 
|---|
| 9 |   <?dbhtml filename="glibc.html"?>
 | 
|---|
| 10 | 
 | 
|---|
| 11 |   <title>Glibc-&glibc-version;</title>
 | 
|---|
| 12 | 
 | 
|---|
| 13 |   <indexterm zone="ch-system-glibc">
 | 
|---|
| 14 |     <primary sortas="a-Glibc">Glibc</primary>
 | 
|---|
| 15 |   </indexterm>
 | 
|---|
| 16 | 
 | 
|---|
| 17 |   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 18 |   href="../common/glibc.xml"
 | 
|---|
| 19 |   xpointer="xpointer(//*[@role='package'])"/>
 | 
|---|
| 20 | 
 | 
|---|
| 21 |   <sect2 role="installation">
 | 
|---|
| 22 |     <title>Installation of Glibc</title>
 | 
|---|
| 23 | 
 | 
|---|
| 24 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 25 |     href="../common/glibc.xml"
 | 
|---|
| 26 |     xpointer="xpointer(//*[@os='z'])"/>
 | 
|---|
| 27 | 
 | 
|---|
| 28 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 29 |     href="../common/glibc.xml"
 | 
|---|
| 30 |     xpointer="xpointer(//*[@os='l1'])"/>
 | 
|---|
| 31 | 
 | 
|---|
| 32 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 33 |     href="../common/glibc.xml"
 | 
|---|
| 34 |     xpointer="xpointer(//*[@os='l2'])"/>
 | 
|---|
| 35 | 
 | 
|---|
| 36 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 37 |     href="../common/glibc.xml"
 | 
|---|
| 38 |     xpointer="xpointer(//*[@os='l3'])"/>
 | 
|---|
| 39 | 
 | 
|---|
| 40 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 41 |     href="../common/glibc.xml"
 | 
|---|
| 42 |     xpointer="xpointer(//*[@os='l4'])"/>
 | 
|---|
| 43 | 
 | 
|---|
| 44 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 45 |     href="../common/glibc.xml"
 | 
|---|
| 46 |     xpointer="xpointer(//*[@os='b'])"/>
 | 
|---|
| 47 | 
 | 
|---|
| 48 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 49 |     href="../common/glibc.xml"
 | 
|---|
| 50 |     xpointer="xpointer(//*[@os='s1'])"/>
 | 
|---|
| 51 | 
 | 
|---|
| 52 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 53 |     href="../common/glibc.xml"
 | 
|---|
| 54 |     xpointer="xpointer(//*[@os='s2'])"/>
 | 
|---|
| 55 | 
 | 
|---|
| 56 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 57 |     href="../common/glibc.xml"
 | 
|---|
| 58 |     xpointer="xpointer(//*[@os='e'])"/>
 | 
|---|
| 59 | 
 | 
|---|
| 60 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 61 |     href="../common/glibc.xml"
 | 
|---|
| 62 |     xpointer="xpointer(//*[@os='f'])"/>
 | 
|---|
| 63 | 
 | 
|---|
| 64 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 65 |     href="../common/glibc.xml"
 | 
|---|
| 66 |     xpointer="xpointer(//*[@os='g'])"/>
 | 
|---|
| 67 | 
 | 
|---|
| 68 | <screen os="h"><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
 | 
|---|
| 69 |     --disable-profile --enable-kernel=2.6.32 --libexecdir=/usr/lib/glibc \
 | 
|---|
| 70 |     --enable-obsolete-rpc</userinput></screen>
 | 
|---|
| 71 | 
 | 
|---|
| 72 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 73 |     href="../common/glibc.xml"
 | 
|---|
| 74 |     xpointer="xpointer(//*[@os='i'])"/>
 | 
|---|
| 75 | 
 | 
|---|
| 76 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 77 |     href="../common/glibc.xml"
 | 
|---|
| 78 |     xpointer="xpointer(//*[@os='j'])"/>
 | 
|---|
| 79 | 
 | 
|---|
| 80 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 81 |     href="../common/glibc.xml"
 | 
|---|
| 82 |     xpointer="xpointer(//*[@os='k'])"/>
 | 
|---|
| 83 | 
 | 
|---|
| 84 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 85 |     href="../common/glibc.xml"
 | 
|---|
| 86 |     xpointer="xpointer(//*[@os='l'])"/>
 | 
|---|
| 87 | 
 | 
|---|
| 88 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 89 |     href="../common/glibc.xml"
 | 
|---|
| 90 |     xpointer="xpointer(//*[@os='m'])"/>
 | 
|---|
| 91 | 
 | 
|---|
| 92 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 93 |     href="../common/glibc.xml"
 | 
|---|
| 94 |     xpointer="xpointer(//*[@os='n'])"/>
 | 
|---|
| 95 | 
 | 
|---|
| 96 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 97 |     href="../common/glibc.xml"
 | 
|---|
| 98 |     xpointer="xpointer(//*[@os='o'])"/>
 | 
|---|
| 99 | 
 | 
|---|
| 100 |     <!-- this is specific to x86 because of the i686 reference in the math tests -->
 | 
|---|
| 101 |     <itemizedlist os="p">
 | 
|---|
| 102 |       <listitem>
 | 
|---|
| 103 |         <para>The <emphasis>nptl/tst-clock2</emphasis>,
 | 
|---|
| 104 |         <emphasis>nptl/tst-attr3</emphasis>,
 | 
|---|
| 105 |         <emphasis>tst/tst-cputimer1</emphasis>, and
 | 
|---|
| 106 |         <emphasis>rt/tst-cpuclock2</emphasis>
 | 
|---|
| 107 |         tests have been known to fail.  The
 | 
|---|
| 108 |         reason is not completely understood, but indications are that minor
 | 
|---|
| 109 |         timing issues can trigger these failures.</para>
 | 
|---|
| 110 |       </listitem>
 | 
|---|
| 111 |       <listitem>
 | 
|---|
| 112 |         <para>The <emphasis>math</emphasis> tests, at least on i686, fail in
 | 
|---|
| 113 |         the <emphasis>test-double</emphasis> and <emphasis>test-idouble</emphasis>
 | 
|---|
| 114 |         tests with gcc-&gcc-version;
 | 
|---|
| 115 |         . These two failures in the math tests appear to be harmless.
 | 
|---|
| 116 |         The math tests may also fail on systems where the CPU is not a relatively
 | 
|---|
| 117 |         new genuine Intel or authentic AMD. Certain optimization settings are
 | 
|---|
| 118 |         also known to be a factor here.</para>
 | 
|---|
| 119 |       </listitem>
 | 
|---|
| 120 |       <listitem>
 | 
|---|
| 121 |         <para>If you have mounted the CLFS partition with the
 | 
|---|
| 122 |         <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
 | 
|---|
| 123 |         will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
 | 
|---|
| 124 |         do not use the <parameter>noatime</parameter> option while building
 | 
|---|
| 125 |         CLFS.</para>
 | 
|---|
| 126 |       </listitem>
 | 
|---|
| 127 |       <listitem>
 | 
|---|
| 128 |         <para>When running on older and slower hardware, some tests
 | 
|---|
| 129 |         can fail because of test timeouts being exceeded.
 | 
|---|
| 130 |         Modifying the make check command to set a TIMEOUTFACTOR is reported to
 | 
|---|
| 131 |         help eliminate these errors (e.g. <command>TIMEOUTFACTOR=16
 | 
|---|
| 132 |         make -k check</command>).</para>
 | 
|---|
| 133 |       </listitem>
 | 
|---|
| 134 |       <listitem>
 | 
|---|
| 135 |         <para>posix/tst-getaddrinfo4 will always fail due to not having a network
 | 
|---|
| 136 |         connection when the test is run.</para>
 | 
|---|
| 137 |       </listitem>
 | 
|---|
| 138 |     </itemizedlist>
 | 
|---|
| 139 | 
 | 
|---|
| 140 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 141 |     href="../common/glibc.xml"
 | 
|---|
| 142 |     xpointer="xpointer(//*[@os='q'])"/>
 | 
|---|
| 143 | 
 | 
|---|
| 144 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 145 |     href="../common/glibc.xml"
 | 
|---|
| 146 |     xpointer="xpointer(//*[@os='r'])"/>
 | 
|---|
| 147 | 
 | 
|---|
| 148 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 149 |     href="../common/glibc.xml"
 | 
|---|
| 150 |     xpointer="xpointer(//*[@os='s'])"/>
 | 
|---|
| 151 | 
 | 
|---|
| 152 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 153 |     href="../common/glibc.xml"
 | 
|---|
| 154 |     xpointer="xpointer(//*[@os='t'])"/>
 | 
|---|
| 155 | 
 | 
|---|
| 156 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 157 |     href="../common/glibc.xml"
 | 
|---|
| 158 |     xpointer="xpointer(//*[@os='u'])"/>
 | 
|---|
| 159 | 
 | 
|---|
| 160 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 161 |     href="../common/glibc.xml"
 | 
|---|
| 162 |     xpointer="xpointer(//*[@os='v'])"/>
 | 
|---|
| 163 | 
 | 
|---|
| 164 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 165 |     href="../common/glibc.xml"
 | 
|---|
| 166 |     xpointer="xpointer(//*[@os='w'])"/>
 | 
|---|
| 167 | 
 | 
|---|
| 168 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 169 |     href="../common/glibc.xml"
 | 
|---|
| 170 |     xpointer="xpointer(//*[@os='x'])"/>
 | 
|---|
| 171 | 
 | 
|---|
| 172 |   </sect2>
 | 
|---|
| 173 | 
 | 
|---|
| 174 |   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 175 |   href="../common/glibc.xml"
 | 
|---|
| 176 |   xpointer="xpointer(id('i18n-glibc'))"/>
 | 
|---|
| 177 | 
 | 
|---|
| 178 |   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 179 |   href="../common/glibc.xml"
 | 
|---|
| 180 |   xpointer="xpointer(id('conf-glibc'))"/>
 | 
|---|
| 181 | 
 | 
|---|
| 182 |   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 183 |   href="../common/glibc.xml"
 | 
|---|
| 184 |   xpointer="xpointer(id('conf-ld'))"/>
 | 
|---|
| 185 | 
 | 
|---|
| 186 |   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 187 |   href="../common/glibc.xml"
 | 
|---|
| 188 |   xpointer="xpointer(id('contents-glibc'))"/>
 | 
|---|
| 189 | 
 | 
|---|
| 190 | </sect1>
 | 
|---|