https://bugs.llvm.org/show_bug.cgi?id=38879
Bug ID: 38879
Summary: Compiler build failure after
https://reviews.llvm.org/D51723
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: abhilash_bhand...@yahoo.co.in
CC: llvm-bugs@lists.llvm.org
LLVM fails to build
With the configure script:
cmake -G"Unix Makefiles" -DLLVM_BUILD_LLVM_DYLIB:STRING=ON
-DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_ENABLE_LIBEDIT=OFF
-DCMAKE_BUILD_TYPE:STRING=RELEASE -DCLANG_DEFAULT_LINKER:STRING=lld
-DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON -DLLVM_TARGETS_TO_BUILD:STRING=X86
-DLLVM_ENABLE_ASSERTIONS:BOOL=ON -DCLANG_REPOSITORY_STRING=CLANG:
-DLLVM_ENABLE_WERROR=ON -DCMAKE_CXX_FLAGS=\'-Wno-error=pedantic\' \llvm
The error is:
llvm/lib/XRay/BlockVerifier.cpp: In member function ‘llvm::Error
llvm::xray::BlockVerifier::transition(llvm::xray::BlockVerifier::State)’:
llvm/lib/XRay/BlockVerifier.cpp:97:49: error: converting to ‘const
std::tuple<llvm::xray::BlockVerifier::State, std::bitset<11ul> >’ from
initializer list would use explicit constructor ‘constexpr std::tuple<_T1,
_T2>::tuple(const _T1&, const _T2&) [with _T1 =
llvm::xray::BlockVerifier::State; _T2 = std::bitset<11ul>]’
{State::EndOfBuffer, {}}}};
^
llvm/lib/XRay/BlockVerifier.cpp:97:49: error: converting to ‘const
std::tuple<llvm::xray::BlockVerifier::State, std::bitset<11ul> >’ from
initializer list would use explicit constructor ‘constexpr std::tuple<_T1,
_T2>::tuple(const _T1&, const _T2&) [with _T1 =
llvm::xray::BlockVerifier::State; _T2 = std::bitset<11ul>]’
....
System Compiler: GCC 5.4.0
The error is due to the use of an initializer list in
lib/XRay/BlockVerifier.cpp.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs