source: BOOK/final-system/x86/glibc.xml @ ca89969

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since ca89969 was ca89969, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Updated Glibc to 2.8.

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