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 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-system-glibc-n32" role="wrap">
|
---|
9 | <?dbhtml filename="glibc-n32.html"?>
|
---|
10 |
|
---|
11 | <title>Glibc-&glibc-version; N32</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-glibc-n32">
|
---|
14 | <primary sortas="a-Glibc">Glibc</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
18 | href="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="glibc.xml"
|
---|
26 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
27 |
|
---|
28 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
29 | href="../common/glibc.xml"
|
---|
30 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
31 |
|
---|
32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
33 | href="../common/glibc.xml"
|
---|
34 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
35 |
|
---|
36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
37 | href="glibc.xml"
|
---|
38 | xpointer="xpointer(//*[@os='m1'])"/>
|
---|
39 |
|
---|
40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
41 | href="glibc.xml"
|
---|
42 | xpointer="xpointer(//*[@os='m2'])"/>
|
---|
43 |
|
---|
44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
45 | href="glibc.xml"
|
---|
46 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
47 |
|
---|
48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
49 | href="glibc.xml"
|
---|
50 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
51 |
|
---|
52 | <para>Now we make sure the Glibc goes into
|
---|
53 | <filename class="directory">/lib32</filename>:</para>
|
---|
54 |
|
---|
55 | <screen><userinput>echo "slibdir=/lib32" >> configparms</userinput></screen>
|
---|
56 |
|
---|
57 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
58 | href="glibc.xml"
|
---|
59 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
60 |
|
---|
61 | <screen><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
|
---|
62 | ../glibc-&glibc-version;/configure --prefix=/usr \
|
---|
63 | --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
|
---|
64 | --libexecdir=/usr/lib32/glibc --libdir=/usr/lib32</userinput></screen>
|
---|
65 |
|
---|
66 | <variablelist>
|
---|
67 | <title>The meaning of the new configure option:</title>
|
---|
68 |
|
---|
69 | <varlistentry>
|
---|
70 | <term><parameter>--libexecdir=/usr/lib32/glibc</parameter></term>
|
---|
71 | <listitem>
|
---|
72 | <para>This changes the location of the <command>pt_chown</command>
|
---|
73 | program from its default of <filename
|
---|
74 | class="directory">/usr/libexec</filename> to <filename
|
---|
75 | class="directory">/usr/lib32/glibc</filename>.</para>
|
---|
76 | </listitem>
|
---|
77 | </varlistentry>
|
---|
78 | </variablelist>
|
---|
79 |
|
---|
80 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
81 | href="glibc.xml"
|
---|
82 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
83 |
|
---|
84 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
85 | href="glibc.xml"
|
---|
86 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
87 |
|
---|
88 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
89 | href="glibc.xml"
|
---|
90 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
91 |
|
---|
92 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
93 | href="glibc.xml"
|
---|
94 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
95 |
|
---|
96 | <!-- items n,o,p here are now the master, not multilib, because
|
---|
97 | the tests are known to all pass on multilib_64 -->
|
---|
98 |
|
---|
99 | <screen os="n"><userinput>make check</userinput></screen>
|
---|
100 |
|
---|
101 | <para os="o">The Glibc test suite is highly dependent on certain functions of
|
---|
102 | the host system, in particular the kernel. In general, the Glibc test
|
---|
103 | suite is always expected to pass. However, in certain circumstances,
|
---|
104 | some failures are unavoidable. This is a list of the most common
|
---|
105 | issues:</para>
|
---|
106 |
|
---|
107 | <itemizedlist os="p">
|
---|
108 | <listitem>
|
---|
109 | <para>The <emphasis>math</emphasis> tests sometimes fail.
|
---|
110 | Certain optimization settings are known to be a
|
---|
111 | factor here.</para>
|
---|
112 | </listitem>
|
---|
113 | <listitem>
|
---|
114 | <para>The <emphasis>gettext</emphasis> test sometimes fails due to
|
---|
115 | host system issues. The exact reasons are not yet clear.</para>
|
---|
116 | </listitem>
|
---|
117 | <listitem>
|
---|
118 | <para>If you have mounted the LFS partition with the
|
---|
119 | <parameter>noatime</parameter> option, the <emphasis>atime</emphasis> test
|
---|
120 | will fail. As mentioned in <xref linkend="ch-partitioning-mounting"/>,
|
---|
121 | do not use the <parameter>noatime</parameter> option while building
|
---|
122 | LFS.</para>
|
---|
123 | </listitem>
|
---|
124 | <listitem>
|
---|
125 | <para>When running on older and slower hardware, some tests
|
---|
126 | can fail because of test timeouts being exceeded.</para>
|
---|
127 | </listitem>
|
---|
128 | </itemizedlist>
|
---|
129 |
|
---|
130 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
131 | href="glibc.xml"
|
---|
132 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
133 |
|
---|
134 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
135 | href="glibc.xml"
|
---|
136 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
137 |
|
---|
138 | </sect2>
|
---|
139 |
|
---|
140 | <sect2 role="content">
|
---|
141 | <title/>
|
---|
142 |
|
---|
143 | <para>Details on this package are located in <xref
|
---|
144 | linkend="contents-glibc" role="."/></para>
|
---|
145 |
|
---|
146 | </sect2>
|
---|
147 |
|
---|
148 | </sect1>
|
---|