source: BOOK/final-system/ppc64/eglibc.xml@ f2f8eec

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f2f8eec was 00a58649, checked in by William Harrington <kb0iic@…>, 11 years ago

Add a sed for eglibc to detect Make-4.x

  • Property mode set to 100644
File size: 5.3 KB
Line 
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="../common/eglibc.xml"
47 xpointer="xpointer(//*[@os='b'])"/>
48
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
65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
66 href="../common/eglibc.xml"
67 xpointer="xpointer(//*[@os='s1'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
70 href="../common/eglibc.xml"
71 xpointer="xpointer(//*[@os='s2'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
74 href="../common/eglibc.xml"
75 xpointer="xpointer(//*[@os='e'])"/>
76
77 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
78 href="../common/eglibc.xml"
79 xpointer="xpointer(//*[@os='f'])"/>
80
81 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
82 href="../common/eglibc.xml"
83 xpointer="xpointer(//*[@os='g'])"/>
84
85<screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
86 ../eglibc-&eglibc-version;/configure --prefix=/usr \
87 --disable-profile --enable-kernel=2.6.32 \
88 --libexecdir=/usr/lib/eglibc --host=${CLFS_TARGET32} \
89 --enable-obsolete-rpc</userinput></screen>
90
91 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
92 href="../common/eglibc.xml"
93 xpointer="xpointer(//*[@os='i'])"/>
94
95 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
96 href="../common/eglibc.xml"
97 xpointer="xpointer(//*[@os='j'])"/>
98
99 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
100 href="../common/eglibc.xml"
101 xpointer="xpointer(//*[@os='k'])"/>
102
103 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
104 href="../common/eglibc.xml"
105 xpointer="xpointer(//*[@os='l'])"/>
106
107 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
108 href="../multilib/eglibc.xml"
109 xpointer="xpointer(//*[@os='l1b'])"/>
110
111 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
112 href="../multilib/eglibc.xml"
113 xpointer="xpointer(//*[@os='l2b'])"/>
114
115 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
116 href="../common/eglibc.xml"
117 xpointer="xpointer(//*[@os='m'])"/>
118
119 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
120 href="../common/eglibc.xml"
121 xpointer="xpointer(//*[@os='n'])"/>
122
123 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
124 href="../common/eglibc.xml"
125 xpointer="xpointer(//*[@os='o'])"/>
126
127 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
128 href="../common/eglibc.xml"
129 xpointer="xpointer(//*[@os='p'])"/>
130
131 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
132 href="../common/eglibc.xml"
133 xpointer="xpointer(//*[@os='q'])"/>
134
135 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
136 href="../common/eglibc.xml"
137 xpointer="xpointer(//*[@os='r'])"/>
138
139 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
140 href="../common/eglibc.xml"
141 xpointer="xpointer(//*[@os='s'])"/>
142
143 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
144 href="../common/eglibc.xml"
145 xpointer="xpointer(//*[@os='t'])"/>
146
147 </sect2>
148
149 <sect2 role="content">
150 <title/>
151
152 <para>Details on this package are located in <xref
153 linkend="contents-eglibc" role="."/></para>
154
155 </sect2>
156
157</sect1>
Note: See TracBrowser for help on using the repository browser.