[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 |
|
---|
| 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/2003/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/2003/XInclude"
|
---|
| 25 | href="../common/glibc.xml"
|
---|
| 26 | xpointer="xpointer(//*[@os='z'])"/>
|
---|
| 27 |
|
---|
| 28 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 29 | href="../common/glibc.xml"
|
---|
| 30 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 31 |
|
---|
[ed42345] | 32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 33 | href="../common/glibc.xml"
|
---|
| 34 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 35 |
|
---|
| 36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 37 | href="../common/glibc.xml"
|
---|
| 38 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
| 39 |
|
---|
[8c323d0] | 40 | <para os="ap1">The following patch ensures that memcpy_chk, mempcpy_chk,
|
---|
| 41 | and memset_chk are defined for i586.</para>
|
---|
| 42 |
|
---|
| 43 | <screen os="ap2"><userinput>patch -Np1 -i ../&glibc-i586_chk-patch;</userinput></screen>
|
---|
| 44 |
|
---|
[3514708] | 45 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 46 | href="../common/glibc.xml"
|
---|
| 47 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 48 |
|
---|
| 49 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 50 | href="../common/glibc.xml"
|
---|
| 51 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 52 |
|
---|
| 53 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 54 | href="../common/glibc.xml"
|
---|
| 55 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 56 |
|
---|
| 57 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 58 | href="../common/glibc.xml"
|
---|
| 59 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 60 |
|
---|
| 61 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 62 | href="../common/glibc.xml"
|
---|
| 63 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 64 |
|
---|
[44426cf] | 65 | <screen os="h"><userinput>CFLAGS="-march=$(cut -d- -f1 <<< $MACHTYPE) \
|
---|
| 66 | -mtune=generic -g -O2" ../glibc-&glibc-version;/configure --prefix=/usr \
|
---|
| 67 | --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
|
---|
| 68 | --libexecdir=/usr/lib/glibc</userinput></screen>
|
---|
[3514708] | 69 |
|
---|
| 70 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 71 | href="../common/glibc.xml"
|
---|
| 72 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
| 73 |
|
---|
| 74 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 75 | href="../common/glibc.xml"
|
---|
| 76 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 77 |
|
---|
| 78 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 79 | href="../common/glibc.xml"
|
---|
| 80 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 81 |
|
---|
| 82 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 83 | href="../common/glibc.xml"
|
---|
| 84 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 85 |
|
---|
| 86 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 87 | href="../common/glibc.xml"
|
---|
| 88 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 89 |
|
---|
| 90 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 91 | href="../common/glibc.xml"
|
---|
| 92 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 93 |
|
---|
| 94 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 95 | href="../common/glibc.xml"
|
---|
| 96 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
| 97 |
|
---|
| 98 | <!-- this is specific to x86 because of the i686 reference in the math tests -->
|
---|
| 99 | <itemizedlist os="p">
|
---|
| 100 | <listitem>
|
---|
| 101 | <para>The <emphasis>math</emphasis> tests, at least on i686, fail in
|
---|
| 102 | the <emphasis>test-double</emphasis> and <emphasis>test-idouble</emphasis>
|
---|
| 103 | tests with gcc-&gcc-version;
|
---|
| 104 | . These two failures in the math tests appear to be harmless.
|
---|
| 105 | The math tests may also fail on systems where the CPU is not a relatively
|
---|
| 106 | new genuine Intel or authentic AMD. Certain optimization settings are
|
---|
| 107 | also known to be a factor here.</para>
|
---|
| 108 | </listitem>
|
---|
| 109 | <listitem>
|
---|
| 110 | <para>If you have mounted the CLFS partition with the
|
---|
| 111 | <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
|
---|
| 112 | will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
|
---|
| 113 | do not use the <parameter>noatime</parameter> option while building
|
---|
| 114 | CLFS.</para>
|
---|
| 115 | </listitem>
|
---|
| 116 | <listitem>
|
---|
| 117 | <para>When running on older and slower hardware, some tests
|
---|
| 118 | can fail because of test timeouts being exceeded.</para>
|
---|
| 119 | </listitem>
|
---|
| 120 | </itemizedlist>
|
---|
| 121 |
|
---|
| 122 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 123 | href="../common/glibc.xml"
|
---|
| 124 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
| 125 |
|
---|
| 126 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 127 | href="../common/glibc.xml"
|
---|
| 128 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
| 129 |
|
---|
| 130 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 131 | href="../common/glibc.xml"
|
---|
| 132 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
| 133 |
|
---|
| 134 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 135 | href="../common/glibc.xml"
|
---|
| 136 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
| 137 |
|
---|
| 138 | </sect2>
|
---|
| 139 |
|
---|
[44426cf] | 140 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 141 | href="../common/glibc.xml"
|
---|
| 142 | xpointer="xpointer(id('i18n-glibc'))"/>
|
---|
[3514708] | 143 |
|
---|
[44426cf] | 144 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 145 | href="../common/glibc.xml"
|
---|
| 146 | xpointer="xpointer(id('conf-glibc'))"/>
|
---|
[3514708] | 147 |
|
---|
[44426cf] | 148 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 149 | href="../common/glibc.xml"
|
---|
| 150 | xpointer="xpointer(id('conf-ld'))"/>
|
---|
[3514708] | 151 |
|
---|
[44426cf] | 152 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 153 | href="../common/glibc.xml"
|
---|
| 154 | xpointer="xpointer(id('contents-glibc'))"/>
|
---|
[3514708] | 155 |
|
---|
| 156 | </sect1>
|
---|