1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-system-eglibc-32" role="wrap">
|
---|
9 | <?dbhtml filename="eglibc.html"?>
|
---|
10 |
|
---|
11 | <title>EGLIBC-&eglibc-version; 32 Bit Libraries</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-eglibc-32">
|
---|
14 | <primary sortas="a-EGLIBC">EGLIBC</primary>
|
---|
15 | <secondary>32 Bit</secondary>
|
---|
16 | </indexterm>
|
---|
17 |
|
---|
18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
19 | href="../common/eglibc.xml"
|
---|
20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
21 |
|
---|
22 | <sect2 role="installation">
|
---|
23 | <title>Installation of EGLIBC</title>
|
---|
24 |
|
---|
25 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
26 | href="../common/eglibc.xml"
|
---|
27 | xpointer="xpointer(//*[@os='z'])"/>
|
---|
28 |
|
---|
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 |
|
---|
37 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
38 | href="../common/eglibc.xml"
|
---|
39 | xpointer="xpointer(//*[@os='l3'])"/>
|
---|
40 |
|
---|
41 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
42 | href="../common/eglibc.xml"
|
---|
43 | xpointer="xpointer(//*[@os='l4'])"/>
|
---|
44 |
|
---|
45 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
46 | href="../multilib/eglibc.xml"
|
---|
47 | xpointer="xpointer(//*[@os='l5'])"/>
|
---|
48 |
|
---|
49 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
50 | href="../multilib/eglibc.xml"
|
---|
51 | xpointer="xpointer(//*[@os='l6'])"/>
|
---|
52 |
|
---|
53 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
54 | href="../common/eglibc.xml"
|
---|
55 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
56 |
|
---|
57 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
58 | href="../common/eglibc.xml"
|
---|
59 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
60 |
|
---|
61 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
62 | href="../common/eglibc.xml"
|
---|
63 | xpointer="xpointer(//*[@os='p3'])"/>
|
---|
64 |
|
---|
65 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
66 | href="../common/eglibc.xml"
|
---|
67 | xpointer="xpointer(//*[@os='p4'])"/>
|
---|
68 |
|
---|
69 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
70 | href="../common/eglibc.xml"
|
---|
71 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
72 |
|
---|
73 | <para os="u1">The powerpc (32) architecture is expected to fail the
|
---|
74 | check-textrel tests because it cannot protect some elf segments in
|
---|
75 | shared libraries from being executable and writable. Using the default
|
---|
76 | 64-bit compiler means the test runs as <literal>__powerpc64__</literal>
|
---|
77 | which is <emphasis>not</emphasis> expected to fail. The problem only exists
|
---|
78 | in 32-bit, the 64-bit ABI allows the segments to be protected.</para>
|
---|
79 |
|
---|
80 | <para os="u2">Other distributions alter gcc to default to 32-bits and
|
---|
81 | so do not see this failure. Whether they then test correctly on 64-bit
|
---|
82 | libraries is not our problem.</para>
|
---|
83 |
|
---|
84 | <para os="u3">Force the test to use the 32-bit compiler with the following
|
---|
85 | <command>sed</command> :</para>
|
---|
86 |
|
---|
87 | <screen os="u4"><userinput>sed -i "s/\(^check-textrel-CFLAGS = \)/\1 ${BUILD32} /" elf/Makefile</userinput></screen>
|
---|
88 |
|
---|
89 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
90 | href="../common/eglibc.xml"
|
---|
91 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
92 |
|
---|
93 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
94 | href="../common/eglibc.xml"
|
---|
95 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
96 |
|
---|
97 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
98 | href="../common/eglibc.xml"
|
---|
99 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
100 |
|
---|
101 | <screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
|
---|
102 | ../eglibc-&eglibc-version;/configure --prefix=/usr \
|
---|
103 | --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
|
---|
104 | --libexecdir=/usr/lib/eglibc --host=${CLFS_TARGET32}</userinput></screen>
|
---|
105 |
|
---|
106 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
107 | href="../common/eglibc.xml"
|
---|
108 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
109 |
|
---|
110 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
111 | href="../common/eglibc.xml"
|
---|
112 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
113 |
|
---|
114 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
115 | href="../common/eglibc.xml"
|
---|
116 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
117 |
|
---|
118 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
119 | href="../common/eglibc.xml"
|
---|
120 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
121 |
|
---|
122 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
123 | href="../multilib/eglibc.xml"
|
---|
124 | xpointer="xpointer(//*[@os='l1b'])"/>
|
---|
125 |
|
---|
126 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
127 | href="../multilib/eglibc.xml"
|
---|
128 | xpointer="xpointer(//*[@os='l2b'])"/>
|
---|
129 |
|
---|
130 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
131 | href="../common/eglibc.xml"
|
---|
132 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
133 |
|
---|
134 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
135 | href="../common/eglibc.xml"
|
---|
136 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
137 |
|
---|
138 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
139 | href="../common/eglibc.xml"
|
---|
140 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
141 |
|
---|
142 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
143 | href="../common/eglibc.xml"
|
---|
144 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
145 |
|
---|
146 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
147 | href="../common/eglibc.xml"
|
---|
148 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
149 |
|
---|
150 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
151 | href="../common/eglibc.xml"
|
---|
152 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
153 |
|
---|
154 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
155 | href="../common/eglibc.xml"
|
---|
156 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
157 |
|
---|
158 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
159 | href="../common/eglibc.xml"
|
---|
160 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
161 |
|
---|
162 | </sect2>
|
---|
163 |
|
---|
164 | <sect2 role="content">
|
---|
165 | <title/>
|
---|
166 |
|
---|
167 | <para>Details on this package are located in <xref
|
---|
168 | linkend="contents-eglibc" role="."/></para>
|
---|
169 |
|
---|
170 | </sect2>
|
---|
171 |
|
---|
172 | </sect1>
|
---|