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

clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 631c8f4 was 631c8f4, checked in by Chris Staub <chris@…>, 10 years ago

x86 Glibc builds no longer need CFLAGS

  • Property mode set to 100644
File size: 6.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/2001/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/2001/XInclude"
25    href="../common/glibc.xml"
26    xpointer="xpointer(//*[@os='z'])"/>
27
28    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
29    href="../common/glibc.xml"
30    xpointer="xpointer(//*[@os='l1'])"/>
31
32    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
33    href="../common/glibc.xml"
34    xpointer="xpointer(//*[@os='l2'])"/>
35
36    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
37    href="../common/glibc.xml"
38    xpointer="xpointer(//*[@os='l3'])"/>
39
40    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
41    href="../common/glibc.xml"
42    xpointer="xpointer(//*[@os='l4'])"/>
43
44    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
45    href="../common/glibc.xml"
46    xpointer="xpointer(//*[@os='b'])"/>
47
48    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
49    href="../common/glibc.xml"
50    xpointer="xpointer(//*[@os='s1'])"/>
51
52    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
53    href="../common/glibc.xml"
54    xpointer="xpointer(//*[@os='s2'])"/>
55
56    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
57    href="../common/glibc.xml"
58    xpointer="xpointer(//*[@os='e'])"/>
59
60    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
61    href="../common/glibc.xml"
62    xpointer="xpointer(//*[@os='f'])"/>
63
64    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
65    href="../common/glibc.xml"
66    xpointer="xpointer(//*[@os='g'])"/>
67
68<screen os="h"><userinput>
69    ../glibc-&glibc-version;/configure --prefix=/usr \
70    --disable-profile --enable-kernel=2.6.32 --libexecdir=/usr/lib/glibc \
71    --enable-obsolete-rpc</userinput></screen>
72
73    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
74    href="../common/glibc.xml"
75    xpointer="xpointer(//*[@os='i'])"/>
76
77    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
78    href="../common/glibc.xml"
79    xpointer="xpointer(//*[@os='j'])"/>
80
81    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
82    href="../common/glibc.xml"
83    xpointer="xpointer(//*[@os='k'])"/>
84
85    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
86    href="../common/glibc.xml"
87    xpointer="xpointer(//*[@os='l'])"/>
88
89    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
90    href="../common/glibc.xml"
91    xpointer="xpointer(//*[@os='m'])"/>
92
93    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
94    href="../common/glibc.xml"
95    xpointer="xpointer(//*[@os='n'])"/>
96
97    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
98    href="../common/glibc.xml"
99    xpointer="xpointer(//*[@os='o'])"/>
100
101    <!-- this is specific to x86 because of the i686 reference in the math tests -->
102    <itemizedlist os="p">
103      <listitem>
104        <para>The <emphasis>nptl/tst-clock2</emphasis>,
105        <emphasis>nptl/tst-attr3</emphasis>,
106        <emphasis>tst/tst-cputimer1</emphasis>, and
107        <emphasis>rt/tst-cpuclock2</emphasis>
108        tests have been known to fail.  The
109        reason is not completely understood, but indications are that minor
110        timing issues can trigger these failures.</para>
111      </listitem>
112      <listitem>
113        <para>The <emphasis>math</emphasis> tests, at least on i686, fail in
114        the <emphasis>test-double</emphasis> and <emphasis>test-idouble</emphasis>
115        tests with gcc-&gcc-version;
116        . These two failures in the math tests appear to be harmless.
117        The math tests may also fail on systems where the CPU is not a relatively
118        new genuine Intel or authentic AMD. Certain optimization settings are
119        also known to be a factor here.</para>
120      </listitem>
121      <listitem>
122        <para>If you have mounted the CLFS partition with the
123        <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
124        will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
125        do not use the <parameter>noatime</parameter> option while building
126        CLFS.</para>
127      </listitem>
128      <listitem>
129        <para>When running on older and slower hardware, some tests
130        can fail because of test timeouts being exceeded.
131        Modifying the make check command to set a TIMEOUTFACTOR is reported to
132        help eliminate these errors (e.g. <command>TIMEOUTFACTOR=16
133        make -k check</command>).</para>
134      </listitem>
135      <listitem>
136        <para>posix/tst-getaddrinfo4 will always fail due to not having a network
137        connection when the test is run.</para>
138      </listitem>
139    </itemizedlist>
140
141    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
142    href="../common/glibc.xml"
143    xpointer="xpointer(//*[@os='q'])"/>
144
145    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
146    href="../common/glibc.xml"
147    xpointer="xpointer(//*[@os='r'])"/>
148
149    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
150    href="../common/glibc.xml"
151    xpointer="xpointer(//*[@os='s'])"/>
152
153    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
154    href="../common/glibc.xml"
155    xpointer="xpointer(//*[@os='t'])"/>
156
157    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
158    href="../common/glibc.xml"
159    xpointer="xpointer(//*[@os='u'])"/>
160
161    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
162    href="../common/glibc.xml"
163    xpointer="xpointer(//*[@os='v'])"/>
164
165    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
166    href="../common/glibc.xml"
167    xpointer="xpointer(//*[@os='w'])"/>
168
169    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
170    href="../common/glibc.xml"
171    xpointer="xpointer(//*[@os='x'])"/>
172
173  </sect2>
174
175  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
176  href="../common/glibc.xml"
177  xpointer="xpointer(id('i18n-glibc'))"/>
178
179  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
180  href="../common/glibc.xml"
181  xpointer="xpointer(id('conf-glibc'))"/>
182
183  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
184  href="../common/glibc.xml"
185  xpointer="xpointer(id('conf-ld'))"/>
186
187  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
188  href="../common/glibc.xml"
189  xpointer="xpointer(id('contents-glibc'))"/>
190
191</sect1>
Note: See TracBrowser for help on using the repository browser.