Looks like head's clang 8 update broke compiling at least llvm/tools/lldb/source/API/SBMemoryRegionInfo*.cpp via gcc
Mark Millard
marklmi at yahoo.com
Tue Mar 5 22:07:25 UTC 2019
For example, https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/9167/console shows:
13:07:44 --- API/SBMemoryRegionInfo.o ---
13:07:44 In file included from /workspace/src/contrib/llvm/tools/lldb/source/API/SBMemoryRegionInfo.cpp:14:0:
13:07:44 /workspace/src/contrib/llvm/tools/lldb/include/lldb/Target/MemoryRegionInfo.h:128:54: error: 'template<class _InputIterator> lldb_private::MemoryRegionInfos::MemoryRegionInfos(_InputIterator, _InputIterator, const allocator_type&)' inherited from 'std::__1::vector<lldb_private::MemoryRegionInfo>'
13:07:44 using std::vector<lldb_private::MemoryRegionInfo>::vector;
13:07:44 ^~~~~~
13:07:44 /workspace/src/contrib/llvm/tools/lldb/include/lldb/Target/MemoryRegionInfo.h:128:54: error: conflicts with version inherited from 'std::__1::vector<lldb_private::MemoryRegionInfo>'
13:07:44 *** [API/SBMemoryRegionInfo.o] Error code 1
13:07:44
13:07:44 make[6]: stopped in /workspace/src/lib/clang/liblldb
13:07:44 --- API/SBMemoryRegionInfoList.o ---
13:07:44 In file included from /workspace/src/contrib/llvm/tools/lldb/source/API/SBMemoryRegionInfoList.cpp:13:0:
13:07:44 /workspace/src/contrib/llvm/tools/lldb/include/lldb/Target/MemoryRegionInfo.h:128:54: error: 'template<class _InputIterator> lldb_private::MemoryRegionInfos::MemoryRegionInfos(_InputIterator, _InputIterator, const allocator_type&)' inherited from 'std::__1::vector<lldb_private::MemoryRegionInfo>'
13:07:44 using std::vector<lldb_private::MemoryRegionInfo>::vector;
13:07:44 ^~~~~~
13:07:44 /workspace/src/contrib/llvm/tools/lldb/include/lldb/Target/MemoryRegionInfo.h:128:54: error: conflicts with version inherited from 'std::__1::vector<lldb_private::MemoryRegionInfo>'
13:07:45 *** [API/SBMemoryRegionInfoList.o] Error code 1
(I would directly notice such things more via powerpc64 experiments
[native builds and cross builds], not via amd64 self-hosted.)
Of course, if lldb is not built, the build might complete overall. But
the status for such is not obvious.
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
More information about the freebsd-ppc
mailing list