[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[093b0e8] | 8 | <sect1 id="ch-system-eglibc-32" role="wrap">
|
---|
| 9 | <?dbhtml filename="eglibc.html"?>
|
---|
[3f8be484] | 10 |
|
---|
[093b0e8] | 11 | <title>EGLIBC-&eglibc-version; 32 Bit Libraries</title>
|
---|
[3f8be484] | 12 |
|
---|
[093b0e8] | 13 | <indexterm zone="ch-system-eglibc-32">
|
---|
| 14 | <primary sortas="a-EGLIBC">EGLIBC</primary>
|
---|
[3f8be484] | 15 | <secondary>32 Bit</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
[dabbced] | 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 19 | href="../common/eglibc.xml"
|
---|
[1cd688b] | 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
[093b0e8] | 23 | <title>Installation of EGLIBC</title>
|
---|
[3f8be484] | 24 |
|
---|
[dabbced] | 25 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 26 | href="../common/eglibc.xml"
|
---|
[82f7fed] | 27 | xpointer="xpointer(//*[@os='z'])"/>
|
---|
[3f8be484] | 28 |
|
---|
[22cd957] | 29 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 30 | href="../common/eglibc.xml"
|
---|
| 31 | xpointer="xpointer(//*[@os='l1'])"/>
|
---|
| 32 |
|
---|
| 33 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 34 | href="../common/eglibc.xml"
|
---|
| 35 | xpointer="xpointer(//*[@os='l2'])"/>
|
---|
| 36 |
|
---|
[dabbced] | 37 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[d8f87e8] | 38 | href="../common/eglibc.xml"
|
---|
[c0bc7c4] | 39 | xpointer="xpointer(//*[@os='l3'])"/>
|
---|
[d8f87e8] | 40 |
|
---|
[dabbced] | 41 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[d8f87e8] | 42 | href="../common/eglibc.xml"
|
---|
[c0bc7c4] | 43 | xpointer="xpointer(//*[@os='l4'])"/>
|
---|
[d8f87e8] | 44 |
|
---|
[40b82df] | 45 | <para os="l5">RPC headers are not installed at /tools/include/rpc. Eglibc 32 bit build will get into a bad state due to the new rpc helpers that get cross-compiled. We do not want this, so the following command will use the internal rpc types header.</para>
|
---|
| 46 |
|
---|
| 47 | <screen os="l6"><userinput>sed -i 's/<rpc\/types.h>/"rpc\/types.h"/' sunrpc/rpc_clntout.c</userinput></screen>
|
---|
| 48 |
|
---|
[7d97f36] | 49 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 50 | href="../common/eglibc.xml"
|
---|
| 51 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 52 |
|
---|
| 53 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 54 | href="../common/eglibc.xml"
|
---|
| 55 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
[57b3f19] | 56 |
|
---|
| 57 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 58 | href="../common/eglibc.xml"
|
---|
| 59 | xpointer="xpointer(//*[@os='p3'])"/>
|
---|
| 60 |
|
---|
| 61 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 62 | href="../common/eglibc.xml"
|
---|
| 63 | xpointer="xpointer(//*[@os='p4'])"/>
|
---|
[7d97f36] | 64 |
|
---|
[dabbced] | 65 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 66 | href="../common/eglibc.xml"
|
---|
[3f8be484] | 67 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 68 |
|
---|
[dabbced] | 69 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 70 | href="../common/eglibc.xml"
|
---|
[3f8be484] | 71 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 72 |
|
---|
[dabbced] | 73 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 74 | href="../common/eglibc.xml"
|
---|
[3f8be484] | 75 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 76 |
|
---|
[dabbced] | 77 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 78 | href="../common/eglibc.xml"
|
---|
[3f8be484] | 79 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 80 |
|
---|
[d3a4fc0] | 81 | <screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
|
---|
[093b0e8] | 82 | ../eglibc-&eglibc-version;/configure --prefix=/usr \
|
---|
[3f8be484] | 83 | --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
|
---|
[093b0e8] | 84 | --libexecdir=/usr/lib/eglibc --host=${CLFS_TARGET32}</userinput></screen>
|
---|
[3f8be484] | 85 |
|
---|
[dabbced] | 86 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 87 | href="../common/eglibc.xml"
|
---|
[3f8be484] | 88 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
| 89 |
|
---|
[dabbced] | 90 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 91 | href="../common/eglibc.xml"
|
---|
[3f8be484] | 92 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 93 |
|
---|
[dabbced] | 94 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 95 | href="../common/eglibc.xml"
|
---|
[3f8be484] | 96 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 97 |
|
---|
[dabbced] | 98 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 99 | href="../common/eglibc.xml"
|
---|
[3f8be484] | 100 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 101 |
|
---|
[71f750e] | 102 | <para os="l1b">In multilib, we tend to think that compiling for
|
---|
[44aaa3d0] | 103 | <literal>${CLFS_TARGET32}</literal> is <emphasis>not</emphasis>
|
---|
[093b0e8] | 104 | cross-compiling. EGLIBC takes the traditional view that if you are building
|
---|
[ac3984c] | 105 | for a different host then you are cross-compiling, so you won't be running
|
---|
| 106 | the tests and therefore you don't need the locale files. When we run
|
---|
[44aaa3d0] | 107 | the tests, many will fail if the locale files are missing. The following
|
---|
| 108 | sed allows these tests to succeed:</para>
|
---|
| 109 |
|
---|
[71f750e] | 110 | <screen os="l2b"><userinput>sed -i '/cross-compiling/s@ifeq@ifneq@g' ../eglibc-&eglibc-version;/localedata/Makefile</userinput></screen>
|
---|
[44aaa3d0] | 111 |
|
---|
[dabbced] | 112 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 113 | href="../common/eglibc.xml"
|
---|
[3f8be484] | 114 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 115 |
|
---|
[dabbced] | 116 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 117 | href="../common/eglibc.xml"
|
---|
[3f8be484] | 118 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 119 |
|
---|
[dabbced] | 120 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 121 | href="../common/eglibc.xml"
|
---|
[3f8be484] | 122 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
| 123 |
|
---|
[dabbced] | 124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 125 | href="../common/eglibc.xml"
|
---|
[3f8be484] | 126 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
| 127 |
|
---|
[dabbced] | 128 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 129 | href="../common/eglibc.xml"
|
---|
[3f8be484] | 130 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
| 131 |
|
---|
[dabbced] | 132 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 133 | href="../common/eglibc.xml"
|
---|
[3f8be484] | 134 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
| 135 |
|
---|
[dabbced] | 136 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 137 | href="../common/eglibc.xml"
|
---|
[3f8be484] | 138 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
| 139 |
|
---|
[dabbced] | 140 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 141 | href="../common/eglibc.xml"
|
---|
[3f8be484] | 142 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
| 143 |
|
---|
| 144 | </sect2>
|
---|
| 145 |
|
---|
| 146 | <sect2 role="content">
|
---|
| 147 | <title/>
|
---|
| 148 |
|
---|
| 149 | <para>Details on this package are located in <xref
|
---|
[093b0e8] | 150 | linkend="contents-eglibc" role="."/></para>
|
---|
[3f8be484] | 151 |
|
---|
| 152 | </sect2>
|
---|
| 153 |
|
---|
| 154 | </sect1>
|
---|