File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 49
49
< li > I've built LLVM and am testing it, but the tests freeze.</ li >
50
50
< li > Why do test results differ when I perform different types of builds?</ li >
51
51
< li > Compiling LLVM with GCC 3.3.2 fails, what should I do?</ li >
52
+ < li > When I use the test suite, all of the C Backend tests fail. What is
53
+ wrong?</ li >
52
54
</ ol > </ li >
53
55
54
56
< li > < a href ="#cfe "> Using the GCC Front End</ a >
338
340
affects projects other than LLVM. Try upgrading or downgrading your GCC.</ p >
339
341
</ div >
340
342
343
+ < div class ="question ">
344
+ < p >
345
+ When I use the test suite, all of the C Backend tests fail. What is
346
+ wrong?
347
+ </ p >
348
+ </ div >
349
+
350
+ < div class ="answer ">
351
+ < p >
352
+ If you build LLVM and the C Backend tests fail in < tt > llvm/test/Programs</ tt > ,
353
+ then chances are good that the directory pointed to by the LLVM_LIB_SEARCH_PATH
354
+ environment variable does not contain the libcrtend.a library.
355
+ </ p >
356
+
357
+ < p >
358
+ To fix it, verify that LLVM_LIB_SEARCH_PATH points to the correct directory
359
+ and that libcrtend.a is inside. For pre-built LLVM GCC front ends, this
360
+ should be the absolute path to
361
+ < tt > cfrontend/<< i > platform</ i > >/llvm-gcc/bytecode-libs</ tt > . If you've
362
+ built your own LLVM GCC front end, then ensure that you've built and installed
363
+ the libraries in < tt > llvm/runtime</ tt > and have LLVM_LIB_SEARCH_PATH pointing
364
+ to the < tt > LLVMGCCDIR/bytecode-libs</ tt > subdirectory.
365
+ </ p >
366
+ </ div >
367
+
341
368
<!-- *********************************************************************** -->
342
369
< div class ="doc_section ">
343
370
< a name ="cfe "> Using the GCC Front End</ a >
You can’t perform that action at this time.
0 commit comments