aboutsummaryrefslogtreecommitdiffstats
path: root/docs/FAQ.html
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2004-03-29 20:23:11 +0000
committerJohn Criswell <criswell@uiuc.edu>2004-03-29 20:23:11 +0000
commitd179961d400f13d7c39b658d0682dc0a758c8f77 (patch)
tree595283c16d7efa91b13923cbe929b018336de060 /docs/FAQ.html
parent8130a3832153a608695b9bb7d29ee9e28baa0942 (diff)
downloadexternal_llvm-d179961d400f13d7c39b658d0682dc0a758c8f77.zip
external_llvm-d179961d400f13d7c39b658d0682dc0a758c8f77.tar.gz
external_llvm-d179961d400f13d7c39b658d0682dc0a758c8f77.tar.bz2
Merged in RELEASE_12.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12532 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/FAQ.html')
-rw-r--r--docs/FAQ.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/FAQ.html b/docs/FAQ.html
index 87e6c13..74f0ea4 100644
--- a/docs/FAQ.html
+++ b/docs/FAQ.html
@@ -49,6 +49,8 @@
<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>When I use the test suite, all of the C Backend tests fail. What is
+ wrong?</li>
</ol></li>
<li><a href="#cfe">Using the GCC Front End</a>
@@ -341,6 +343,31 @@ build.</p>
affects projects other than LLVM. Try upgrading or downgrading your GCC.</p>
</div>
+<div class="question">
+<p>
+When I use the test suite, all of the C Backend tests fail. What is
+wrong?
+</p>
+</div>
+
+<div class="answer">
+<p>
+If you build LLVM and the C Backend tests fail in <tt>llvm/test/Programs</tt>,
+then chances are good that the directory pointed to by the LLVM_LIB_SEARCH_PATH
+environment variable does not contain the libcrtend.a library.
+</p>
+
+<p>
+To fix it, verify that LLVM_LIB_SEARCH_PATH points to the correct directory
+and that libcrtend.a is inside. For pre-built LLVM GCC front ends, this
+should be the absolute path to
+<tt>cfrontend/&lt;<i>platform</i>&gt;/llvm-gcc/bytecode-libs</tt>. If you've
+built your own LLVM GCC front end, then ensure that you've built and installed
+the libraries in <tt>llvm/runtime</tt> and have LLVM_LIB_SEARCH_PATH pointing
+to the <tt>LLVMGCCDIR/bytecode-libs</tt> subdirectory.
+</p>
+</div>
+
<!-- *********************************************************************** -->
<div class="doc_section">
<a name="cfe">Using the GCC Front End</a>