[Clfs-commits] commit: r4311 - in /branches/clfs-sysroot: BOOK/ BOOK/cross-tools/ BOOK/cross-tools/common/ BOOK/final-system/common/ BOOK/materials/common/ patches/

svn at cross-lfs.org svn at cross-lfs.org
Sun Jan 4 11:57:46 PST 2009


Author: jciccone
Date: Sun Jan  4 19:57:46 2009
New Revision: 4311

Log:
Add the GCC Branch Update Patch.

Added:
    branches/clfs-sysroot/patches/gcc-4.3.2-branch_update-1.patch
      - copied unchanged from r4304, trunk/patches/gcc-4.3.2-branch_update-1.patch
Modified:
    branches/clfs-sysroot/BOOK/cross-tools/alpha-chapter.xml
    branches/clfs-sysroot/BOOK/cross-tools/arm-chapter.xml
    branches/clfs-sysroot/BOOK/cross-tools/common/gcc-final.xml
    branches/clfs-sysroot/BOOK/cross-tools/common/gcc-static.xml
    branches/clfs-sysroot/BOOK/cross-tools/common/ncurses.xml
    branches/clfs-sysroot/BOOK/cross-tools/hppa-chapter.xml
    branches/clfs-sysroot/BOOK/cross-tools/x86-chapter.xml
    branches/clfs-sysroot/BOOK/final-system/common/coreutils.xml
    branches/clfs-sysroot/BOOK/final-system/common/gcc.xml
    branches/clfs-sysroot/BOOK/materials/common/patches.xml
    branches/clfs-sysroot/BOOK/patches.ent

Modified: branches/clfs-sysroot/BOOK/cross-tools/alpha-chapter.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/cross-tools/alpha-chapter.xml (original)
+++ branches/clfs-sysroot/BOOK/cross-tools/alpha-chapter.xml Sun Jan  4 19:57:46 2009
@@ -24,5 +24,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/groff.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/shadow.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses.xml"/>
 
 </chapter>

Modified: branches/clfs-sysroot/BOOK/cross-tools/arm-chapter.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/cross-tools/arm-chapter.xml (original)
+++ branches/clfs-sysroot/BOOK/cross-tools/arm-chapter.xml Sun Jan  4 19:57:46 2009
@@ -24,5 +24,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/groff.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/shadow.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses.xml"/>
 
 </chapter>

Modified: branches/clfs-sysroot/BOOK/cross-tools/common/gcc-final.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/cross-tools/common/gcc-final.xml (original)
+++ branches/clfs-sysroot/BOOK/cross-tools/common/gcc-final.xml Sun Jan  4 19:57:46 2009
@@ -29,6 +29,14 @@
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../final-system/common/gcc.xml"
     xpointer="xpointer(//*[@os='p2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/gcc.xml"
+    xpointer="xpointer(//*[@os='p3'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/gcc.xml"
+    xpointer="xpointer(//*[@os='p4'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="gcc-static.xml"

Modified: branches/clfs-sysroot/BOOK/cross-tools/common/gcc-static.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/cross-tools/common/gcc-static.xml (original)
+++ branches/clfs-sysroot/BOOK/cross-tools/common/gcc-static.xml Sun Jan  4 19:57:46 2009
@@ -30,6 +30,14 @@
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../final-system/common/gcc.xml"
     xpointer="xpointer(//*[@os='p2'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/gcc.xml"
+    xpointer="xpointer(//*[@os='p3'])"/>
+
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+    href="../../final-system/common/gcc.xml"
+    xpointer="xpointer(//*[@os='p4'])"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     href="../../final-system/common/gcc.xml"

Modified: branches/clfs-sysroot/BOOK/cross-tools/common/ncurses.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/cross-tools/common/ncurses.xml (original)
+++ branches/clfs-sysroot/BOOK/cross-tools/common/ncurses.xml Sun Jan  4 19:57:46 2009
@@ -41,7 +41,7 @@
 
     <para os="e">Install <command>tic</command> with the following command:</para>
 
-<screen os="f"><userinput>install -m755 progs/tic /cross-tools/bin</userinput></screen>
+<screen os="f"><userinput>install -m755 progs/tic ${CLFS}/cross-tools/bin</userinput></screen>
 
   </sect2>
 

Modified: branches/clfs-sysroot/BOOK/cross-tools/hppa-chapter.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/cross-tools/hppa-chapter.xml (original)
+++ branches/clfs-sysroot/BOOK/cross-tools/hppa-chapter.xml Sun Jan  4 19:57:46 2009
@@ -24,5 +24,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/groff.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/shadow.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses.xml"/>
 
 </chapter>

Modified: branches/clfs-sysroot/BOOK/cross-tools/x86-chapter.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/cross-tools/x86-chapter.xml (original)
+++ branches/clfs-sysroot/BOOK/cross-tools/x86-chapter.xml Sun Jan  4 19:57:46 2009
@@ -24,5 +24,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/groff.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/shadow.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/ncurses.xml"/>
 
 </chapter>

Modified: branches/clfs-sysroot/BOOK/final-system/common/coreutils.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/final-system/common/coreutils.xml (original)
+++ branches/clfs-sysroot/BOOK/final-system/common/coreutils.xml Sun Jan  4 19:57:46 2009
@@ -31,12 +31,6 @@
     fixes this behavior for all architectures:</para>
 
 <screen os="p2"><userinput>patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen>
-
-    <para os="s1">The following command renames the internal implementation of
-    futimens to gl_futimens as newer versions of Glibc provide an incompatible
-    version:</para>
-
-<screen os="s2"><userinput>sed -i "s/futimens/gl_&/" $(grep -lr futimens *)</userinput></screen>
 
     <para os="aa">When the uname patch and the sed above were applied. The
     source files for uname and touch were updated. Because they have a newer
@@ -46,7 +40,16 @@
     command fixes this by giving the two man pages a newer timestamp then their
     cooresponding source files:</para>
 
-<screen os="ab"><userinput>touch man/uname.1 man/touch.1</userinput></screen>
+<screen os="ab"><userinput>touch man/uname.1 man/touch.1 man/hostname.1</userinput></screen>
+
+    <para os="s1">Coreutils attempts to use the <command>install</command>
+    program it just built to perform the install. This will not work if the
+    target architecture is incompatible with the host architecture. The
+    following command causes the Makefile to use the host's
+    <command>install</command> to perform the install:</para>
+
+<screen os="s2"><userinput>cp -v src/Makefile.in{,.orig}
+sed -e "/binPROGRAMS_INSTALL=/s:./ginstall:install:" src/Makefile.in.orig > src/Makefile.in</userinput></screen>
 
     <para os="a">Configure can not properly determine how to get free space
     when cross-compiling, Without putting the following entry into
@@ -58,7 +61,9 @@
     <para os="c">Now prepare Coreutils for compilation:</para>
 
 <screen os="d"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
-    --prefix=/usr --cache-file=config.cache </userinput></screen>
+    --prefix=/usr --cache-file=config.cache \
+    --enable-no-install-program=kill,uptime \
+    --enable-install-program=hostname</userinput></screen>
 
     <para os="e">Compile the package:</para>
 
@@ -72,7 +77,7 @@
 
 <screen os="j"><userinput>mv -v ${CLFS}/usr/bin/{cat,chgrp,chmod,chown,cp,date} ${CLFS}/bin
 mv -v ${CLFS}/usr/bin/{dd,df,echo,false,hostname,ln,ls,mkdir} ${CLFS}/bin
-mv -v ${CLFS}/usr/bin/{mknod,mv,pwd,rm,rmdir,stty,true,uname} ${CLFS}/bin
+mv -v ${CLFS}/usr/bin/{mv,pwd,rm,rmdir,stty,true,uname} ${CLFS}/bin
 mv -v ${CLFS}/usr/bin/chroot ${CLFS}/usr/sbin</userinput></screen>
 
     <para os="k">Other Coreutils programs are used by some of the scripts

Modified: branches/clfs-sysroot/BOOK/final-system/common/gcc.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/final-system/common/gcc.xml (original)
+++ branches/clfs-sysroot/BOOK/final-system/common/gcc.xml Sun Jan  4 19:57:46 2009
@@ -29,6 +29,11 @@
     apply the following patch:</para>
 
 <screen os="p2"><userinput>patch -Np1 -i ../&gcc-posix-patch;</userinput></screen>
+
+    <para os="p3">The following patch contains a number of updates to the
+    &gcc-version; branch by the GCC developers:</para>
+
+<screen os="p4"><userinput>patch -Np1 -i ../&gcc-branch_update-patch;</userinput></screen>
 
     <para os="a">Apply a <command>sed</command> substitution that will suppress the
     installation of <filename class="libraryfile">libiberty.a</filename>. The

Modified: branches/clfs-sysroot/BOOK/materials/common/patches.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/materials/common/patches.xml (original)
+++ branches/clfs-sysroot/BOOK/materials/common/patches.xml Sun Jan  4 19:57:46 2009
@@ -42,6 +42,15 @@
         <para>Download: <ulink
         url="&patches-root;&coreutils-uname-patch;"/></para>
         <para>MD5 sum: <literal>&coreutils-uname-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>GCC Branch Update Patch - <token>&gcc-branch_update-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink
+        url="&patches-root;&gcc-branch_update-patch;"/></para>
+        <para>MD5 sum: <literal>&gcc-branch_update-patch-md5;</literal></para>
       </listitem>
     </varlistentry>
 

Modified: branches/clfs-sysroot/BOOK/patches.ent
==============================================================================
--- branches/clfs-sysroot/BOOK/patches.ent (original)
+++ branches/clfs-sysroot/BOOK/patches.ent Sun Jan  4 19:57:46 2009
@@ -15,6 +15,10 @@
 <!ENTITY coreutils-uname-patch "coreutils-&coreutils-version;-uname-1.patch">
 <!ENTITY coreutils-uname-patch-md5 "d299f910668ab8650e8ecbb6cdc2d5b1">
 <!ENTITY coreutils-uname-patch-size "8 KB">
+
+<!ENTITY gcc-branch_update-patch "gcc-&gcc-version;-branch_update-1.patch">
+<!ENTITY gcc-branch_update-patch-md5 "e9e4236fa439ece67f02ab8377ee5811">
+<!ENTITY gcc-branch_update-patch-size "812 KB">
 
 <!ENTITY gcc-posix-patch "gcc-&gcc-version;-posix-1.patch">
 <!ENTITY gcc-posix-patch-md5 "04c70ab253e9a1bfe242e1e5f37a51dd">




More information about the Clfs-commits mailing list