Clarify the use of autoconf variables to ensure forced-unwind and C-cleanup support in chapter 5's Glibc. Fixes #2543.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9163 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2010-01-26 18:17:27 +00:00
parent d8d272bb3e
commit ff9fa3c064
2 changed files with 12 additions and 8 deletions

View File

@ -120,17 +120,21 @@ esac</userinput></screen>
<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>

View File

@ -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}]" -->