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