[llvm-commits] [release_12] CVS: llvm/docs/FAQ.html
John Criswell
criswell at cs.uiuc.edu
Fri Mar 19 11:01:00 PST 2004
Changes in directory llvm/docs:
FAQ.html updated: 1.19 -> 1.19.2.1
---
Log message:
Added a remark about setting LLVM_LIB_SEARCH_PATH. I forgot to do this on
PowerPC, and it made the test results scary.
---
Diffs of the changes: (+28 -1)
Index: llvm/docs/FAQ.html
diff -u llvm/docs/FAQ.html:1.19 llvm/docs/FAQ.html:1.19.2.1
--- llvm/docs/FAQ.html:1.19 Fri Mar 12 12:20:15 2004
+++ llvm/docs/FAQ.html Fri Mar 19 11:00:35 2004
@@ -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>
@@ -338,6 +340,31 @@
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/<<i>platform</i>>/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>
@@ -456,7 +483,7 @@
<div class="doc_footer">
<a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a>
<br>
- Last modified: $Date: 2004/03/12 18:20:15 $
+ Last modified: $Date: 2004/03/19 17:00:35 $
</div>
</body>
More information about the llvm-commits
mailing list