Ignore:
Timestamp:
Feb 21, 2006, 1:34:12 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
89bb375
Parents:
4e3e507
Message:

r837@server (orig r835): jim | 2005-12-05 22:59:36 -0800

r946@server: jim | 2005-12-05 22:04:48 -0800
Update to Glibc 20051107. This fix also incorporates a newer glibc package for sparcv8 glibc-ports. This will allow sparcv8 to use the same Glibc as the rest of the builds to keep consistency


File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/sparcv8/glibc.xml

    r4e3e507 rb370497  
    77
    88<sect1 id="ch-system-glibc" role="wrap">
    9   <title>Glibc-&glibc-linuxthreads-version;</title>
     9  <title>Glibc-&glibc-version;</title>
    1010
    1111  <?dbhtml filename="glibc.html"?>
     
    3030    xpointer="xpointer(//*[@os='b'])"/>
    3131
    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'])"/>
    4835
    4936    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    5037    href="../common/glibc.xml"
    51     xpointer="xpointer(//*[@os='b'])"/>
     38    xpointer="xpointer(//*[@os='d'])"/>
    5239
    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
     42linuxthreads directories. The following commands will accomplish the task:</para>
    5443
    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.
    6148    We do this by removing the NPTL directories:</para>
    6249
    63 <screen os="l6"><userinput>rm -rf nptl*</userinput></screen>
     50<screen os="l4"><userinput>rm -rf nptl*</userinput></screen>
    6451
    6552    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    7562    xpointer="xpointer(//*[@os='g'])"/>
    7663
    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'])"/>
    8067
    8168    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
Note: See TracChangeset for help on using the changeset viewer.