Author: matthew
Date: 2010-01-26 11:17:27 -0700 (Tue, 26 Jan 2010)
New Revision: 9163

Modified:
   trunk/BOOK/chapter05/glibc.xml
   trunk/BOOK/general.ent
Log:
Clarify the use of autoconf variables to ensure forced-unwind and C-cleanup 
support in chapter 5's Glibc. Fixes #2543.

Modified: trunk/BOOK/chapter05/glibc.xml
===================================================================
--- trunk/BOOK/chapter05/glibc.xml      2010-01-25 01:26:07 UTC (rev 9162)
+++ trunk/BOOK/chapter05/glibc.xml      2010-01-26 18:17:27 UTC (rev 9163)
@@ -120,17 +120,21 @@
       <varlistentry>
         <term><parameter>libc_cv_forced_unwind=yes</parameter></term>
         <listitem>
-          <para>The build requires support for forced unwind, but because it is
-          being cross compiled, it cannot auto detect it. Setting this variable
-          on the command line explicitly tells the
-          <command>configure</command> script that support is available.</para>
+          <para>The linker installed during
+          <xref linkend="ch-tools-binutils-pass1"/> was cross-compiled and as
+          such cannot be used until Glibc has been installed.  This means that
+          the configure test for force-unwind support will fail, as it relies 
on
+          a working linker.  The libc_cv_forced_unwind=yes variable is passed 
in
+          order to inform <command>configure</command> that force-unwind
+          support is available without it having to run the test.</para>
         </listitem>
       </varlistentry>
       <varlistentry>
         <term><parameter>libc_cv_c_cleanup=yes</parameter></term>
         <listitem>
-          <para>The build also requires support for C cleanup handling, which 
it
-          cannot auto detect when being cross compiled. Enable it 
explicitly.</para>
+          <para>Simlarly, we pass libc_cv_c_cleanup=yes through to the
+          <command>configure</command> script so that the test is skipped and C
+          cleanup handling support is configured.</para>
         </listitem>
       </varlistentry>
 

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent      2010-01-25 01:26:07 UTC (rev 9162)
+++ trunk/BOOK/general.ent      2010-01-26 18:17:27 UTC (rev 9163)
@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20100124">
-<!ENTITY releasedate "January 24, 2010">
+<!ENTITY version "SVN-20100126">
+<!ENTITY releasedate "January 26, 2010">
 <!ENTITY copyrightdate "1999-2010"><!-- jhalfs needs a literal dash, not 
&ndash; -->
 <!ENTITY milestone "7.0">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or 
"x.y[-pre{x}]" -->

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to