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