add a Q/A on broken GCCs
authorGabor Greif <ggreif@gmail.com>
Mon, 2 Mar 2009 19:08:05 +0000 (19:08 +0000)
committerGabor Greif <ggreif@gmail.com>
Mon, 2 Mar 2009 19:08:05 +0000 (19:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65857 91177308-0d34-0410-b5e6-96231b3b80d8

docs/FAQ.html

index d94c368d0c7b0f3532010f5a4680bb2e971dd504..d15506014bbc8c3058ca1e9c94644a60ab3726f1 100644 (file)
@@ -48,6 +48,7 @@
   <li>I've built LLVM and am testing it, but the tests freeze.</li>
   <li>Why do test results differ when I perform different types of builds?</li>
   <li>Compiling LLVM with GCC 3.3.2 fails, what should I do?</li>
+  <li>Compiling LLVM with GCC succeeds, but the resulting tools do not work, what can be wrong?</li>
   <li>When I use the test suite, all of the C Backend tests fail.  What is
       wrong?</li>
   <li>After Subversion update, rebuilding gives the error "No rule to make
@@ -355,6 +356,17 @@ build.</p>
 affects projects other than LLVM.  Try upgrading or downgrading your GCC.</p>
 </div>
 
+<div class="question">
+<p>Compiling LLVM with GCC succeeds, but the resulting tools do not work, what can be wrong?</p>
+</div>
+
+<div class="answer">
+<p>Several versions of GCC have shown a weakness in miscompiling the LLVM codebase. Please
+consult your compiler version (<tt>gcc --version</tt>) to find out whether it is
+<a href="GettingStarted.html#brokengcc">broken</a>. If so, your only option is to upgrade
+GCC to a known good version.</p>
+</div>
+
 <div class="question">
 <p>After Subversion update, rebuilding gives the error "No rule to make
 target".</p>