[PATCH] D33467: Fix LLVM build errors if necent build of GCC 7 is used
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Fri May 26 09:33:23 PDT 2017
This definitely looks like a GCC bug.
On 26 May 2017 1:34 am, "David Abdurachmanov via Phabricator via
cfe-commits" <cfe-commits at lists.llvm.org> wrote:
davidlt added a comment.
This happens with recent GCC 7.1.1 (updated yesterday) and if compiled in
C++1z mode.
FAILED: /home/davidlt/root_patch_check/a/slc7_ppc64le_gcc700/
external/gcc/7.0.0-njopjo2/bin/g++ -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Iinterpreter/llvm/src/lib/Transforms/Instrumentation
-I/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/lib/Transforms/Instrumentation
-Iinterpreter/llvm/src/include -I/home/davidlt/root_patch_
check/a/BUILD/slc7_ppc64le_gcc700/lcg/root/6.09.04/root-
6.09.04/interpreter/llvm/src/include -D__ROOFIT_NOBANNER
-Wno-implicit-fallthrough -Wno-noexcept-type -pipe -Wshadow -Wall -W
-Woverloaded-virtual -fsigned-char -fPIC -pthread -std=c++1z
-fvisibility=hidden -fPIC -fvisibility-inlines-hidden -w -Werror=date-time
-std=c++1z -ffunction-sections -fdata-sections -O2 -DNDEBUG
-fno-exceptions -fno-rtti -MD -MT interpreter/llvm/src/lib/
Transforms/Instrumentation/CMakeFiles/LLVMInstrumentation.dir/PGOInstrumentation.cpp.o
-MF interpreter/llvm/src/lib/Transforms/Instrumentation/CMakeFiles/
LLVMInstrumentation.dir/PGOInstrumentation.cpp.o.d -o
interpreter/llvm/src/lib/Transforms/Instrumentation/CMakeFiles/
LLVMInstrumentation.dir/PGOInstrumentation.cpp.o -c
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/lib/Transforms/
Instrumentation/PGOInstrumentation.cpp
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/lib/Transforms/
Instrumentation/PGOInstrumentation.cpp: In constructor '{anonymous}::
PGOInstrumentationUseLegacyPass::PGOInstrumentationUseLegacyPas
s(std::string)':
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/lib/Transforms/
Instrumentation/PGOInstrumentation.cpp:155:25: error:
'llvm::cl::opt<DataType, ExternalStorage, ParserClass>::opt(const
llvm::cl::opt<DataType, ExternalStorage, ParserClass>&) [with DataType =
std::basic_string<char>; bool ExternalStorage = false; ParserClass =
llvm::cl::parser<std::basic_string<char> >]' is private within this context
ProfileFileName = PGOTestProfileFile;
^~~~~~~~~~~~~~~~~~
In file included from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/Options.h:41:0,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/LLVMContext.h:19,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Metadata.h:26,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/TrackingMDRef.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/DebugLoc.h:18,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Instruction.h:20,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/BasicBlock.h:19,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Function.h:24,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/PassManager.h:44,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Transforms/PGOInstrumentation.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/lib/Transforms/
Instrumentation/PGOInstrumentation.cpp:51:
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/CommandLine.h:1296:3: note: declared private here
opt(const opt &) = delete;
^~~
This is wrong. We have a "public:" on the previous line! But I think this
is just GCC's diagnostic being screwed up and what it's trying to say is
that it selected a deleted function.
But this function is the wrong overload resolution result; the operator
std::string from the base class should be selected.
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/lib/Transforms/
Instrumentation/PGOInstrumentation.cpp:155:25: error: use of deleted
function 'llvm::cl::opt<DataType, ExternalStorage, ParserClass>::opt(const
llvm::cl::opt<DataType, ExternalStorage, ParserClass>&) [with DataType =
std::basic_string<char>; bool ExternalStorage = false; ParserClass =
llvm::cl::parser<std::basic_string<char> >]'
ProfileFileName = PGOTestProfileFile;
^~~~~~~~~~~~~~~~~~
In file included from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/Options.h:41:0,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/LLVMContext.h:19,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Metadata.h:26,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/TrackingMDRef.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/DebugLoc.h:18,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Instruction.h:20,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/BasicBlock.h:19,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Function.h:24,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/PassManager.h:44,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Transforms/PGOInstrumentation.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/lib/Transforms/
Instrumentation/PGOInstrumentation.cpp:51:
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/CommandLine.h:1296:3: note: declared here
opt(const opt &) = delete;
^~~
In file included from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/string:52:0,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/bits/locale_classes.h:40,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/bits/ios_base.h:41,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/ios:42,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/ostream:38,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/iterator:64,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/ADT/iterator_range.h:23,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/ADT/StringRef.h:13,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/ADT/StringMap.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/Host.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/ADT/Hashing.h:49,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/ADT/ArrayRef.h:13,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/ADT/DenseMapInfo.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/ADT/DenseMap.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/PassManager.h:41,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Transforms/PGOInstrumentation.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/lib/Transforms/
Instrumentation/PGOInstrumentation.cpp:51:
/home/davidlt/root_patch_check/a/slc7_ppc64le_gcc700/
external/gcc/7.0.0-njopjo2/include/c++/7.1.1/bits/basic_string.h:3566:2:
note: initializing argument 1 of 'std::basic_string<_CharT, _Traits,
_Alloc>::_If_sv<_Tp, std::basic_string<_CharT, _Traits, _Alloc>&>
std::basic_string<_CharT, _Traits, _Alloc>::operator=(_Tp) [with _Tp =
llvm::cl::opt<std::basic_string<char> >; _CharT = char; _Traits =
std::char_traits<char>; _Alloc = std::allocator<char>;
std::basic_string<_CharT, _Traits, _Alloc>::_If_sv<_Tp,
std::basic_string<_CharT, _Traits, _Alloc>&> = std::basic_string<char>&]'
operator=(_Tp __sv)
^~~~~~~~
This looks to be the reason why GCC got the wrong result from overload
resolution; this operator= overload should not exist. Looks like this is a
bug in libstdc++, related to string_view support, introduced here:
https://github.com/gcc-mirror/gcc/commit/f43be3df6589dba3b5ca3c3c90af9771639a5387
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/lib/Transforms/
Instrumentation/PGOInstrumentation.cpp: In constructor
'llvm::PGOInstrumentationUse::PGOInstrumentationUse(std::string)':
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/lib/Transforms/
Instrumentation/PGOInstrumentation.cpp:920:23: error:
'llvm::cl::opt<DataType, ExternalStorage, ParserClass>::opt(const
llvm::cl::opt<DataType, ExternalStorage, ParserClass>&) [with DataType =
std::basic_string<char>; bool ExternalStorage = false; ParserClass =
llvm::cl::parser<std::basic_string<char> >]' is private within this context
ProfileFileName = PGOTestProfileFile;
^~~~~~~~~~~~~~~~~~
In file included from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/Options.h:41:0,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/LLVMContext.h:19,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Metadata.h:26,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/TrackingMDRef.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/DebugLoc.h:18,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Instruction.h:20,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/BasicBlock.h:19,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Function.h:24,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/PassManager.h:44,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Transforms/PGOInstrumentation.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/lib/Transforms/
Instrumentation/PGOInstrumentation.cpp:51:
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/CommandLine.h:1296:3: note: declared private here
opt(const opt &) = delete;
^~~
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/lib/Transforms/
Instrumentation/PGOInstrumentation.cpp:920:23: error: use of deleted
function 'llvm::cl::opt<DataType, ExternalStorage, ParserClass>::opt(const
llvm::cl::opt<DataType, ExternalStorage, ParserClass>&) [with DataType =
std::basic_string<char>; bool ExternalStorage = false; ParserClass =
llvm::cl::parser<std::basic_string<char> >]'
ProfileFileName = PGOTestProfileFile;
^~~~~~~~~~~~~~~~~~
In file included from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/Options.h:41:0,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/LLVMContext.h:19,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Metadata.h:26,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/TrackingMDRef.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/DebugLoc.h:18,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Instruction.h:20,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/BasicBlock.h:19,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Function.h:24,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/PassManager.h:44,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Transforms/PGOInstrumentation.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/lib/Transforms/
Instrumentation/PGOInstrumentation.cpp:51:
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/CommandLine.h:1296:3: note: declared here
opt(const opt &) = delete;
^~~
In file included from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/string:52:0,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/bits/locale_classes.h:40,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/bits/ios_base.h:41,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/ios:42,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/ostream:38,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/iterator:64,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/ADT/iterator_range.h:23,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/ADT/StringRef.h:13,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/ADT/StringMap.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/Host.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/ADT/Hashing.h:49,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/ADT/ArrayRef.h:13,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/ADT/DenseMapInfo.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/ADT/DenseMap.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/PassManager.h:41,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Transforms/PGOInstrumentation.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/lib/Transforms/
Instrumentation/PGOInstrumentation.cpp:51:
/home/davidlt/root_patch_check/a/slc7_ppc64le_gcc700/
external/gcc/7.0.0-njopjo2/include/c++/7.1.1/bits/basic_string.h:3566:2:
note: initializing argument 1 of 'std::basic_string<_CharT, _Traits,
_Alloc>::_If_sv<_Tp, std::basic_string<_CharT, _Traits, _Alloc>&>
std::basic_string<_CharT, _Traits, _Alloc>::operator=(_Tp) [with _Tp =
llvm::cl::opt<std::basic_string<char> >; _CharT = char; _Traits =
std::char_traits<char>; _Alloc = std::allocator<char>;
std::basic_string<_CharT, _Traits, _Alloc>::_If_sv<_Tp,
std::basic_string<_CharT, _Traits, _Alloc>&> = std::basic_string<char>&]'
operator=(_Tp __sv)
^~~~~~~~
FAILED: /home/davidlt/root_patch_check/a/slc7_ppc64le_gcc700/
external/gcc/7.0.0-njopjo2/bin/g++ -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Iinterpreter/llvm/src/lib/Transforms/IPO -I/home/davidlt/root_patch_
check/a/BUILD/slc7_ppc64le_gcc700/lcg/root/6.09.04/root-
6.09.04/interpreter/llvm/src/lib/Transforms/IPO
-Iinterpreter/llvm/src/include -I/home/davidlt/root_patch_
check/a/BUILD/slc7_ppc64le_gcc700/lcg/root/6.09.04/root-
6.09.04/interpreter/llvm/src/include -D__ROOFIT_NOBANNER
-Wno-implicit-fallthrough -Wno-noexcept-type -pipe -Wshadow -Wall -W
-Woverloaded-virtual -fsigned-char -fPIC -pthread -std=c++1z
-fvisibility=hidden -fPIC -fvisibility-inlines-hidden -w -Werror=date-time
-std=c++1z -ffunction-sections -fdata-sections -O2 -DNDEBUG
-fno-exceptions -fno-rtti -MD -MT interpreter/llvm/src/lib/
Transforms/IPO/CMakeFiles/LLVMipo.dir/PassManagerBuilder.cpp.o -MF
interpreter/llvm/src/lib/Transforms/IPO/CMakeFiles/LLVMipo.dir/PassManagerBuilder.cpp.o.d
-o interpreter/llvm/src/lib/Transforms/IPO/CMakeFiles/LLVMipo.dir/PassManagerBuilder.cpp.o
-c /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
lib/Transforms/IPO/PassManagerBuilder.cpp
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
lib/Transforms/IPO/PassManagerBuilder.cpp: In constructor
'llvm::PassManagerBuilder::PassManagerBuilder()':
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
lib/Transforms/IPO/PassManagerBuilder.cpp:146:19: error:
'llvm::cl::opt<DataType, ExternalStorage, ParserClass>::opt(const
llvm::cl::opt<DataType, ExternalStorage, ParserClass>&) [with DataType =
std::basic_string<char>; bool ExternalStorage = false; ParserClass =
llvm::cl::parser<std::basic_string<char> >]' is private within this context
PGOInstrGen = RunPGOInstrGen;
^~~~~~~~~~~~~~
In file included from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/Options.h:41:0,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/LLVMContext.h:19,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Metadata.h:26,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/TrackingMDRef.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/DebugLoc.h:18,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Instruction.h:20,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/BasicBlock.h:19,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Function.h:24,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Instructions.h:26,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/CallSite.h:33,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Analysis/AliasAnalysis.h:41,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Analysis/BasicAliasAnalysis.h:18,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
lib/Transforms/IPO/PassManagerBuilder.cpp:18:
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/CommandLine.h:1296:3: note: declared private here
opt(const opt &) = delete;
^~~
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
lib/Transforms/IPO/PassManagerBuilder.cpp:146:19: error: use of deleted
function 'llvm::cl::opt<DataType, ExternalStorage, ParserClass>::opt(const
llvm::cl::opt<DataType, ExternalStorage, ParserClass>&) [with DataType =
std::basic_string<char>; bool ExternalStorage = false; ParserClass =
llvm::cl::parser<std::basic_string<char> >]'
PGOInstrGen = RunPGOInstrGen;
^~~~~~~~~~~~~~
In file included from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/Options.h:41:0,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/LLVMContext.h:19,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Metadata.h:26,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/TrackingMDRef.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/DebugLoc.h:18,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Instruction.h:20,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/BasicBlock.h:19,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Function.h:24,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Instructions.h:26,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/CallSite.h:33,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Analysis/AliasAnalysis.h:41,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Analysis/BasicAliasAnalysis.h:18,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
lib/Transforms/IPO/PassManagerBuilder.cpp:18:
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/CommandLine.h:1296:3: note: declared here
opt(const opt &) = delete;
^~~
In file included from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/string:52:0,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/stdexcept:39,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/array:39,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/tuple:39,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/functional:54,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Transforms/IPO/PassManagerBuilder.h:18,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
lib/Transforms/IPO/PassManagerBuilder.cpp:15:
/home/davidlt/root_patch_check/a/slc7_ppc64le_gcc700/
external/gcc/7.0.0-njopjo2/include/c++/7.1.1/bits/basic_string.h:3566:2:
note: initializing argument 1 of 'std::basic_string<_CharT, _Traits,
_Alloc>::_If_sv<_Tp, std::basic_string<_CharT, _Traits, _Alloc>&>
std::basic_string<_CharT, _Traits, _Alloc>::operator=(_Tp) [with _Tp =
llvm::cl::opt<std::basic_string<char> >; _CharT = char; _Traits =
std::char_traits<char>; _Alloc = std::allocator<char>;
std::basic_string<_CharT, _Traits, _Alloc>::_If_sv<_Tp,
std::basic_string<_CharT, _Traits, _Alloc>&> = std::basic_string<char>&]'
operator=(_Tp __sv)
^~~~~~~~
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
lib/Transforms/IPO/PassManagerBuilder.cpp:147:19: error:
'llvm::cl::opt<DataType, ExternalStorage, ParserClass>::opt(const
llvm::cl::opt<DataType, ExternalStorage, ParserClass>&) [with DataType =
std::basic_string<char>; bool ExternalStorage = false; ParserClass =
llvm::cl::parser<std::basic_string<char> >]' is private within this context
PGOInstrUse = RunPGOInstrUse;
^~~~~~~~~~~~~~
In file included from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/Options.h:41:0,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/LLVMContext.h:19,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Metadata.h:26,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/TrackingMDRef.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/DebugLoc.h:18,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Instruction.h:20,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/BasicBlock.h:19,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Function.h:24,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Instructions.h:26,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/CallSite.h:33,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Analysis/AliasAnalysis.h:41,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Analysis/BasicAliasAnalysis.h:18,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
lib/Transforms/IPO/PassManagerBuilder.cpp:18:
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/CommandLine.h:1296:3: note: declared private here
opt(const opt &) = delete;
^~~
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
lib/Transforms/IPO/PassManagerBuilder.cpp:147:19: error: use of deleted
function 'llvm::cl::opt<DataType, ExternalStorage, ParserClass>::opt(const
llvm::cl::opt<DataType, ExternalStorage, ParserClass>&) [with DataType =
std::basic_string<char>; bool ExternalStorage = false; ParserClass =
llvm::cl::parser<std::basic_string<char> >]'
PGOInstrUse = RunPGOInstrUse;
^~~~~~~~~~~~~~
In file included from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/Options.h:41:0,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/LLVMContext.h:19,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Metadata.h:26,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/TrackingMDRef.h:17,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/DebugLoc.h:18,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Instruction.h:20,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/BasicBlock.h:19,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Function.h:24,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/Instructions.h:26,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/IR/CallSite.h:33,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Analysis/AliasAnalysis.h:41,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Analysis/BasicAliasAnalysis.h:18,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
lib/Transforms/IPO/PassManagerBuilder.cpp:18:
/home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Support/CommandLine.h:1296:3: note: declared here
opt(const opt &) = delete;
^~~
In file included from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/string:52:0,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/stdexcept:39,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/array:39,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/tuple:39,
from /home/davidlt/root_patch_
check/a/slc7_ppc64le_gcc700/external/gcc/7.0.0-njopjo2/
include/c++/7.1.1/functional:54,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
include/llvm/Transforms/IPO/PassManagerBuilder.h:18,
from /home/davidlt/root_patch_check/a/BUILD/slc7_ppc64le_
gcc700/lcg/root/6.09.04/root-6.09.04/interpreter/llvm/src/
lib/Transforms/IPO/PassManagerBuilder.cpp:15:
/home/davidlt/root_patch_check/a/slc7_ppc64le_gcc700/
external/gcc/7.0.0-njopjo2/include/c++/7.1.1/bits/basic_string.h:3566:2:
note: initializing argument 1 of 'std::basic_string<_CharT, _Traits,
_Alloc>::_If_sv<_Tp, std::basic_string<_CharT, _Traits, _Alloc>&>
std::basic_string<_CharT, _Traits, _Alloc>::operator=(_Tp) [with _Tp =
llvm::cl::opt<std::basic_string<char> >; _CharT = char; _Traits =
std::char_traits<char>; _Alloc = std::allocator<char>;
std::basic_string<_CharT, _Traits, _Alloc>::_If_sv<_Tp,
std::basic_string<_CharT, _Traits, _Alloc>&> = std::basic_string<char>&]'
operator=(_Tp __sv)
^~~~~~~~
-- AFTERIMAGE build command succeeded. See also /home/davidlt/root_patch_
check/a/BUILD/slc7_ppc64le_gcc700/lcg/root/6.09.04/build/
AFTERIMAGE-prefix/src/AFTERIMAGE-stamp/AFTERIMAGE-build-*.log
ninja: build stopped: subcommand failed.
error: Bad exit status from
/home/davidlt/root_patch_check/a/tmp/rpm-tmp.vcc9aU
(%build)
Repository:
rL LLVM
https://reviews.llvm.org/D33467
_______________________________________________
cfe-commits mailing list
cfe-commits at lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170526/eab79538/attachment-0001.html>
More information about the cfe-commits
mailing list