source: BOOK/final-system/multilib/eglibc.xml@ 06b2d12

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 06b2d12 was 91044db, checked in by William Harrington <kb0iic@…>, 12 years ago

Remove multiarch wrapper testcase test link commands and fix book for the removal of eglibc-dl_dep_fix-patch token.

  • Property mode set to 100644
File size: 5.1 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 <para os="l5">RPC headers are not installed at /tools/include/rpc. Eglibc 32 bit build will get into a bad state due to the new rpc helpers that get cross-compiled. We do not want this, so the following command will use the internal rpc types header.</para>
46
47<screen os="l6"><userinput>sed -i 's/&lt;rpc\/types.h&gt;/"rpc\/types.h"/' sunrpc/rpc_clntout.c</userinput></screen>
48
49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
50 href="../common/eglibc.xml"
51 xpointer="xpointer(//*[@os='p3'])"/>
52
53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
54 href="../common/eglibc.xml"
55 xpointer="xpointer(//*[@os='p4'])"/>
56
57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
58 href="../common/eglibc.xml"
59 xpointer="xpointer(//*[@os='b'])"/>
60
61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
62 href="../common/eglibc.xml"
63 xpointer="xpointer(//*[@os='e'])"/>
64
65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
66 href="../common/eglibc.xml"
67 xpointer="xpointer(//*[@os='f'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
70 href="../common/eglibc.xml"
71 xpointer="xpointer(//*[@os='g'])"/>
72
73<screen os="h"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
74 ../eglibc-&eglibc-version;/configure --prefix=/usr \
75 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
76 --libexecdir=/usr/lib/eglibc --host=${CLFS_TARGET32}</userinput></screen>
77
78 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
79 href="../common/eglibc.xml"
80 xpointer="xpointer(//*[@os='i'])"/>
81
82 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
83 href="../common/eglibc.xml"
84 xpointer="xpointer(//*[@os='j'])"/>
85
86 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
87 href="../common/eglibc.xml"
88 xpointer="xpointer(//*[@os='k'])"/>
89
90 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
91 href="../common/eglibc.xml"
92 xpointer="xpointer(//*[@os='l'])"/>
93
94 <para os="l1b">In multilib, we tend to think that compiling for
95 <literal>${CLFS_TARGET32}</literal> is <emphasis>not</emphasis>
96 cross-compiling. EGLIBC takes the traditional view that if you are building
97 for a different host then you are cross-compiling, so you won't be running
98 the tests and therefore you don't need the locale files. When we run
99 the tests, many will fail if the locale files are missing. The following
100 sed allows these tests to succeed:</para>
101
102<screen os="l2b"><userinput>sed -i '/cross-compiling/s@ifeq@ifneq@g' ../eglibc-&eglibc-version;/localedata/Makefile</userinput></screen>
103
104 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
105 href="../common/eglibc.xml"
106 xpointer="xpointer(//*[@os='m'])"/>
107
108 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
109 href="../common/eglibc.xml"
110 xpointer="xpointer(//*[@os='n'])"/>
111
112 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
113 href="../common/eglibc.xml"
114 xpointer="xpointer(//*[@os='o'])"/>
115
116 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
117 href="../common/eglibc.xml"
118 xpointer="xpointer(//*[@os='p'])"/>
119
120 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
121 href="../common/eglibc.xml"
122 xpointer="xpointer(//*[@os='q'])"/>
123
124 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
125 href="../common/eglibc.xml"
126 xpointer="xpointer(//*[@os='r'])"/>
127
128 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
129 href="../common/eglibc.xml"
130 xpointer="xpointer(//*[@os='s'])"/>
131
132 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
133 href="../common/eglibc.xml"
134 xpointer="xpointer(//*[@os='t'])"/>
135
136 </sect2>
137
138 <sect2 role="content">
139 <title/>
140
141 <para>Details on this package are located in <xref
142 linkend="contents-eglibc" role="."/></para>
143
144 </sect2>
145
146</sect1>
Note: See TracBrowser for help on using the repository browser.