Changeset ee72551


Ignore:
Timestamp:
Feb 21, 2006, 1:34:12 AM (18 years ago)
Author:
Jim Gifford <clfs@…>
Children:
9a636be
Parents:
d121bac
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


Files:
2 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • cross-tools/sparcv8/glibc.xml

    rd121bac ree72551  
    99  <?dbhtml filename="glibc.html"?>
    1010
    11   <title>Glibc-&glibc-linuxthreads-version;</title>
     11  <title>Glibc-&glibc-version;</title>
    1212
    1313  <indexterm zone="ch-cross-tools-glibc">
     
    3131    xpointer="xpointer(//*[@os='l1'])"/>
    3232
    33     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    34     href="../../final-system/sparcv8/glibc.xml"
    35     xpointer="xpointer(//*[@os='l2'])"/>
    36 
    37     <para os="l3">If you require libidn support, you can add it
    38     by unpacking <filename>glibc-libidn-&glibc-linuxthreads-version;</filename>
    39     tarball from within the <filename class="directory">glibc-&glibc-linuxthreads-version;</filename>
    40     directory. If you use libidn here, you will also need to build it during
    41     the final-system build.</para>
    42 
    43     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    44     href="../../final-system/sparcv8/glibc.xml"
    45     xpointer="xpointer(//*[@os='l4'])"/>
     33<screen os="l2"><userinput>cd ..
     34tar jxvf glibc-ports-&glibc-ports-version;.tar.bz2
     35cd glibc-ports-&glibc-ports-version;
     36mv linuxthreads* ../glibc-&glibc-version;
     37cd ../glibc-&glibc-version;</userinput></screen>
    4638
    4739    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    4941    xpointer="xpointer(//*[@os='db'])"/>
    5042
    51 <screen os="dc"><userinput>patch -Np1 -i ../&glibc-linuxthreads-libgcc_eh-patch;</userinput></screen>
     43    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     44    href="../common/glibc.xml"
     45    xpointer="xpointer(//*[@os='dc'])"/>
    5246
    5347    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6054
    6155    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    62     href="../../final-system/sparcv8/glibc.xml"
     56    href="../../final-system/sparc/glibc.xml"
    6357    xpointer="xpointer(//*[@os='s1'])"/>
    6458
    6559    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    66     href="../../final-system/sparcv8/glibc.xml"
     60    href="../../final-system/sparc/glibc.xml"
    6761    xpointer="xpointer(//*[@os='s2'])"/>
    6862
    6963    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7064    href="../../final-system/sparcv8/glibc.xml"
    71     xpointer="xpointer(//*[@os='l5'])"/>
     65    xpointer="xpointer(//*[@os='l3'])"/>
    7266
    7367    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7468    href="../../final-system/sparcv8/glibc.xml"
    75     xpointer="xpointer(//*[@os='l6'])"/>
     69    xpointer="xpointer(//*[@os='l4'])"/>
    7670
    7771    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    8781    xpointer="xpointer(//*[@os='g'])"/>
    8882
     83    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     84    href="../common/glibc.xml"
     85    xpointer="xpointer(//*[@os='df'])"/>
     86
    8987<screen os="df"><userinput>BUILD_CC="gcc" CC="${LFS_TARGET}-gcc" \
    9088    AR="${LFS_TARGET}-ar" RANLIB="${LFS_TARGET}-ranlib" \
    91     ../glibc-&glibc-linuxthreads-version;/configure --prefix=/tools \
     89    ../glibc-&glibc-version;/configure --prefix=/tools \
    9290    --host=${LFS_TARGET} --build=${LFS_HOST} \
    9391    --disable-profile --enable-add-ons --enable-kernel=2.6.0 \
  • final-system/sparcv8/glibc.xml

    rd121bac ree72551  
    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"
  • introduction/common/changelog.xml

    rd121bac ree72551  
    3737-->
    3838
     39    <listitem>
     40      <para>December 6, 2005</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[jim] - Upgraded to Glibc 20051107.</para>
     44        </listitem>
     45        <listitem>
     46          <para>[jim] - Sparcv8 now uses the same Glibc as the other architectures.</para>
     47        </listitem>
     48      </itemizedlist>
     49    </listitem>
    3950
    4051    <listitem>
  • materials/sparcv8-chapter.xml

    rd121bac ree72551  
    1313
    1414  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/introduction.xml"/>
    15   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/packages2.xml"/>
     15  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/packages.xml"/>
    1616  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparc/packages.xml"/>
    17   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patches2.xml"/>
     17  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patches.xml"/>
    1818  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sparcv8/patches.xml"/>
    1919
  • materials/sparcv8/patches.xml

    rd121bac ree72551  
    2121    xpointer="xpointer(//*[@os='gcc-specs-patch'])"/>
    2222
    23     <varlistentry os="glibc-sparc_gcc4_fixes-patch">
    24       <term>Glibc GCC4 Patch - 1 KB:</term>
    25       <listitem>
    26         <para><ulink
    27         url="&patches-root;glibc/&glibc-sparc_gcc4_fixes-patch;"/></para>
    28       </listitem>
    29     </varlistentry>
    30 
    3123    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3224    href="../sparc/patches.xml"
  • packages.ent

    rd121bac ree72551  
    9494<!ENTITY gettext-url "&gnu;gettext/gettext-&gettext-version;.tar.gz">
    9595
    96 <!ENTITY glibc-version "20051024">
    97 <!ENTITY glibc-size "14 MB">
     96<!ENTITY glibc-version "20051107">
     97<!ENTITY glibc-size "15 MB">
    9898<!ENTITY glibc-url "ftp://sources.redhat.com/pub/glibc/snapshots/glibc-&glibc-version;.tar.bz2">
    9999
    100 <!ENTITY glibc-linuxthreads-version "2.3.6">
    101 <!ENTITY glibc-linuxthreads-size "14 MB">
    102 <!ENTITY glibc-linuxthreads-url "&gnu;glibc/glibc-&glibc-linuxthreads-version;.tar.bz2">
    103 
    104 <!ENTITY glibc-linuxthreads-linuxthreads-size "238 KB">
    105 <!ENTITY glibc-linuxthreads-linuxthreads-url "&gnu;glibc/glibc-linuxthreads-&glibc-linuxthreads-version;.tar.bz2">
    106 
    107 <!ENTITY glibc-linuxthreads-libidn-size "99 KB">
    108 <!ENTITY glibc-linuxthreads-libidn-url "&gnu;glibc/glibc-libidn-&glibc-linuxthreads-version;.tar.bz2">
     100<!ENTITY glibc-ports-version "20051107">
     101<!ENTITY glibc-ports-size "472 KB">
     102<!ENTITY glibc-ports-url "ftp://sources.redhat.com/pub/glibc/snapshots/glibc-ports-&glibc-ports-version;.tar.bz2">
    109103
    110104<!ENTITY grep-version "2.5.1a">
Note: See TracChangeset for help on using the changeset viewer.