[llvm-dev] Cannot build master

Luke A. Guest via llvm-dev llvm-dev at lists.llvm.org
Fri Apr 24 02:36:43 PDT 2020


Tried the following last night:

cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt/llvm10-git
-DCMAKE_BUILD_TYPE=Release         -DBUILD_SHARED_LIBS=OFF
-DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON
-DLLVM_ENABLE_EH=ON         -DLLVM_ENABLE_RTTI=ON
-DLLVM_HOST_TRIPLE=x86_64-pc-linux-gnu
-DLLVM_TARGETS_TO_BUILD="AMDGPU;MSP430;WebAssembly;X86"
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="AVR"
-DLLVM_ENABLE_PROJECTS="mlir;clang;clang-tools-extra;lld;compiler-rt;openmp;lldb;libcxx;libcxxabi;pstl;parallel-libs;libclc"
        -G "Ninja" ../llvm

Which almost finished:

6398/6973] cd /home/laguest/src/mine-new/llvm/llvm-project/build &&
/home/laguest/src/mine-new/llvm/llvm-project/build/bin/mlir-tblgen
-gen-enum-defs -I
/home/laguest/src/mine-new/llvm/llvm-project/mlir/include/mlir/Dialect/SPIRV
-I /usr
/include/libxml2 -I
/home/laguest/src/mine-new/llvm/llvm-project/build/include -I
/home/laguest/src/mine-new/llvm/llvm-project/llvm/include -I
/home/laguest/src/mine-new/llvm/llvm-project/mlir/include -I
/home/laguest/src/mine-new/llvm/ll
vm-project/build/tools/mlir/include
/home/laguest/src/mine-new/llvm/llvm-project/mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
--write-if-changed -o
tools/mlir/include/mlir/Dialect/SPIRV/SPIRVEnums.cpp.inc -d
tools/mlir/include/mlir/Dialec
t/SPIRV/SPIRVEnums.cpp.inc.d
FAILED: tools/mlir/include/mlir/Dialect/SPIRV/SPIRVEnums.cpp.inc
cd /home/laguest/src/mine-new/llvm/llvm-project/build &&
/home/laguest/src/mine-new/llvm/llvm-project/build/bin/mlir-tblgen
-gen-enum-defs -I
/home/laguest/src/mine-new/llvm/llvm-project/mlir/include/mlir/Dialect/SPIRV
-I /usr/include/libxml2 -I
/home/laguest/src/mine-new/llvm/llvm-project/build/include -I
/home/laguest/src/mine-new/llvm/llvm-project/llvm/include -I
/home/laguest/src/mine-new/llvm/llvm-project/mlir/include -I
/home/laguest/src/mine-new/llvm/llvm-project/build/tools/mlir/include
/home/laguest/src/mine-new/llvm/llvm-project/mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
--write-if-changed -o
tools/mlir/include/mlir/Dialect/SPIRV/SPIRVEnums.cpp.inc -d
tools/mlir/include/mlir/Dialect/SPIRV/SPIRVEnums.cpp.inc.d
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
[6399/6973] cd /home/laguest/src/mine-new/llvm/llvm-project/build &&
/home/laguest/src/mine-new/llvm/llvm-project/build/bin/mlir-tblgen
-gen-op-decls -I
/home/laguest/src/mine-new/llvm/llvm-project/mlir/include/mlir/Dialect/LoopOps
-I /usr/include/libxml2 -I
/home/laguest/src/mine-new/llvm/llvm-project/build/include -I
/home/laguest/src/mine-new/llvm/llvm-project/llvm/include -I
/home/laguest/src/mine-new/llvm/llvm-project/mlir/include -I
/home/laguest/src/mine-new/llvm/llvm-project/build/tools/mlir/include
/home/laguest/src/mine-new/llvm/llvm-project/mlir/include/mlir/Dialect/LoopOps/LoopOps.td
--write-if-changed -o
tools/mlir/include/mlir/Dialect/LoopOps/LoopOps.h.inc -d
tools/mlir/include/mlir/Dialect/LoopOps/LoopOps.h.inc.d
FAILED: tools/mlir/include/mlir/Dialect/LoopOps/LoopOps.h.inc
cd /home/laguest/src/mine-new/llvm/llvm-project/build &&
/home/laguest/src/mine-new/llvm/llvm-project/build/bin/mlir-tblgen
-gen-op-decls -I
/home/laguest/src/mine-new/llvm/llvm-project/mlir/include/mlir/Dialect/LoopOps
-I /usr/include/libxml2 -I
/home/laguest/src/mine-new/llvm/llvm-project/build/include -I
/home/laguest/src/mine-new/llvm/llvm-project/llvm/include -I
/home/laguest/src/mine-new/llvm/llvm-project/mlir/include -I
/home/laguest/src/mine-new/llvm/llvm-project/build/tools/mlir/include
/home/laguest/src/mine-new/llvm/llvm-project/mlir/include/mlir/Dialect/LoopOps/LoopOps.td
--write-if-changed -o
tools/mlir/include/mlir/Dialect/LoopOps/LoopOps.h.inc -d
tools/mlir/include/mlir/Dialect/LoopOps/LoopOps.h.inc.d
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
[6400/6973] /usr/bin/c++  -DHAVE_ROUND -DLLDB_CONFIGURATION_RELEASE
-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -Itools/lldb/tools/lldb-server
-I/home/laguest/src/mine-new/llvm/llvm-project/lldb/tools/lldb-server
-I/home/laguest/src/mine-new/llvm/llvm-project/lldb/include
-Itools/lldb/include -I/usr/include/libxml2 -Iinclude
-I/home/laguest/src/mine-new/llvm/llvm-project/llvm/include
-I/usr/include/python3.6m
-I/home/laguest/src/mine-new/llvm/llvm-project/llvm/../clang/include
-Itools/lldb/../clang/include
-I/home/laguest/src/mine-new/llvm/llvm-project/lldb/source -fPIC
-fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess
-Wno-redundant-move -Wno-noexcept-type -Wdelete-non-virtual-dtor
-Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections
-Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing
-Wno-deprecated-register -Wno-vla-extension -O3 -DNDEBUG     -std=c++14
-MD -MT
tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/lldb-platform.cpp.o
-MF
tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/lldb-platform.cpp.o.d
-o
tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/lldb-platform.cpp.o
-c
/home/laguest/src/mine-new/llvm/llvm-project/lldb/tools/lldb-server/lldb-platform.cpp
[6401/6973] /usr/bin/c++  -DHAVE_ROUND -DLLDB_CONFIGURATION_RELEASE
-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -Itools/lldb/tools/lldb-server
-I/home/laguest/src/mine-new/llvm/llvm-project/lldb/tools/lldb-server
-I/home/laguest/src/mine-new/llvm/llvm-project/lldb/include
-Itools/lldb/include -I/usr/include/libxml2 -Iinclude
-I/home/laguest/src/mine-new/llvm/llvm-project/llvm/include
-I/usr/include/python3.6m
-I/home/laguest/src/mine-new/llvm/llvm-project/llvm/../clang/include
-Itools/lldb/../clang/include
-I/home/laguest/src/mine-new/llvm/llvm-project/lldb/source -fPIC
-fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess
-Wno-redundant-move -Wno-noexcept-type -Wdelete-non-virtual-dtor
-Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections
-Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing
-Wno-deprecated-register -Wno-vla-extension -O3 -DNDEBUG     -std=c++14
-MD -MT
tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/lldb-gdbserver.cpp.o
-MF
tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/lldb-gdbserver.cpp.o.d
-o
tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/lldb-gdbserver.cpp.o
-c
/home/laguest/src/mine-new/llvm/llvm-project/lldb/tools/lldb-server/lldb-gdbserver.cpp
[6402/6973] /usr/bin/c++  -DHAVE_ROUND -DLLDB_CONFIGURATION_RELEASE
-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -Itools/lldb/source/API
-I/home/laguest/src/mine-new/llvm/llvm-project/lldb/source/API
-Itools/lldb/source
-I/home/laguest/src/mine-new/llvm/llvm-project/lldb/include
-Itools/lldb/include -I/usr/include/libxml2 -Iinclude
-I/home/laguest/src/mine-new/llvm/llvm-project/llvm/include
-I/usr/include/python3.6m
-I/home/laguest/src/mine-new/llvm/llvm-project/llvm/../clang/include
-Itools/lldb/../clang/include
-I/home/laguest/src/mine-new/llvm/llvm-project/lldb/source/. -fPIC
-fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess
-Wno-redundant-move -Wno-noexcept-type -Wdelete-non-virtual-dtor
-Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections
-Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing
-Wno-deprecated-register -Wno-vla-extension -O3 -DNDEBUG -fPIC
-std=c++14  -w -Wno-sequence-point -Wno-cast-qual -MD -MT
tools/lldb/source/API/CMakeFiles/liblldb.dir/__/__/bindings/LLDBWrapPython.cpp.o
-MF
tools/lldb/source/API/CMakeFiles/liblldb.dir/__/__/bindings/LLDBWrapPython.cpp.o.d
-o
tools/lldb/source/API/CMakeFiles/liblldb.dir/__/__/bindings/LLDBWrapPython.cpp.o
-c tools/lldb/bindings/LLDBWrapPython.cpp
ninja: build stopped: subcommand failed.


More information about the llvm-dev mailing list