Selaa lähdekoodia

Add --with-sysroot to Binutils' pass 2 to fix build issues on certain hosts.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10203 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 12 vuotta sitten
vanhempi
commit
64aa6f7e38
2 muutettua tiedostoa jossa 18 lisäystä ja 1 poistoa
  1. 6 0
      chapter01/changelog.xml
  2. 12 1
      chapter05/binutils-pass2.xml

+ 6 - 0
chapter01/changelog.xml

@@ -39,6 +39,12 @@
     <listitem>
       <para>2013-03-13</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Fix a build issue with Check-0.9.9 on some hosts by
+          adding the &quot;sysroot&quot; feature to Binutils. Thanks to Billy
+          O'Connor, Yaacov-Yoseph Weiss and Pierre Labastie for the reports, and
+          to Pierre again for the fix.</para>
+        </listitem>
         <listitem>
           <para>[matthew] - Upgrade to Perl-5.16.3. Fixes
           <ulink url="&lfs-ticket-root;3303">#3303</ulink>.</para>

+ 12 - 1
chapter05/binutils-pass2.xml

@@ -56,7 +56,8 @@ RANLIB=$LFS_TGT-ranlib     \
 ../binutils-&binutils-version;/configure \
     --prefix=/tools        \
     --disable-nls          \
-    --with-lib-path=/tools/lib</userinput></screen>
+    --with-lib-path=/tools/lib \
+    --with-sysroot</userinput></screen>
 
     <variablelist>
       <title>The meaning of the new configure options:</title>
@@ -81,6 +82,16 @@ RANLIB=$LFS_TGT-ranlib     \
         </listitem>
       </varlistentry>
 
+      <varlistentry>
+        <term><parameter>--with-sysroot</parameter></term>
+        <listitem>
+          <para>The sysroot feature enables the linker to find shared objects
+          which are required by other shared objects explicitly included on the
+          linker's command line. Without this, some packages may not build
+          successfully on some hosts.</para>
+        </listitem>
+      </varlistentry>
+
     </variablelist>
 
     <para>Compile the package:</para>