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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7b31c44 was 6a043e2, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Upgrade to GCC 4.3.1.

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