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