r854 - in trunk: faq lfs

jeroen at linuxfromscratch.org jeroen at linuxfromscratch.org
Sun Oct 24 05:21:48 PDT 2004

Author: jeroen
Date: 2004-10-24 06:21:47 -0600 (Sun, 24 Oct 2004)
New Revision: 854

Apply Matthew's patch for the FAQ

Modified: trunk/faq/index.html
--- trunk/faq/index.html	2004-10-15 18:15:20 UTC (rev 853)
+++ trunk/faq/index.html	2004-10-24 12:21:47 UTC (rev 854)
@@ -143,6 +143,7 @@
 	<li id="yytext_ptr-undeclared"><a href="../lfs/faq.html#yytext_ptr-undeclared">Modutils: lex.l:429: `yytext_ptr' undeclared"while building modutils</a></li>
 	<li id="perl-missing-separator"><a href="../lfs/faq.html#perl-missing-separator">Perl fails with "*** missing separator.  Stop."</a></li>
 	<li id="unknown-pseudo-op-hidden"><a href="../lfs/faq.html#unknown-pseudo-op-hidden">GCC: Error: Unknown pseudo-op: `.hidden'</a></li>
+	<li id="no-asneeded"><a href="../lfs/faq.html#no-asneeded">GCC: Error: unrecognized option '--as-needed'</a></li>
 	<li id="no-linuxthreads"><a href="../lfs/faq.html#no-linuxthreads">Glibc: "... it is normal to compile GNU libc with the `linuxthreads' add-on..."</a></li>
 	<li id="asm-global-directive"><a href="../lfs/faq.html#asm-global-directive">Glibc: "cannot determine asm global directive".</a></li>
 	<li id="glibc-no-ld_map"><a href="../lfs/faq.html#glibc-no-ld_map">Glibc: "ld.map: No such file or directory".</a></li>

Modified: trunk/lfs/faq.html
--- trunk/lfs/faq.html	2004-10-15 18:15:20 UTC (rev 853)
+++ trunk/lfs/faq.html	2004-10-24 12:21:47 UTC (rev 854)
@@ -114,6 +114,7 @@
 	<li><a href="#yytext_ptr-undeclared">Modutils: lex.l:429: `yytext_ptr' undeclared"while building modutils</a></li>
 	<li><a href="#perl-missing-separator">Perl fails with "*** missing separator.  Stop."</a></li>
 	<li><a href="#unknown-pseudo-op-hidden">GCC: Error: Unknown pseudo-op: `.hidden'</a></li>
+	<li><a href="#no-asneeded">GCC: Error: unrecognized option '--as-needed'</a></li>
 	<li><a href="#no-linuxthreads">Glibc: "... it is normal to compile GNU libc with the `linuxthreads' add-on..."</a></li>
 	<li><a href="#asm-global-directive">Glibc: "cannot determine asm global directive".</a></li>
 	<li><a href="#glibc-no-ld_map">Glibc: "ld.map: No such file or directory".</a></li>
@@ -486,6 +487,16 @@
 			<code>Error: Unknown pseudo-op: `.hidden'</code>
 			<p>Try the solution given in <a href="http://linuxfromscratch.org/pipermail/lfs-support/2002-September/009562.html">the lfs-support archives</a>  and replies.</p>
+	<dt id="no-asneeded">GCC: Error: unrecognized option '--as-needed'</dt>
+		<dd>
+			<p>This is caused by using an incompatible host to build
+			   LFS (e.g. Fedora Core 2).  The problem is caused by
+			   the fact that the host's binutils supports the
+			   "--as-needed" option, but the version of
+			   GCC we compile in LFS-5.1.1 doesn't support that
+			   option.  To solve this, either use an older host, or
+			   build LFS-6.0 (currently in testing).</p>
+               </dd>
 	<dt id="no-linuxthreads">Glibc: "... it is normal to compile GNU libc with the `linuxthreads' add-on..."</dt>
 			<p>The exact error looks like this:</p>

More information about the website mailing list