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

sysvinit
Last change on this file since 8d111f3 was f3ec8c71, checked in by William Harrington <kb0iic@…>, 8 years ago

Use --enable-stack-protector=strong during GLIBC final system.

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