source: BOOK/final-system/x86/eglibc.xml@ 7748c0f

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7748c0f was 8872181, checked in by William Harrington <kb0iic@…>, 11 years ago

Update CFLAGS for final-system eglibc.

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