Open llvmbot opened 8 years ago
Only happens when using -DBUILD_SHARED_LIBS=on
.
To reproduce run e.g.:
trippels@gcc2-power8 llvm_build % cmake -DBUILD_SHARED_LIBS=on -DGCC_INSTALL_PREFIX=~/gcc_6/usr/local/ -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -DCMAKE_INSTALL_PREFIX=~/llvm-install -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_ASSERTIONS=on -DLLVM_TARGETS_TO_BUILD="PowerPC" -DENABLE_PIC=1 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DLLVM_BINUTILS_INCDIR=/home/trippels/include -DCMAKE_C_COMPILER=/home/trippels/gcc_6/usr/local/bin/gcc -DCMAKE_CXX_COMPILER=/home/trippels/gcc_6/usr/local/bin/g++ ../llvm
trippels@gcc2-power8 llvm_build % LD_PRELOAD=/usr/lib64/libtcmalloc.so.4.2.2 ninja -j 60
...
[549/2350] Building CommentCommandInfo.inc...
FAILED: cd /home/trippels/llvm_build/tools/clang/include/clang/AST && /home/trippels/llvm_build/bin/clang-tblgen -gen-clang-comment-command-info -I /home/trippels/llvm/tools/clang/include/clang/AST -I /home/trippels/llvm/lib/Target -I /home/trippels/llvm/include /home/trippels/llvm/tools/clang/include/clang/AST/CommentCommands.td -o /home/trippels/llvm_build/tools/clang/include/clang/AST/CommentCommandInfo.inc.tmp
: CommandLine Error: Option 'clang-component' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
src/tcmalloc.cc:278] Attempt to free invalid pointer 0x100ebbd8
/bin/sh: line 1: 126818 Aborted /home/trippels/llvm_build/bin/clang-tblgen -gen-clang-comment-command-info -I /home/trippels/llvm/tools/clang/include/clang/AST -I /home/trippels/llvm/lib/Target -I /home/trippels/llvm/include /home/trippels/llvm/tools/clang/include/clang/AST/CommentCommands.td -o /home/trippels/llvm_build/tools/clang/include/clang/AST/CommentCommandInfo.inc.tmp
[549/2350] Building CommentHTMLTags.inc...
FAILED: cd /home/trippels/llvm_build/tools/clang/include/clang/AST && /home/trippels/llvm_build/bin/clang-tblgen -gen-clang-comment-html-tags -I /home/trippels/llvm/tools/clang/include/clang/AST -I /home/trippels/llvm/lib/Target -I /home/trippels/llvm/include /home/trippels/llvm/tools/clang/include/clang/AST/CommentHTMLTags.td -o /home/trippels/llvm_build/tools/clang/include/clang/AST/CommentHTMLTags.inc.tmp
: CommandLine Error: Option 'clang-component' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
src/tcmalloc.cc:278] Attempt to free invalid pointer 0x100ebbd8
/bin/sh: line 1: 126813 Aborted /home/trippels/llvm_build/bin/clang-tblgen -gen-clang-comment-html-tags -I /home/trippels/llvm/tools/clang/include/clang/AST -I /home/trippels/llvm/lib/Target -I /home/trippels/llvm/include /home/trippels/llvm/tools/clang/include/clang/AST/CommentHTMLTags.td -o /home/trippels/llvm_build/tools/clang/include/clang/AST/CommentHTMLTags.inc.tmp
...
Extended Description
on ppc64le I get: