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