Changeset b370497 for BOOK/final-system
- Timestamp:
- Feb 21, 2006, 1:34:12 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 89bb375
- Parents:
- 4e3e507
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/sparcv8/glibc.xml
r4e3e507 rb370497 7 7 8 8 <sect1 id="ch-system-glibc" role="wrap"> 9 <title>Glibc-&glibc- linuxthreads-version;</title>9 <title>Glibc-&glibc-version;</title> 10 10 11 11 <?dbhtml filename="glibc.html"?> … … 30 30 xpointer="xpointer(//*[@os='b'])"/> 31 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> 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../common/glibc.xml" 34 xpointer="xpointer(//*[@os='c'])"/> 48 35 49 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 50 37 href="../common/glibc.xml" 51 xpointer="xpointer(//*[@os=' b'])"/>38 xpointer="xpointer(//*[@os='d'])"/> 52 39 53 <screen os="d"><userinput>patch -Np1 -i ../&glibc-linuxthreads-localedef_segfault-patch;</userinput></screen> 40 <para os="l1">This architecture does not support NPTL. So we need to untar the 41 <filename>glibc-ports-&glibc-ports-version;.tar.bz2</filename> and move the 42 linuxthreads directories. The following commands will accomplish the task:</para> 54 43 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. 44 <screen os="l2"><userinput>tar jxvf glibc-ports-&glibc-ports-version;.tar.bz2 \ 45 --strip-components=1 glibc-&glibc-ports-version;/linuxthreads*</userinput></screen> 46 47 <para os="l3">NPTL is not supported on Sparc v8 and below, so we need to remove the NPTL from our build. 61 48 We do this by removing the NPTL directories:</para> 62 49 63 <screen os="l 6"><userinput>rm -rf nptl*</userinput></screen>50 <screen os="l4"><userinput>rm -rf nptl*</userinput></screen> 64 51 65 52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 75 62 xpointer="xpointer(//*[@os='g'])"/> 76 63 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>64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 href="../common/glibc.xml" 66 xpointer="xpointer(//*[@os='h'])"/> 80 67 81 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note:
See TracChangeset
for help on using the changeset viewer.