Looks like head's clang 8 update broke compiling at least llvm/tools/lldb/source/API/SBMemoryRegionInfo*.cpp via gcc

Mark Millard via freebsd-ppc <[email protected]>
Newsgroups gmane.os.freebsd.devel.ppc,gmane.os.freebsd.devel.toolchain
Message-ID <[email protected]>
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)

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.