Changeset 9568bd5 in clfs-sysroot


Ignore:
Timestamp:
Jul 22, 2007, 11:10:48 PM (17 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
00520f6
Parents:
a074923
Message:

Updated Glibc to 2.6 and GCC to 4.2.1.

Location:
BOOK
Files:
1 added
12 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/alpha/glibc.xml

    ra074923 r9568bd5  
    5858    xpointer="xpointer(//*[@os='p8'])"/>
    5959
    60     <para os="a1">The following patch fixes some inline assembler in Glibc:</para>
     60    <para os="a1">The following patch makes sysdep-cancel use one region instead of two:</para>
    6161
    62 <screen os="a2"><userinput>patch -Np1 -i ../&glibc-ioperm_fix-patch;</userinput></screen>
    63 
    64     <para os="a3">The following patch adds sigsuspend_nocancel support to Glibc:</para>
    65 
    66 <screen os="a4"><userinput>patch -Np1 -i ../&glibc-alpha_sigsuspend-patch;</userinput></screen>
     62<screen os="a2"><userinput>patch -Np1 -i ../&glibc-sysdep_cancel-patch;</userinput></screen>
    6763
    6864    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/arm/glibc.xml

    ra074923 r9568bd5  
    6565    href="../common/glibc.xml"
    6666    xpointer="xpointer(//*[@os='p8'])"/>
     67
     68    <para os="ar1">The following patch defines RTLD_SINGLE_THREAD_P for arm.</para>
     69
     70<screen os="ar2"><userinput>patch -Np1 -i ../&glibc-RTLD_SINGLE_THREAD_P-patch;</userinput></screen>
    6771
    6872    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/hppa/glibc.xml

    ra074923 r9568bd5  
    6666    xpointer="xpointer(//*[@os='p8'])"/>
    6767
    68     <para os="p9">This patch adds the TLS reloc numbers so Glibc can compile
     68    <para os="hp1">This patch adds the TLS reloc numbers so Glibc can compile
    6969    with working NPTL support.</para>
    7070
    71 <screen os="p10"><userinput>patch -Np1 -i ../&glibc-hppa_nptl-patch;</userinput></screen>
     71<screen os="hp2"><userinput>patch -Np1 -i ../&glibc-hppa_nptl-patch;</userinput></screen>
    7272
    7373    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    9999    xpointer="xpointer(//*[@os='h'])"/>
    100100
    101     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    102     href="../common/glibc.xml"
    103     xpointer="xpointer(//*[@os='i'])"/>
     101<screen os="i"><userinput>BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \
     102    AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
     103    ../glibc-&glibc-version;/configure --prefix=/usr \
     104    --libexecdir=/usr/lib/glibc --host=${CLFS_TARGET} --build=${CLFS_HOST} \
     105    --disable-profile --enable-add-ons --with-tls --enable-kernel=2.6.9 \
     106    --with-__thread --with-binutils=${CLFS}/cross-tools/bin \
     107    --with-headers=${CLFS}/usr/include --cache-file=config.cache</userinput></screen>
    104108
    105109    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/cross-tools/x86-chapter.xml

    ra074923 r9568bd5  
    1919  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/glibc-headers.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-static.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/glibc.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x86/glibc.xml"/>
    2222  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gcc-final.xml"/>
    2323  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/>
  • BOOK/final-system/common/coreutils.xml

    ra074923 r9568bd5  
    3838<screen os="p4"><userinput>patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen>
    3939
    40     <para os="aa">When the uname patch was applied. A change was made to
    41     <filename>uname.c</filename>. This change is causing the man Makefile to
    42     try and regenerate the man page for uname. Since the compiled uname can
    43     not be executed the build will fail. The following command gives the uname
    44     man page a newer timestamp then <filename>uname.c</filename>.</para>
    45 
    46 <screen os="ab"><userinput>touch man/uname.1</userinput></screen>
     40    <para os="s1">The following command renames the internal implementation of
     41    futimens to gl_futimens as newer versions of Glibc provide an incompatible
     42    version:</para>
     43
     44<screen os="s2"><userinput>sed -i "s/futimens/gl_&amp;/" $(grep -lr futimens *)</userinput></screen>
     45
     46    <para os="aa">When the uname patch and the sed above were applied. The
     47    source files for uname and touch were updated. Because they have a newer
     48    timestamp then the man pages the <filename>Makefile</filename> is going to
     49    try to regenerate the man pages. If executables for the target architecture
     50    can not be executed by the host system, the build will fail. The following
     51    command gives the two man pages a newer timestamp then their cooresponding
     52    source files:</para>
     53
     54<screen os="ab"><userinput>touch man/uname.1 man/touch.1</userinput></screen>
    4755
    4856    <para os="a">Configure can not properly determine how to get free space
  • BOOK/final-system/common/gzip.xml

    ra074923 r9568bd5  
    2626    <title>Installation of Gzip</title>
    2727
     28    <para os="s1">The following command renames the internal implementation of
     29    futimens to gl_futimens as newer versions of Glibc provide an incompatible
     30    version:</para>
     31
     32<screen os="s2"><userinput>sed -i "s/futimens/gl_&amp;/" $(grep -lr futimens *)</userinput></screen>
     33
    2834    <para os="a">Prepare Gzip for compilation:</para>
    2935
  • BOOK/general.ent

    ra074923 r9568bd5  
    33<!ENTITY month "07"> <!-- Use two digits -->
    44<!ENTITY month_name "July">
    5 <!ENTITY day "01"> <!-- Use two digits -->
     5<!ENTITY day "22"> <!-- Use two digits -->
    66<!ENTITY year "2007"> <!-- Use four digits -->
    77
  • BOOK/introduction/common/changelog.xml

    ra074923 r9568bd5  
    3636    </listitem>
    3737-->
     38
     39    <listitem>
     40      <para>July 22, 2007</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[jciccone] - Updated GCC to 4.2.1.</para>
     44        </listitem>
     45        <listitem>
     46          <para>[jciccone] - Updated Glibc to 2.6.</para>
     47        </listitem>
     48      </itemizedlist>
     49    </listitem>
    3850
    3951    <listitem>
  • BOOK/materials/alpha/patches.xml

    ra074923 r9568bd5  
    1414
    1515    <varlistentry>
    16       <term>Glibc ioperm Fix Patch - <token>&glibc-ioperm_fix-patch-size;</token>:</term>
     16      <term>Glibc sysdep_cancel Patch - <token>&glibc-sysdep_cancel-patch-size;</token>:</term>
    1717      <listitem>
    1818        <para>Download: <ulink
    19         url="&patches-root;&glibc-ioperm_fix-patch;"/></para>
    20         <para>MD5 sum: <literal>&glibc-ioperm_fix-patch-md5;</literal></para>
    21       </listitem>
    22     </varlistentry>
    23 
    24     <varlistentry>
    25       <term>Glibc Alpha sigsuspend Patch - <token>&glibc-alpha_sigsuspend-patch-size;</token>:</term>
    26       <listitem>
    27         <para>Download: <ulink
    28         url="&patches-root;&glibc-alpha_sigsuspend-patch;"/></para>
    29         <para>MD5 sum: <literal>&glibc-alpha_sigsuspend-patch-md5;</literal></para>
     19        url="&patches-root;&glibc-sysdep_cancel-patch;"/></para>
     20        <para>MD5 sum: <literal>&glibc-sysdep_cancel-patch-md5;</literal></para>
    3021      </listitem>
    3122    </varlistentry>
  • BOOK/materials/arm/patches.xml

    ra074923 r9568bd5  
    1010
    1111  <title>Additional Patches for ARM</title>
    12 <!--
     12
    1313  <variablelist role="materials">
    1414
    15     <varlistentry os="coreutils-x86_uname-patch">
    16       <term>Coreutils Uname Patch - <token>&coreutils-x86_uname-patch-size;</token>:</term>
     15    <varlistentry>
     16      <term>Glibc RTLD_SINGLE_THREAD_P Patch - <token>&glibc-RTLD_SINGLE_THREAD_P-patch-size;</token>:</term>
    1717      <listitem>
    1818        <para>Download: <ulink
    19         url="&patches-root;coreutils/&coreutils-x86_uname-patch;"/></para>
    20         <para>MD5 sum: <literal>&coreutils-x86_uname-patch-md5;</literal></para>
     19        url="&patches-root;&glibc-RTLD_SINGLE_THREAD_P-patch;"/></para>
     20        <para>MD5 sum: <literal>&glibc-RTLD_SINGLE_THREAD_P-patch-md5;</literal></para>
    2121      </listitem>
    2222    </varlistentry>
    2323
    2424  </variablelist>
    25 -->
    2625
    2726  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/packages.ent

    ra074923 r9568bd5  
    9696<!ENTITY gawk-home "&gnu-software;gawk">
    9797
    98 <!ENTITY gcc-version "4.2.0">
    99 <!ENTITY gcc-size "43,076 KB">
     98<!ENTITY gcc-version "4.2.1">
     99<!ENTITY gcc-size "43,080 KB">
    100100<!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
    101 <!ENTITY gcc-md5 "4798c23548dc791ea12a139e18940684">
     101<!ENTITY gcc-md5 "cba410e6ff70f7d7f4be7a0267707fd0">
    102102<!ENTITY gcc-home "http://gcc.gnu.org">
    103103
     
    108108<!ENTITY gettext-home "&gnu-software;gettext">
    109109
    110 <!ENTITY glibc-version "2.5">
    111 <!ENTITY glibc-size "14,964 KB">
     110<!ENTITY glibc-version "2.6">
     111<!ENTITY glibc-size "15,292 KB">
    112112<!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.bz2">
    113 <!ENTITY glibc-md5 "1fb29764a6a650a4d5b409dda227ac9f">
     113<!ENTITY glibc-md5 "0f471d7cb29dd07786082ad23f787949">
    114114<!ENTITY glibc-home "&gnu-software;libc">
    115115<!ENTITY glibc-ld-name "ld-2.4.so">
    116116
    117117<!ENTITY glibc-ports-version "&glibc-version;">
    118 <!ENTITY glibc-ports-size "400 KB">
     118<!ENTITY glibc-ports-size "428 KB">
    119119<!ENTITY glibc-ports-url "&gnu;glibc/glibc-ports-&glibc-ports-version;.tar.bz2">
    120 <!ENTITY glibc-ports-md5 "183f6d46e8fa5e4b2aff240ab1586c2e">
     120<!ENTITY glibc-ports-md5 "4b2b2b4a445b12d4ab9ef709b3fe267f">
    121121<!ENTITY glibc-ports-home " ">
    122122
  • BOOK/patches.ent

    ra074923 r9568bd5  
    99<!ENTITY bash-fixes-patch-size "12 KB">
    1010
    11 <!ENTITY binutils-branch_update-patch "binutils-&binutils-version;-branch_update-2.patch">
    12 <!ENTITY binutils-branch_update-patch-md5 "cdbd02886c9fe9a28171ed9a277a67d6">
     11<!ENTITY binutils-branch_update-patch "binutils-&binutils-version;-branch_update-3.patch">
     12<!ENTITY binutils-branch_update-patch-md5 "ba11b8a0cda2a1851f31b76afd9bbd81">
    1313<!ENTITY binutils-branch_update-patch-size "24 KB">
    1414
     
    3434
    3535<!ENTITY gcc-posix-patch "gcc-&gcc-version;-posix-1.patch">
    36 <!ENTITY gcc-posix-patch-md5 "8df4fe6a9f77135ae1b0851786c40410">
     36<!ENTITY gcc-posix-patch-md5 "8ed72d052f9eead0c1498d7d57302a5f">
    3737<!ENTITY gcc-posix-patch-size "16 KB">
    3838
    39 <!ENTITY glibc-branch_update-patch "glibc-&glibc-version;-branch_update-3.patch">
    40 <!ENTITY glibc-branch_update-patch-md5 "0cb4331328ecfadc4fc81288fdbdb864">
    41 <!ENTITY glibc-branch_update-patch-size "1644 KB">
     39<!ENTITY glibc-branch_update-patch "glibc-&glibc-version;-branch_update-1.patch">
     40<!ENTITY glibc-branch_update-patch-md5 "2aab7386ba6ed5064d476789e85e482b">
     41<!ENTITY glibc-branch_update-patch-size "8 KB">
    4242
    43 <!ENTITY glibc-cross_hacks-patch "glibc-&glibc-version;-cross_hacks-2.patch">
    44 <!ENTITY glibc-cross_hacks-patch-md5 "b932942fea39a9beb2ba8a0664344493">
     43<!ENTITY glibc-cross_hacks-patch "glibc-&glibc-version;-cross_hacks-1.patch">
     44<!ENTITY glibc-cross_hacks-patch-md5 "1d07240424e85f802315ed193cc2c5bf">
    4545<!ENTITY glibc-cross_hacks-patch-size "20 KB">
    4646
    47 <!ENTITY glibc-libgcc_eh-patch "glibc-&glibc-version;-libgcc_eh-2.patch">
    48 <!ENTITY glibc-libgcc_eh-patch-md5 "0b7a671fd5f3cd4ce434cf534866b06a">
     47<!ENTITY glibc-libgcc_eh-patch "glibc-&glibc-version;-libgcc_eh-1.patch">
     48<!ENTITY glibc-libgcc_eh-patch-md5 "9488f9caf4e05fc9d1128b203c7a0680">
    4949<!ENTITY glibc-libgcc_eh-patch-size "8 KB">
    5050
    5151<!ENTITY glibc-localedef_segfault-patch "glibc-&glibc-version;-localedef_segfault-1.patch">
    52 <!ENTITY glibc-localedef_segfault-patch-md5 "42452abc6196789e0a83afa1ca7e6e4e">
     52<!ENTITY glibc-localedef_segfault-patch-md5 "3ce6946b16e90a73d90ac701a5940709">
    5353<!ENTITY glibc-localedef_segfault-patch-size "1.9 KB">
    5454
     
    6969<!ENTITY ncurses-bashfix-patch-size "4 KB">
    7070
    71 <!ENTITY perl-cross_compile-patch "perl-&perl-version;-cross_compile-4.patch">
    72 <!ENTITY perl-cross_compile-patch-md5 "fbcae6d579057d28c6da155e40a2e448">
    73 <!ENTITY perl-cross_compile-patch-size "136 KB">
     71<!ENTITY perl-cross_compile-patch "perl-&perl-version;-cross_compile-5.patch">
     72<!ENTITY perl-cross_compile-patch-md5 "7bbb78618e2dd95987ad04c6c54a81c6">
     73<!ENTITY perl-cross_compile-patch-size "140 KB">
    7474
    7575<!ENTITY perl-gcc42_fix-patch "perl-&perl-version;-gcc42_fix-1.patch">
     
    127127<!-- Alpha Specific Patches -->
    128128
    129 <!ENTITY glibc-ioperm_fix-patch "glibc-&glibc-version;-alpha_ioperm_fix-1.patch">
    130 <!ENTITY glibc-ioperm_fix-patch-md5 "3a50c4055d2f72248eb656eb2d15edec">
    131 <!ENTITY glibc-ioperm_fix-patch-size "4 KB">
    132 
    133 <!ENTITY glibc-alpha_sigsuspend-patch "glibc-&glibc-version;-alpha_sigsuspend-1.patch">
    134 <!ENTITY glibc-alpha_sigsuspend-patch-md5 "e35c13eb4371388b2ffa75418649ffe2">
    135 <!ENTITY glibc-alpha_sigsuspend-patch-size "4 KB">
     129<!ENTITY glibc-sysdep_cancel-patch "glibc-&glibc-version;-sysdep_cancel-1.patch">
     130<!ENTITY glibc-sysdep_cancel-patch-md5 "6b3f61df100c88e616b1e8aea81f98ce">
     131<!ENTITY glibc-sysdep_cancel-patch-size "4 KB">
    136132
    137133<!ENTITY linux-io_fix-patch "linux-&linux-version;-alpha_io_fix-1.patch">
    138134<!ENTITY linux-io_fix-patch-md5 "7a680d8c9978044955e6ef4f6a7358c1">
    139135<!ENTITY linux-io_fix-patch-size "4 KB">
     136
     137<!-- ARM Specific Patches -->
     138
     139<!ENTITY glibc-RTLD_SINGLE_THREAD_P-patch "glibc-&glibc-version;-RTLD_SINGLE_THREAD_P-1.patch">
     140<!ENTITY glibc-RTLD_SINGLE_THREAD_P-patch-md5 "3bb0167752997d3ccf5e2b41595bd7b3">
     141<!ENTITY glibc-RTLD_SINGLE_THREAD_P-patch-size "4 KB">
    140142
    141143<!-- PA-RISC Specific Patches -->
     
    146148
    147149<!ENTITY glibc-hppa_nptl-patch "glibc-&glibc-version;-hppa_nptl-1.patch">
    148 <!ENTITY glibc-hppa_nptl-patch-md5 "25cfa673cbc940fde3638d1abf54fd79">
     150<!ENTITY glibc-hppa_nptl-patch-md5 "fd059ea12d885bc3bfa18a39d9a4949f">
    149151<!ENTITY glibc-hppa_nptl-patch-size "4 KB">
Note: See TracChangeset for help on using the changeset viewer.