[93d0ea2c] | 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="l5">NPTL is not supported on Sparc v8 and below, so we need to remove the NPTL from our build.
|
---|
| 56 | We do this by removing the NPTL directories:</para>
|
---|
| 57 |
|
---|
| 58 | <screen os="l6"><userinput>rm -rf nptl*</userinput></screen>
|
---|
| 59 |
|
---|
| 60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 61 | href="../common/glibc.xml"
|
---|
| 62 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 63 |
|
---|
| 64 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 65 | href="../common/glibc.xml"
|
---|
| 66 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 67 |
|
---|
| 68 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 69 | href="../common/glibc.xml"
|
---|
| 70 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 71 |
|
---|
| 72 | <screen os="h"><userinput>../glibc-&glibc-linuxthreads-version;/configure --prefix=/usr \
|
---|
| 73 | --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
|
---|
| 74 | --libexecdir=/usr/lib/glibc</userinput></screen>
|
---|
| 75 |
|
---|
| 76 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 77 | href="../common/glibc.xml"
|
---|
| 78 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
| 79 |
|
---|
| 80 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 81 | href="../common/glibc.xml"
|
---|
| 82 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 83 |
|
---|
| 84 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 85 | href="../common/glibc.xml"
|
---|
| 86 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
| 87 |
|
---|
| 88 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 89 | href="../common/glibc.xml"
|
---|
| 90 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
| 91 |
|
---|
| 92 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 93 | href="../common/glibc.xml"
|
---|
| 94 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
| 95 |
|
---|
| 96 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 97 | href="../multilib/glibc-64bit.xml"
|
---|
| 98 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
| 99 |
|
---|
| 100 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 101 | href="../multilib/glibc-64bit.xml"
|
---|
| 102 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
| 103 |
|
---|
| 104 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 105 | href="../multilib/glibc-64bit.xml"
|
---|
| 106 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
| 107 |
|
---|
| 108 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 109 | href="../common/glibc.xml"
|
---|
| 110 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
| 111 |
|
---|
| 112 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 113 | href="../common/glibc.xml"
|
---|
| 114 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
| 115 |
|
---|
| 116 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 117 | href="../common/glibc.xml"
|
---|
| 118 | xpointer="xpointer(//*[@os='s'])"/>
|
---|
| 119 |
|
---|
| 120 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 121 | href="../common/glibc.xml"
|
---|
| 122 | xpointer="xpointer(//*[@os='t'])"/>
|
---|
| 123 |
|
---|
| 124 | </sect2>
|
---|
| 125 |
|
---|
| 126 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 127 | href="../common/glibc.xml"
|
---|
| 128 | xpointer="xpointer(id('i18n-glibc'))"/>
|
---|
| 129 |
|
---|
| 130 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 131 | href="../common/glibc.xml"
|
---|
| 132 | xpointer="xpointer(id('conf-glibc'))"/>
|
---|
| 133 |
|
---|
| 134 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 135 | href="../common/glibc.xml"
|
---|
| 136 | xpointer="xpointer(id('conf-ld'))"/>
|
---|
| 137 |
|
---|
| 138 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 139 | href="../common/glibc.xml"
|
---|
| 140 | xpointer="xpointer(id('contents-glibc'))"/>
|
---|
| 141 |
|
---|
| 142 | </sect1>
|
---|