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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

freebsd-toolchain mailing list
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)

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[hidden email]"