source: BOOK/final-system/mips64/eglibc-n32.xml@ de4abd5

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since de4abd5 was 57b3f19, checked in by Jonathan Norman <jon@…>, 13 years ago

Added a patch to Eglibc final to fix a segfault issue with ALSA

  • 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-n32" role="wrap">
9 <?dbhtml filename="eglibc-n32.html"?>
10
11 <title>EGLIBC-&eglibc-version; N32</title>
12
13 <indexterm zone="ch-system-eglibc-n32">
14 <primary sortas="a-EGLIBC">EGLIBC</primary>
15 </indexterm>
16
17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
18 href="eglibc.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of EGLIBC</title>
23
24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
25 href="../common/eglibc.xml"
26 xpointer="xpointer(//*[@os='l1'])"/>
27
28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
29 href="../common/eglibc.xml"
30 xpointer="xpointer(//*[@os='l2'])"/>
31
32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
33 href="../common/eglibc.xml"
34 xpointer="xpointer(//*[@os='l3'])"/>
35
36<screen os="l4"><userinput>LINKER=$(readelf -l /tools/bin/bash | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
37sed -i "s|libs -o|libs -L/usr/lib32 -Wl,-dynamic-linker=${LINKER} -o|" \
38 scripts/test-installation.pl
39unset LINKER</userinput></screen>
40
41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
42 href="../common/eglibc.xml"
43 xpointer="xpointer(//*[@os='p1'])"/>
44
45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
46 href="../common/eglibc.xml"
47 xpointer="xpointer(//*[@os='p2'])"/>
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="eglibc.xml"
59 xpointer="xpointer(//*[@os='b'])"/>
60
61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
62 href="eglibc.xml"
63 xpointer="xpointer(//*[@os='g1'])"/>
64
65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
66 href="eglibc.xml"
67 xpointer="xpointer(//*[@os='g2'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
70 href="eglibc-64bit.xml"
71 xpointer="xpointer(//*[@os='m3'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
74 href="eglibc-64bit.xml"
75 xpointer="xpointer(//*[@os='m4'])"/>
76
77 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
78 href="eglibc.xml"
79 xpointer="xpointer(//*[@os='e'])"/>
80
81 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
82 href="eglibc.xml"
83 xpointer="xpointer(//*[@os='f'])"/>
84
85 <para os="m1">Tell EGLIBC to install its 32-bit libraries into
86 <filename class="directory">/lib32</filename>:</para>
87
88<screen os="m2"><userinput>echo "slibdir=/lib32" &gt;&gt; configparms</userinput></screen>
89
90 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
91 href="eglibc.xml"
92 xpointer="xpointer(//*[@os='g'])"/>
93
94<screen os="h"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
95 ../eglibc-&eglibc-version;/configure --prefix=/usr \
96 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
97 --libexecdir=/usr/lib32/eglibc --libdir=/usr/lib32</userinput></screen>
98
99 <variablelist os="i">
100 <title>The meaning of the new configure option:</title>
101
102 <varlistentry>
103 <term><parameter>--libexecdir=/usr/lib32/eglibc</parameter></term>
104 <listitem>
105 <para>This changes the location of the <command>pt_chown</command>
106 program from its default of <filename
107 class="directory">/usr/libexec</filename> to <filename
108 class="directory">/usr/lib32/eglibc</filename>.</para>
109 </listitem>
110 </varlistentry>
111 </variablelist>
112
113 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
114 href="eglibc.xml"
115 xpointer="xpointer(//*[@os='j'])"/>
116
117 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
118 href="eglibc.xml"
119 xpointer="xpointer(//*[@os='k'])"/>
120
121 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
122 href="eglibc.xml"
123 xpointer="xpointer(//*[@os='l'])"/>
124
125 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
126 href="eglibc.xml"
127 xpointer="xpointer(//*[@os='m'])"/>
128
129 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
130 href="../multilib/eglibc-64bit.xml"
131 xpointer="xpointer(//*[@os='n'])"/>
132
133 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
134 href="../multilib/eglibc-64bit.xml"
135 xpointer="xpointer(//*[@os='o'])"/>
136
137 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
138 href="../multilib/eglibc-64bit.xml"
139 xpointer="xpointer(//*[@os='p'])"/>
140
141 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
142 href="eglibc.xml"
143 xpointer="xpointer(//*[@os='s'])"/>
144
145 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
146 href="eglibc.xml"
147 xpointer="xpointer(//*[@os='t'])"/>
148
149 </sect2>
150
151 <sect2 role="content">
152 <title/>
153
154 <para>Details on this package are located in <xref
155 linkend="contents-eglibc" role="."/></para>
156
157 </sect2>
158
159</sect1>
Note: See TracBrowser for help on using the repository browser.