Selaa lähdekoodia

Add parameters to prevent chapter 5 GCC builds linking to the host's copy of CLooG and PPL. Fixes #2723.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9349 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 15 vuotta sitten
vanhempi
commit
6123afebc7
3 muutettua tiedostoa jossa 19 lisäystä ja 2 poistoa
  1. 6 0
      chapter01/changelog.xml
  2. 11 1
      chapter05/gcc-pass1.xml
  3. 2 1
      chapter05/gcc-pass2.xml

+ 6 - 0
chapter01/changelog.xml

@@ -40,6 +40,12 @@
     <listitem>
       <para>2010-08-03</para>
       <itemizedlist>
+         <listitem>
+           <para>[matthew] - Add parameters to prevent chapter 5 GCC builds
+           from linking to the host system's CLooG and PPL libraries that will
+           not be present in chapter 6.  Fixes
+           <ulink url="&lfs-ticket-root;2723">#2723</ulink>.</para>
+         </listitem>
          <listitem>
            <para>[matthew] - Upgrade to Linux-2.6.35. Fixes
            <ulink url="&lfs-ticket-root;2728">#2728</ulink>.</para>

+ 11 - 1
chapter05/gcc-pass1.xml

@@ -68,7 +68,8 @@ cd ../gcc-build</userinput></screen>
     --disable-decimal-float --disable-threads \
     --disable-libmudflap --disable-libssp \
     --disable-libgomp --enable-languages=c \
-    --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs</userinput></screen>
+    --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs \
+    --without-ppl --without-cloog</userinput></screen>
 
     <variablelist>
       <title>The meaning of the configure options:</title>
@@ -122,6 +123,15 @@ cd ../gcc-build</userinput></screen>
         </listitem>
       </varlistentry>
 
+      <varlistentry>
+        <term><parameter>--without-ppl, --without-cloog</parameter></term>
+        <listitem>
+          <para>These switches prevent GCC from building against the PPL and
+          CLooG libraries which may be present on the host system, but will not
+          be available in the chroot environment.</para>
+        </listitem>
+      </varlistentry>
+
     </variablelist>
 
     <para>Compile GCC by running:</para>

+ 2 - 1
chapter05/gcc-pass2.xml

@@ -157,7 +157,8 @@ cd ../gcc-build</userinput></screen>
     --enable-__cxa_atexit --enable-languages=c,c++ \
     --disable-libstdcxx-pch --disable-multilib \
     --disable-bootstrap \
-    --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs</userinput></screen>
+    --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs \
+    --without-ppl --without-cloog</userinput></screen>
 
     <variablelist>
       <title>The meaning of the new configure options:</title>