[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">
|
---|
| 104 | <listitem>
|
---|
| 105 | <para>The <emphasis>math</emphasis> tests, at least on i686, fail in
|
---|
| 106 | the <emphasis>test-double</emphasis> and <emphasis>test-idouble</emphasis>
|
---|
| 107 | tests with gcc-&gcc-version;
|
---|
| 108 | . These two failures in the math tests appear to be harmless.
|
---|
| 109 | The math tests may also fail on systems where the CPU is not a relatively
|
---|
| 110 | new genuine Intel or authentic AMD. Certain optimization settings are
|
---|
| 111 | also known to be a factor here.</para>
|
---|
| 112 | </listitem>
|
---|
| 113 | <listitem>
|
---|
| 114 | <para>If you have mounted the CLFS partition with the
|
---|
| 115 | <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
|
---|
| 116 | will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
|
---|
| 117 | do not use the <parameter>noatime</parameter> option while building
|
---|
| 118 | CLFS.</para>
|
---|
| 119 | </listitem>
|
---|
| 120 | <listitem>
|
---|
| 121 | <para>When running on older and slower hardware, some tests
|
---|
| 122 | can fail because of test timeouts being exceeded.</para>
|
---|
| 123 | </listitem>
|
---|
| 124 | </itemizedlist>
|
---|
| 125 |
|
---|
[dabbced] | 126 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 127 | href="../common/glibc.xml"
|
---|
[3514708] | 128 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
| 129 |
|
---|
[dabbced] | 130 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 131 | href="../common/glibc.xml"
|
---|
[3514708] | 132 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
| 133 |
|
---|
[dabbced] | 134 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 135 | href="../common/glibc.xml"
|
---|
[3514708] | 136 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
| 137 |
|
---|
[dabbced] | 138 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 139 | href="../common/glibc.xml"
|
---|
[3514708] | 140 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
| 141 |
|
---|
| 142 | </sect2>
|
---|
| 143 |
|
---|
[dabbced] | 144 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 145 | href="../common/glibc.xml"
|
---|
| 146 | xpointer="xpointer(id('i18n-glibc'))"/>
|
---|
[3514708] | 147 |
|
---|
[dabbced] | 148 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 149 | href="../common/glibc.xml"
|
---|
| 150 | xpointer="xpointer(id('conf-glibc'))"/>
|
---|
[3514708] | 151 |
|
---|
[dabbced] | 152 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 153 | href="../common/glibc.xml"
|
---|
[44426cf] | 154 | xpointer="xpointer(id('conf-ld'))"/>
|
---|
[3514708] | 155 |
|
---|
[dabbced] | 156 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[cbbd1e4] | 157 | href="../common/glibc.xml"
|
---|
| 158 | xpointer="xpointer(id('contents-glibc'))"/>
|
---|
[3514708] | 159 |
|
---|
| 160 | </sect1>
|
---|