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