source: final-system/sparc64/glibc-64bit.xml@ 48f8316

Last change on this file since 48f8316 was 531b5e5, checked in by Jim Gifford <clfs@…>, 19 years ago

r649@server (orig r647): manuel | 2005-11-07 12:51:45 -0800
Remove the optimization related warnings from the toolchain packages.

  • Property mode set to 100644
File size: 7.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-system-glibc" role="wrap">
11 <?dbhtml filename="glibc-64bit.html"?>
12
13 <title>Glibc-&glibc-version; 64-Bit</title>
14
15 <indexterm zone="ch-system-glibc">
16 <primary sortas="a-Glibc">Glibc</primary>
17 </indexterm>
18
19 <sect2 role="package">
20 <title/>
21
22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
23 href="glibc.xml"
24 xpointer="xpointer(//*[@role='package']/para[1])"/>
25
26 <segmentedlist>
27 <segtitle>&buildtime;</segtitle>
28 <segtitle>&diskspace;</segtitle>
29
30 <seglistitem>
31 <seg>Not checked yet</seg>
32 <seg>Not checked yet</seg>
33 </seglistitem>
34 </segmentedlist>
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="glibc.xml"
38 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of Glibc</title>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="glibc.xml"
47 xpointer="xpointer(//*[@os='b'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="glibc.xml"
51 xpointer="xpointer(//*[@os='c'])"/>
52
53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54 href="glibc.xml"
55 xpointer="xpointer(//*[@os='d'])"/>
56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="glibc.xml"
59 xpointer="xpointer(//*[@os='s1'])"/>
60
61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="glibc.xml"
63 xpointer="xpointer(//*[@os='s2'])"/>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="glibc.xml"
67 xpointer="xpointer(//*[@os='e'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="glibc.xml"
71 xpointer="xpointer(//*[@os='f'])"/>
72
73 <para>Now we make sure the Glibc goes into
74 <filename class="directory">/lib64</filename>:</para>
75
76<screen><userinput>echo "slibdir=/lib64" &gt;&gt; configparms</userinput></screen>
77
78 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
79 href="glibc.xml"
80 xpointer="xpointer(//*[@os='g'])"/>
81
82<screen><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
83 ../glibc-&glibc-version;/configure --prefix=/usr \
84 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
85 --libexecdir=/usr/lib64/glibc --libdir=/usr/lib64</userinput></screen>
86
87 <variablelist>
88 <title>The meaning of the new configure option:</title>
89
90 <varlistentry>
91 <term><parameter>--libexecdir=/usr/lib64/glibc</parameter></term>
92 <listitem>
93 <para>This changes the location of the <command>pt_chown</command>
94 program from its default of <filename
95 class="directory">/usr/libexec</filename> to <filename
96 class="directory">/usr/lib64/glibc</filename>.</para>
97 </listitem>
98 </varlistentry>
99 </variablelist>
100
101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
102 href="glibc.xml"
103 xpointer="xpointer(//*[@os='j'])"/>
104
105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
106 href="glibc.xml"
107 xpointer="xpointer(//*[@os='k'])"/>
108
109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
110 href="glibc.xml"
111 xpointer="xpointer(//*[@os='l'])"/>
112
113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
114 href="glibc.xml"
115 xpointer="xpointer(//*[@os='m'])"/>
116
117<!-- items n,o,p here are now the master, not multilib, because
118 the tests are known to all pass on multilib_64 -->
119
120<screen os="n"><userinput>make check</userinput></screen>
121
122 <para os="o">The Glibc test suite is highly dependent on certain functions of
123 the host system, in particular the kernel. In general, the Glibc test
124 suite is always expected to pass. However, in certain circumstances,
125 some failures are unavoidable. This is a list of the most common
126 issues:</para>
127
128 <itemizedlist os="p">
129 <listitem>
130 <para>The <emphasis>math</emphasis> tests sometimes fail.
131 Certain optimization settings are known to be a
132 factor here.</para>
133 </listitem>
134 <listitem>
135 <para>The <emphasis>gettext</emphasis> test sometimes fails due to
136 host system issues. The exact reasons are not yet clear.</para>
137 </listitem>
138 <listitem>
139 <para>If you have mounted the LFS partition with the
140 <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
141 will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
142 do not use the <parameter>noatime</parameter> option while building
143 LFS.</para>
144 </listitem>
145 <listitem>
146 <para>When running on older and slower hardware, some tests
147 can fail because of test timeouts being exceeded.</para>
148 </listitem>
149 </itemizedlist>
150
151 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
152 href="glibc.xml"
153 xpointer="xpointer(//*[@os='s'])"/>
154
155 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
156 href="glibc.xml"
157 xpointer="xpointer(//*[@os='t'])"/>
158
159 </sect2>
160
161 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
162 href="../common/glibc.xml"
163 xpointer="xpointer(id('i18n-glibc'))"/>
164
165 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
166 href="../common/glibc.xml"
167 xpointer="xpointer(id('conf-glibc'))"/>
168
169 <sect2 id="conf-ld" role="configuration">
170 <title>Configuring Dynamic Loader</title>
171
172 <indexterm zone="conf-ld">
173 <primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary>
174 </indexterm>
175
176 <para>By default, the dynamic loader (<filename
177 class="libraryfile">/lib/ld-linux.so.2</filename>) searches through
178 <filename class="directory">/lib</filename> and <filename
179 class="directory">/usr/lib</filename> for dynamic libraries that are
180 needed by programs as they are run. However, if there are libraries in
181 directories other than <filename class="directory">/lib</filename> and
182 <filename class="directory">/usr/lib</filename>, these need to be
183 added to the <filename>/etc/ld.so.conf</filename> file in order
184 for the dynamic loader to find them. Two directories that are commonly
185 known to contain additional libraries are
186 <filename class="directory">/usr/local/lib</filename>,
187 <filename class="directory">/usr/local/lib32</filename>,
188 <filename class="directory">/usr/local/lib64</filename>,
189 <filename class="directory">/opt/lib</filename>,
190 <filename class="directory">/opt/lib32</filename>,
191 and <filename class="directory">/opt/lib64</filename>,
192 so add those directories to the dynamic loader's search path.</para>
193
194 <para>Create a new file <filename>/etc/ld.so.conf</filename> by running the
195 following:</para>
196
197<screen><userinput>cat &gt; /etc/ld.so.conf &lt;&lt; "EOF"
198<literal># Begin /etc/ld.so.conf
199
200/usr/local/lib
201/usr/local/lib32
202/usr/local/lib64
203/opt/lib
204/opt/lib32
205/opt/lib64
206
207# End /etc/ld.so.conf</literal>
208EOF</userinput></screen>
209
210 </sect2>
211
212 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
213 href="../common/glibc.xml"
214 xpointer="xpointer(id('contents-glibc'))"/>
215
216</sect1>
Note: See TracBrowser for help on using the repository browser.