source: BOOK/final-system/ppc64/glibc.xml@ 715d370d

sysvinit
Last change on this file since 715d370d was 142cd1e, checked in by Chris Staub <chris@…>, 10 years ago

Fixup command for tzselect is no longer needed

Conflicts:

BOOK/introduction/common/changelog.xml

  • Property mode set to 100644
File size: 4.7 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-glibc-32" role="wrap">
9 <?dbhtml filename="glibc.html"?>
10
11 <title>Glibc-&glibc-version; 32 Bit Libraries</title>
12
13 <indexterm zone="ch-system-glibc-32">
14 <primary sortas="a-Glibc">Glibc</primary>
15 <secondary>32 Bit</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
19 href="../common/glibc.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Glibc</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
26 href="../common/glibc.xml"
27 xpointer="xpointer(//*[@os='z'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
30 href="../common/glibc.xml"
31 xpointer="xpointer(//*[@os='l1'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
34 href="../common/glibc.xml"
35 xpointer="xpointer(//*[@os='l2'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
38 href="../common/glibc.xml"
39 xpointer="xpointer(//*[@os='b'])"/>
40
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
57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
58 href="../common/glibc.xml"
59 xpointer="xpointer(//*[@os='e'])"/>
60
61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
62 href="../common/glibc.xml"
63 xpointer="xpointer(//*[@os='f'])"/>
64
65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
66 href="../common/glibc.xml"
67 xpointer="xpointer(//*[@os='g'])"/>
68
69<screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
70 ../glibc-&glibc-version;/configure --prefix=/usr \
71 --disable-profile --enable-kernel=&glibc-kernel-version; \
72 --libexecdir=/usr/lib/glibc --host=${CLFS_TARGET32} \
73 --enable-obsolete-rpc</userinput></screen>
74
75 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
76 href="../common/glibc.xml"
77 xpointer="xpointer(//*[@os='i'])"/>
78
79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
80 href="../common/glibc.xml"
81 xpointer="xpointer(//*[@os='j'])"/>
82
83 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
84 href="../common/glibc.xml"
85 xpointer="xpointer(//*[@os='k'])"/>
86
87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
88 href="../common/glibc.xml"
89 xpointer="xpointer(//*[@os='l'])"/>
90
91 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
92 href="../multilib/glibc.xml"
93 xpointer="xpointer(//*[@os='l1b'])"/>
94
95 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
96 href="../multilib/glibc.xml"
97 xpointer="xpointer(//*[@os='l2b'])"/>
98
99 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
100 href="../common/glibc.xml"
101 xpointer="xpointer(//*[@os='m'])"/>
102
103 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
104 href="../common/glibc.xml"
105 xpointer="xpointer(//*[@os='n'])"/>
106
107 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
108 href="../common/glibc.xml"
109 xpointer="xpointer(//*[@os='o'])"/>
110
111 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
112 href="../common/glibc.xml"
113 xpointer="xpointer(//*[@os='p'])"/>
114
115 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
116 href="../common/glibc.xml"
117 xpointer="xpointer(//*[@os='q'])"/>
118
119 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
120 href="../common/glibc.xml"
121 xpointer="xpointer(//*[@os='r'])"/>
122
123 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
124 href="../common/glibc.xml"
125 xpointer="xpointer(//*[@os='s'])"/>
126
127 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
128 href="../common/glibc.xml"
129 xpointer="xpointer(//*[@os='t'])"/>
130
131 </sect2>
132
133 <sect2 role="content">
134 <title/>
135
136 <para>Details on this package are located in <xref
137 linkend="contents-glibc" role="."/></para>
138
139 </sect2>
140
141</sect1>
Note: See TracBrowser for help on using the repository browser.