source: BOOK/final-system/sparcv8/glibc.xml@ 7e3201e

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7e3201e was ade6ab2, checked in by Jim Gifford <clfs@…>, 19 years ago

r809@server (orig r807): jim | 2005-12-02 22:08:12 -0800

r892@server: jim | 2005-12-02 22:06:06 -0800
Text Updates


  • Property mode set to 100644
File size: 5.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-glibc" role="wrap">
9 <title>Glibc-&glibc-linuxthreads-version;</title>
10
11 <?dbhtml filename="glibc.html"?>
12
13 <indexterm zone="ch-system-glibc">
14 <primary sortas="a-Glibc">Glibc</primary>
15 </indexterm>
16
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../common/glibc.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of Glibc</title>
23
24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
25 href="../common/glibc.xml"
26 xpointer="xpointer(//*[@os='z'])"/>
27
28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
29 href="../common/glibc.xml"
30 xpointer="xpointer(//*[@os='b'])"/>
31
32 <para os="l1">This architecture does not currently support NPTL, so we will
33 have to include Glibc Linuxthreads as a threading library. Building
34 for a Linuxthreads based glibc you will need to unpack the
35 <filename>glibc-linuxthreads-&glibc-linuxthreads-version;</filename> tarball from
36 within the <filename class="directory">glibc-&glibc-linuxthreads-version;</filename>
37 directory.</para>
38
39<screen os="l2"><userinput>tar -xjvf /sources/glibc-linuxthreads-&glibc-linuxthreads-version;.tar.bz2</userinput></screen>
40
41 <para os="l3">If you require libidn support, you can add it
42 by unpacking <filename>glibc-libidn-&glibc-linuxthreads-version;</filename>
43 tarball from within the <filename class="directory">glibc-&glibc-linuxthreads-version;</filename>
44 directory. If you used libidn during your cross-tools build, you will need to add it
45 here also.</para>
46
47<screen os="l4"><userinput>tar -xjvf /sources/glibc-libidn-&glibc-linuxthreads-version;.tar.bz2</userinput></screen>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="../common/glibc.xml"
51 xpointer="xpointer(//*[@os='b'])"/>
52
53<screen os="d"><userinput>patch -Np1 -i ../&glibc-linuxthreads-localedef_segfault-patch;</userinput></screen>
54
55 <para os="s1">This patch will fix an obsolete gcc option that was removed in
56 GCC 4.x:</para>
57
58<screen os="s2"><userinput>patch -Np1 -i ../&glibc-sparc_gcc4_fixes-patch;</userinput></screen>
59
60 <para os="l5">NPTL is not supported on Sparc v8 and below, so we need to remove the NPTL from our build.
61 We do this by removing the NPTL directories:</para>
62
63<screen os="l6"><userinput>rm -rf nptl*</userinput></screen>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../common/glibc.xml"
67 xpointer="xpointer(//*[@os='e'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="../common/glibc.xml"
71 xpointer="xpointer(//*[@os='f'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../common/glibc.xml"
75 xpointer="xpointer(//*[@os='g'])"/>
76
77<screen os="h"><userinput>../glibc-&glibc-linuxthreads-version;/configure --prefix=/usr \
78 --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
79 --libexecdir=/usr/lib/glibc</userinput></screen>
80
81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82 href="../common/glibc.xml"
83 xpointer="xpointer(//*[@os='i'])"/>
84
85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
86 href="../common/glibc.xml"
87 xpointer="xpointer(//*[@os='j'])"/>
88
89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
90 href="../common/glibc.xml"
91 xpointer="xpointer(//*[@os='k'])"/>
92
93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
94 href="../common/glibc.xml"
95 xpointer="xpointer(//*[@os='l'])"/>
96
97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
98 href="../common/glibc.xml"
99 xpointer="xpointer(//*[@os='m'])"/>
100
101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
102 href="../multilib/glibc-64bit.xml"
103 xpointer="xpointer(//*[@os='n'])"/>
104
105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
106 href="../multilib/glibc-64bit.xml"
107 xpointer="xpointer(//*[@os='o'])"/>
108
109 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
110 href="../multilib/glibc-64bit.xml"
111 xpointer="xpointer(//*[@os='p'])"/>
112
113 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
114 href="../common/glibc.xml"
115 xpointer="xpointer(//*[@os='q'])"/>
116
117 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
118 href="../common/glibc.xml"
119 xpointer="xpointer(//*[@os='r'])"/>
120
121 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
122 href="../common/glibc.xml"
123 xpointer="xpointer(//*[@os='s'])"/>
124
125 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
126 href="../common/glibc.xml"
127 xpointer="xpointer(//*[@os='t'])"/>
128
129 </sect2>
130
131 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
132 href="../common/glibc.xml"
133 xpointer="xpointer(id('i18n-glibc'))"/>
134
135 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
136 href="../common/glibc.xml"
137 xpointer="xpointer(id('conf-glibc'))"/>
138
139 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
140 href="../common/glibc.xml"
141 xpointer="xpointer(id('conf-ld'))"/>
142
143 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
144 href="../common/glibc.xml"
145 xpointer="xpointer(id('contents-glibc'))"/>
146
147</sect1>
Note: See TracBrowser for help on using the repository browser.