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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8df8e62 was 093b0e8, checked in by Jim Gifford <clfs@…>, 15 years ago

Cross-LFS moved to Eglibc 2.10.1

  • Property mode set to 100644
File size: 4.5 KB
RevLine 
[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
18 <xi:include xmlns:xi="http://www.w3.org/2003/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
25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]26 href="../common/eglibc.xml"
[a80ea23]27 xpointer="xpointer(//*[@os='z'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]30 href="../common/eglibc.xml"
[a80ea23]31 xpointer="xpointer(//*[@os='b'])"/>
32
[515ca2c]33 <para os="u1">The powerpc (32) architecture is expected to fail the
34 check-textrel tests because it cannot protect some elf segments in
35 shared libraries from being executable and writable. Using the default
36 64-bit compiler means the test runs as <literal>__powerpc64__</literal>
37 which is <emphasis>not</emphasis> expected to fail. The problem only exists
38 in 32-bit, the 64-bit ABI allows the segments to be protected.</para>
39
40 <para os="u2">Other distributions alter gcc to default to 32-bits and
41 so do not see this failure. Whether they then test correctly on 64-bit
42 libraries is not our problem.</para>
43
44 <para os="u3">Force the test to use the 32-bit compiler with the following
45 <command>sed</command> :</para>
46
47<screen os="u4"><userinput>sed -i "s/\(^check-textrel-CFLAGS = \)/\1 ${BUILD32} /" elf/Makefile</userinput></screen>
48
[a80ea23]49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]50 href="../common/eglibc.xml"
[a80ea23]51 xpointer="xpointer(//*[@os='e'])"/>
52
53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]54 href="../common/eglibc.xml"
[a80ea23]55 xpointer="xpointer(//*[@os='f'])"/>
56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]58 href="../common/eglibc.xml"
[a80ea23]59 xpointer="xpointer(//*[@os='g'])"/>
60
61<screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
[093b0e8]62 ../eglibc-&eglibc-version;/configure --prefix=/usr \
[a80ea23]63 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
[093b0e8]64 --libexecdir=/usr/lib/eglibc --host=${CLFS_TARGET32}</userinput></screen>
[a80ea23]65
66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]67 href="../common/eglibc.xml"
[a80ea23]68 xpointer="xpointer(//*[@os='i'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]71 href="../common/eglibc.xml"
[a80ea23]72 xpointer="xpointer(//*[@os='j'])"/>
73
74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]75 href="../common/eglibc.xml"
[a80ea23]76 xpointer="xpointer(//*[@os='k'])"/>
77
78 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]79 href="../common/eglibc.xml"
[a80ea23]80 xpointer="xpointer(//*[@os='l'])"/>
81
[44aaa3d0]82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]83 href="../multilib/eglibc.xml"
[44aaa3d0]84 xpointer="xpointer(//*[@os='l1'])"/>
85
86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]87 href="../multilib/eglibc.xml"
[44aaa3d0]88 xpointer="xpointer(//*[@os='l2'])"/>
89
[a80ea23]90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]91 href="../common/eglibc.xml"
[a80ea23]92 xpointer="xpointer(//*[@os='m'])"/>
93
94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]95 href="../common/eglibc.xml"
[a80ea23]96 xpointer="xpointer(//*[@os='n'])"/>
97
98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]99 href="../common/eglibc.xml"
[a80ea23]100 xpointer="xpointer(//*[@os='o'])"/>
101
102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]103 href="../common/eglibc.xml"
[a80ea23]104 xpointer="xpointer(//*[@os='p'])"/>
105
106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]107 href="../common/eglibc.xml"
[a80ea23]108 xpointer="xpointer(//*[@os='q'])"/>
109
110 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]111 href="../common/eglibc.xml"
[a80ea23]112 xpointer="xpointer(//*[@os='r'])"/>
113
114 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]115 href="../common/eglibc.xml"
[a80ea23]116 xpointer="xpointer(//*[@os='s'])"/>
117
118 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[093b0e8]119 href="../common/eglibc.xml"
[a80ea23]120 xpointer="xpointer(//*[@os='t'])"/>
121
122 </sect2>
123
124 <sect2 role="content">
125 <title/>
126
127 <para>Details on this package are located in <xref
[093b0e8]128 linkend="contents-eglibc" role="."/></para>
[a80ea23]129
130 </sect2>
131
132</sect1>
Note: See TracBrowser for help on using the repository browser.