Explorar el Código

Upgrade to GCC-4.4.0.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8858 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess hace 16 años
padre
commit
6ef6d2cce8
Se han modificado 6 ficheros con 29 adiciones y 3 borrados
  1. 4 0
      chapter01/changelog.xml
  2. 4 0
      chapter01/whatsnew.xml
  3. 8 0
      chapter03/patches.xml
  4. 4 0
      chapter06/flex.xml
  5. 3 3
      packages.ent
  6. 6 0
      patches.ent

+ 4 - 0
chapter01/changelog.xml

@@ -40,6 +40,10 @@
     <listitem>
       <para>2009-05-10</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Upgrade to GCC-4.4.0. Fixes
+          <ulink url="&lfs-ticket-root;2388">#2388</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[matthew] - Upgrade to Findutils-4.4.1. Fixes
           <ulink url="&lfs-ticket-root;2387">#2387</ulink>.</para>

+ 4 - 0
chapter01/whatsnew.xml

@@ -220,6 +220,10 @@
       <para>&coreutils-uname-patch;</para>
     </listitem>
 
+    <listitem>
+      <para>&flex-gcc-patch;</para>
+    </listitem>
+
     <listitem>
       <para>&gcc-startfiles-patch;</para>
     </listitem>

+ 8 - 0
chapter03/patches.xml

@@ -90,6 +90,14 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Flex GCC-4.4.x Patch - <token>&flex-gcc-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&flex-gcc-patch;"/></para>
+        <para>MD5 sum: <literal>&flex-gcc-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
     <varlistentry>
       <term>GCC Startfiles Fix Patch - <token>&gcc-startfiles-patch-size;</token>:</term>
       <listitem>

+ 4 - 0
chapter06/flex.xml

@@ -41,6 +41,10 @@
   <sect2 role="installation">
     <title>Installation of Flex</title>
 
+    <para>Apply a patch that fixes a bug in the C++ scanner generator, that causes scanner compilation to fail when using GCC-&gcc-version;:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&flex-gcc-patch;</userinput></screen>
+
     <para>Prepare Flex for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>

+ 3 - 3
packages.ent

@@ -165,10 +165,10 @@
 <!ENTITY gawk-ch6-du "21 MB">
 <!ENTITY gawk-ch6-sbu "0.3 SBU">
 
-<!ENTITY gcc-version "4.3.3">
-<!ENTITY gcc-size "57,979 KB">
+<!ENTITY gcc-version "4.4.0">
+<!ENTITY gcc-size "61,239 KB">
 <!ENTITY gcc-url "&gnu;gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.bz2">
-<!ENTITY gcc-md5 "cc3c5565fdb9ab87a05ddb106ba0bd1f">
+<!ENTITY gcc-md5 "cf5d787bee57f38168b74d65a7c0e6fd">
 <!ENTITY gcc-home "http://gcc.gnu.org/">
 <!ENTITY gcc-ch5p1-du "1.1 GB">
 <!ENTITY gcc-ch5p1-sbu "22 SBU">

+ 6 - 0
patches.ent

@@ -45,6 +45,12 @@
 <!ENTITY expect-tcl-patch-md5 "6904a384960ce0e8f0d0b32f7903d7a1">
 <!ENTITY expect-tcl-patch-size "4.1 KB">
 
+
+<!ENTITY flex-gcc-patch "flex-&flex-version;-gcc44-1.patch">
+<!ENTITY flex-gcc-patch-md5 "ad9109820534278c6dd0898178c0788f">
+<!ENTITY flex-gcc-patch-size "1 KB">
+
+
 <!ENTITY gcc-startfiles-patch "gcc-&gcc-version;-startfiles_fix-1.patch">
 <!ENTITY gcc-startfiles-patch-md5 "799ef1971350d2e3c794f2123f247cc6">
 <!ENTITY gcc-startfiles-patch-size "1.5 KB">