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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since d018b81 was 44426cf, checked in by Joe Ciccone <jciccone@…>, 17 years ago

Updated to Glibc 2.6. This includes adding a sed to Coreutils and Gzip to rename their internal implementations of futimens which are incompatible with the implementation provided by Glibc. Added a target tripplet based optimization to glibc on x86 and 32bit build on x86_64 so that glibc will build properly now that i386 is no longer supported. Also added a note to the build variables page the i386-pc-linux-gnu is not supported by glibc.

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