[a80ea23] | 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" [
|
---|
[a80ea23] | 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"?>
|
---|
[a80ea23] | 10 |
|
---|
[093b0e8] | 11 | <title>EGLIBC-&eglibc-version; 32 Bit Libraries</title>
|
---|
[a80ea23] | 12 |
|
---|
[093b0e8] | 13 | <indexterm zone="ch-system-eglibc-32">
|
---|
| 14 | <primary sortas="a-EGLIBC">EGLIBC</primary>
|
---|
[a80ea23] | 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"
|
---|
[a80ea23] | 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
[093b0e8] | 23 | <title>Installation of EGLIBC</title>
|
---|
[a80ea23] | 24 |
|
---|
[dabbced] | 25 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 26 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 27 | xpointer="xpointer(//*[@os='z'])"/>
|
---|
| 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 |
|
---|
[dabbced] | 45 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 46 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 47 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 48 |
|
---|
[515ca2c] | 49 | <para os="u1">The powerpc (32) architecture is expected to fail the
|
---|
| 50 | check-textrel tests because it cannot protect some elf segments in
|
---|
| 51 | shared libraries from being executable and writable. Using the default
|
---|
| 52 | 64-bit compiler means the test runs as <literal>__powerpc64__</literal>
|
---|
| 53 | which is <emphasis>not</emphasis> expected to fail. The problem only exists
|
---|
| 54 | in 32-bit, the 64-bit ABI allows the segments to be protected.</para>
|
---|
| 55 |
|
---|
| 56 | <para os="u2">Other distributions alter gcc to default to 32-bits and
|
---|
| 57 | so do not see this failure. Whether they then test correctly on 64-bit
|
---|
| 58 | libraries is not our problem.</para>
|
---|
| 59 |
|
---|
| 60 | <para os="u3">Force the test to use the 32-bit compiler with the following
|
---|
| 61 | <command>sed</command> :</para>
|
---|
| 62 |
|
---|
| 63 | <screen os="u4"><userinput>sed -i "s/\(^check-textrel-CFLAGS = \)/\1 ${BUILD32} /" elf/Makefile</userinput></screen>
|
---|
| 64 |
|
---|
[dabbced] | 65 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 66 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 67 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 68 |
|
---|
[dabbced] | 69 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 70 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 71 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 72 |
|
---|
[dabbced] | 73 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 74 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 75 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 76 |
|
---|
| 77 | <screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
|
---|
[093b0e8] | 78 | ../eglibc-&eglibc-version;/configure --prefix=/usr \
|
---|
[82b753e0] | 79 | --disable-profile --enable-kernel=2.6.32 \
|
---|
[52ed4da] | 80 | --libexecdir=/usr/lib/eglibc --host=${CLFS_TARGET32} \
|
---|
| 81 | --enable-obsolete-rpc</userinput></screen>
|
---|
[a80ea23] | 82 |
|
---|
[dabbced] | 83 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 84 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 85 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
| 86 |
|
---|
[dabbced] | 87 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 88 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 89 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 90 |
|
---|
[dabbced] | 91 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 92 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 93 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 94 |
|
---|
[dabbced] | 95 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 96 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 97 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 98 |
|
---|
[dabbced] | 99 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 100 | href="../multilib/eglibc.xml"
|
---|
[71f750e] | 101 | xpointer="xpointer(//*[@os='l1b'])"/>
|
---|
| 102 |
|
---|
| 103 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 104 | href="../multilib/eglibc.xml"
|
---|
| 105 | xpointer="xpointer(//*[@os='l2b'])"/>
|
---|
[44aaa3d0] | 106 |
|
---|
[dabbced] | 107 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 108 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 109 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 110 |
|
---|
[dabbced] | 111 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 112 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 113 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 114 |
|
---|
[dabbced] | 115 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 116 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 117 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
| 118 |
|
---|
[dabbced] | 119 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 120 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 121 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
| 122 |
|
---|
[dabbced] | 123 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 124 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 125 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
| 126 |
|
---|
[dabbced] | 127 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 128 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 129 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
| 130 |
|
---|
[dabbced] | 131 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 132 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 133 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
| 134 |
|
---|
[dabbced] | 135 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[093b0e8] | 136 | href="../common/eglibc.xml"
|
---|
[a80ea23] | 137 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
| 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | <sect2 role="content">
|
---|
| 142 | <title/>
|
---|
| 143 |
|
---|
| 144 | <para>Details on this package are located in <xref
|
---|
[093b0e8] | 145 | linkend="contents-eglibc" role="."/></para>
|
---|
[a80ea23] | 146 |
|
---|
| 147 | </sect2>
|
---|
| 148 |
|
---|
| 149 | </sect1>
|
---|