[LLVMbugs] [Bug 23783] New: Unable to run "check-all" target when building LLVM 3.6.1
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jun 8 08:57:04 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23783
Bug ID: 23783
Summary: Unable to run "check-all" target when building LLVM
3.6.1
Product: Build scripts
Version: 3.6
Hardware: PC
OS: Linux
Status: NEW
Severity: release blocker
Priority: P
Component: cmake
Assignee: unassignedbugs at nondot.org
Reporter: stevenaura at live.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 14447
--> https://llvm.org/bugs/attachment.cgi?id=14447&action=edit
Results of check-all
Dear LLVM developers,
I have successfully compiled the 3.6.1 version of
LLVM-Clang-LLDB-Compiler-RT-LibCxx-LibCxxABI-TestSuite bundle. However, when I
tried 'ninja check-all', the check failed right at the first target "[1/150]
Generating sanitizer_bitvector_test.cc.x86_64.o". I think the reason is that
LLVM is trying to use the system GCC header files, but I compiled LLVM with
another GCC toolchain (GCC 4.8.4) that I compiled and installed in a non-root
directory. Please let me know how to fix this issue.
Here is the relevant information:
* CentOS 6.6
* x86_64 architecture (Intel(R) Xeon(R) CPU W3550 @ 3.07GHz)
* Tools used for installation:
1) gcc/4.8.4
2) ninja
3) zlib/1.2.8
4) python-miniconda
* Linux Kernel version
2.6.32-504.16.2.el6.x86_64
* CMake build command
cmake -G "Ninja"
-DCMAKE_C_COMPILER=/Scr/scr-test-steven/install/gcc/4.8.4/bin/gcc
-DCMAKE_CXX_COMPILER=/Scr/scr-test-steven/install/gcc/4.8.4/bin/c++
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/Scr/scr-test-steven/install/llvm/3.6.1
/Scr/scr-test-steven/Programs/LLVM/llvm-3.6.1.src -DLLDB_DISABLE_PYTHON=1
-DCMAKE_CXX_FLAGS:STRING="-I/Scr/scr-test-steven/install/gcc/4.8.4/include
-I/Scr/scr-test-steven/Programs/LLVM/llvm-3.6.1.src/tools/clang/include
-I/Scr/scr-test-steven/install/libedit/3.1/include
-I/Scr/scr-test-steven/install/miniconda/include/python2.7
-L/Scr/scr-test-steven/install/gcc/4.8.4/lib64
-L/Scr/scr-test-steven/install/libedit/3.1/lib
-L/Scr/scr-test-steven/install/miniconda/lib
-L/Scr/scr-test-steven/install/miniconda/lib/python2.7"
-DPYTHON_HOME=/Scr/scr-test-steven/install/miniconda
-DLLVM_LIB_SEARCH_PATH=/Scr/scr-test-steven/Programs/LLVM/build_llvm-3.6.1/lib
* 'ninja check' results (see attachment)
Thanks.
Yuhang Wang
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150608/f42f9887/attachment.html>
More information about the llvm-bugs
mailing list