Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Unable to run "check-all" target when building LLVM 3.6.1 #23782

Open Quuxplusone opened 9 years ago

Quuxplusone commented 9 years ago
Bugzilla Link PR23783
Status NEW
Importance P release blocker
Reported by Yuhang Wang (stevenaura@live.com)
Reported on 2015-06-08 10:57:04 -0700
Last modified on 2015-06-08 10:57:04 -0700
Version 3.6
Hardware PC Linux
CC llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments Log.check.log (44088 bytes, text/x-log)
Blocks
Blocked by
See also
Created attachment 14447
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
Quuxplusone commented 9 years ago

Attached Log.check.log (44088 bytes, text/x-log): Results of check-all