Breakage on builder Ubuntu-Aarch64-m64, revision d0801dd8f22a3e739c6a7d126d45829df981794d

gdb-buildbot@sergiodj.net gdb-buildbot@sergiodj.net
Sun Dec 15 23:27:00 GMT 2019


Unfortunately it seems that there is a breakage on GDB.

Commit title: 'Store objfiles on a std::list'
Revision: d0801dd8f22a3e739c6a7d126d45829df981794d

You can find more details below:

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


+++ The full log is too big to be posted here.
+++ These are the last 100 lines of it.

../../binutils-gdb/gdb/jit.c:1365:62:   required from here
../../binutils-gdb/gdb/gdbsupport/safe-iterator.h:68:38: error: no matching function for call to '__gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> >::_Safe_iterator(__gnu_debug::_Safe_iterator<std::__cxx1998::_List_const_iterator<objfile*>, std::__debug::list<objfile*> >)'
       m_end (std::forward<Arg> (arg2))
                                      ^
In file included from /usr/include/c++/7/debug/vector:38:0,
                 from /usr/include/c++/7/vector:73,
                 from ../../binutils-gdb/gdb/gdbsupport/common-utils.h:24,
                 from ../../binutils-gdb/gdb/gdbsupport/common-defs.h:127,
                 from ../../binutils-gdb/gdb/defs.h:28,
                 from ../../binutils-gdb/gdb/jit.c:20:
/usr/include/c++/7/debug/safe_iterator.h:178:2: note: candidate: template<class _MutableIterator> __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Safe_iterator(const __gnu_debug::_Safe_iterator<_MutableIterator, typename __gnu_cxx::__enable_if<std::__are_same<_MutableIterator, typename _Sequence::iterator::iterator_type>::__value, _Sequence>::__type>&)
  _Safe_iterator(
  ^~~~~~~~~~~~~~
/usr/include/c++/7/debug/safe_iterator.h:178:2: note:   template argument deduction/substitution failed:
/usr/include/c++/7/debug/safe_iterator.h: In substitution of 'template<class _MutableIterator> __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> >::_Safe_iterator(const __gnu_debug::_Safe_iterator<_MutableIterator, typename __gnu_cxx::__enable_if<std::__are_same<_MutableIterator, std::__cxx1998::_List_iterator<objfile*> >::__value, std::__debug::list<objfile*> >::__type>&) [with _MutableIterator = std::__cxx1998::_List_const_iterator<objfile*>]':
../../binutils-gdb/gdb/gdbsupport/safe-iterator.h:68:38:   required from 'basic_safe_iterator<Iterator>::basic_safe_iterator(Arg&&, Arg&&) [with Arg = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_const_iterator<objfile*>, std::__debug::list<objfile*> >; Iterator = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> >]'
../../binutils-gdb/gdb/gdbsupport/safe-iterator.h:122:12:   required from 'basic_safe_range<Range>::iterator basic_safe_range<Range>::begin() const [with Range = std::__debug::list<objfile*>; basic_safe_range<Range>::iterator = basic_safe_iterator<__gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> > >; typename Range::iterator = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> >]'
../../binutils-gdb/gdb/jit.c:1365:62:   required from here
/usr/include/c++/7/debug/safe_iterator.h:178:2: error: no type named '__type' in 'struct __gnu_cxx::__enable_if<false, std::__debug::list<objfile*> >'
../../binutils-gdb/gdb/gdbsupport/safe-iterator.h: In instantiation of 'basic_safe_iterator<Iterator>::basic_safe_iterator(Arg&&, Arg&&) [with Arg = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_const_iterator<objfile*>, std::__debug::list<objfile*> >; Iterator = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> >]':
../../binutils-gdb/gdb/gdbsupport/safe-iterator.h:122:12:   required from 'basic_safe_range<Range>::iterator basic_safe_range<Range>::begin() const [with Range = std::__debug::list<objfile*>; basic_safe_range<Range>::iterator = basic_safe_iterator<__gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> > >; typename Range::iterator = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> >]'
../../binutils-gdb/gdb/jit.c:1365:62:   required from here
/usr/include/c++/7/debug/safe_iterator.h:158:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Safe_iterator(__gnu_debug::_Safe_iterator<_Iterator, _Sequence>&&) [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
       _Safe_iterator(_Safe_iterator&& __x) noexcept
       ^~~~~~~~~~~~~~
/usr/include/c++/7/debug/safe_iterator.h:158:7: note:   no known conversion for argument 1 from '__gnu_debug::_Safe_iterator<std::__cxx1998::_List_const_iterator<objfile*>, std::__debug::list<objfile*> >' to '__gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> >&&'
/usr/include/c++/7/debug/safe_iterator.h:140:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Safe_iterator(const __gnu_debug::_Safe_iterator<_Iterator, _Sequence>&) [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
       _Safe_iterator(const _Safe_iterator& __x) _GLIBCXX_NOEXCEPT
       ^~~~~~~~~~~~~~
/usr/include/c++/7/debug/safe_iterator.h:140:7: note:   no known conversion for argument 1 from '__gnu_debug::_Safe_iterator<std::__cxx1998::_List_const_iterator<objfile*>, std::__debug::list<objfile*> >' to 'const __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> >&'
/usr/include/c++/7/debug/safe_iterator.h:128:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Safe_iterator(const _Iterator&, const __gnu_debug::_Safe_sequence_base*) [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
       _Safe_iterator(const _Iterator& __i, const _Safe_sequence_base* __seq)
       ^~~~~~~~~~~~~~
/usr/include/c++/7/debug/safe_iterator.h:128:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/c++/7/debug/safe_iterator.h:119:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Safe_iterator() [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
       _Safe_iterator() _GLIBCXX_NOEXCEPT : _Iter_base() { }
       ^~~~~~~~~~~~~~
/usr/include/c++/7/debug/safe_iterator.h:119:7: note:   candidate expects 0 arguments, 1 provided
/usr/include/c++/7/debug/safe_iterator.h:104:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Safe_iterator(const _Iterator&, __gnu_debug::_Safe_sequence_base*, __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Attach_single) [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
       _Safe_iterator(const _Iterator& __i, _Safe_sequence_base* __seq,
       ^~~~~~~~~~~~~~
/usr/include/c++/7/debug/safe_iterator.h:104:7: note:   candidate expects 3 arguments, 1 provided
In file included from ../../binutils-gdb/gdb/progspace.h:29:0,
                 from ../../binutils-gdb/gdb/exec.h:24,
                 from ../../binutils-gdb/gdb/gdbcore.h:29,
                 from ../../binutils-gdb/gdb/jit.c:31:
../../binutils-gdb/gdb/gdbsupport/safe-iterator.h:68:38: error: no matching function for call to '__gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> >::_Safe_iterator(__gnu_debug::_Safe_iterator<std::__cxx1998::_List_const_iterator<objfile*>, std::__debug::list<objfile*> >)'
       m_end (std::forward<Arg> (arg2))
                                      ^
In file included from /usr/include/c++/7/debug/vector:38:0,
                 from /usr/include/c++/7/vector:73,
                 from ../../binutils-gdb/gdb/gdbsupport/common-utils.h:24,
                 from ../../binutils-gdb/gdb/gdbsupport/common-defs.h:127,
                 from ../../binutils-gdb/gdb/defs.h:28,
                 from ../../binutils-gdb/gdb/jit.c:20:
/usr/include/c++/7/debug/safe_iterator.h:178:2: note: candidate: template<class _MutableIterator> __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Safe_iterator(const __gnu_debug::_Safe_iterator<_MutableIterator, typename __gnu_cxx::__enable_if<std::__are_same<_MutableIterator, typename _Sequence::iterator::iterator_type>::__value, _Sequence>::__type>&)
  _Safe_iterator(
  ^~~~~~~~~~~~~~
/usr/include/c++/7/debug/safe_iterator.h:178:2: note:   template argument deduction/substitution failed:
/usr/include/c++/7/debug/safe_iterator.h: In substitution of 'template<class _MutableIterator> __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> >::_Safe_iterator(const __gnu_debug::_Safe_iterator<_MutableIterator, typename __gnu_cxx::__enable_if<std::__are_same<_MutableIterator, std::__cxx1998::_List_iterator<objfile*> >::__value, std::__debug::list<objfile*> >::__type>&) [with _MutableIterator = std::__cxx1998::_List_const_iterator<objfile*>]':
../../binutils-gdb/gdb/gdbsupport/safe-iterator.h:68:38:   required from 'basic_safe_iterator<Iterator>::basic_safe_iterator(Arg&&, Arg&&) [with Arg = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_const_iterator<objfile*>, std::__debug::list<objfile*> >; Iterator = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> >]'
../../binutils-gdb/gdb/gdbsupport/safe-iterator.h:122:12:   required from 'basic_safe_range<Range>::iterator basic_safe_range<Range>::begin() const [with Range = std::__debug::list<objfile*>; basic_safe_range<Range>::iterator = basic_safe_iterator<__gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> > >; typename Range::iterator = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> >]'
../../binutils-gdb/gdb/jit.c:1365:62:   required from here
/usr/include/c++/7/debug/safe_iterator.h:178:2: error: no type named '__type' in 'struct __gnu_cxx::__enable_if<false, std::__debug::list<objfile*> >'
../../binutils-gdb/gdb/gdbsupport/safe-iterator.h: In instantiation of 'basic_safe_iterator<Iterator>::basic_safe_iterator(Arg&&, Arg&&) [with Arg = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_const_iterator<objfile*>, std::__debug::list<objfile*> >; Iterator = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> >]':
../../binutils-gdb/gdb/gdbsupport/safe-iterator.h:122:12:   required from 'basic_safe_range<Range>::iterator basic_safe_range<Range>::begin() const [with Range = std::__debug::list<objfile*>; basic_safe_range<Range>::iterator = basic_safe_iterator<__gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> > >; typename Range::iterator = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> >]'
../../binutils-gdb/gdb/jit.c:1365:62:   required from here
/usr/include/c++/7/debug/safe_iterator.h:158:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Safe_iterator(__gnu_debug::_Safe_iterator<_Iterator, _Sequence>&&) [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
       _Safe_iterator(_Safe_iterator&& __x) noexcept
       ^~~~~~~~~~~~~~
/usr/include/c++/7/debug/safe_iterator.h:158:7: note:   no known conversion for argument 1 from '__gnu_debug::_Safe_iterator<std::__cxx1998::_List_const_iterator<objfile*>, std::__debug::list<objfile*> >' to '__gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> >&&'
/usr/include/c++/7/debug/safe_iterator.h:140:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Safe_iterator(const __gnu_debug::_Safe_iterator<_Iterator, _Sequence>&) [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
       _Safe_iterator(const _Safe_iterator& __x) _GLIBCXX_NOEXCEPT
       ^~~~~~~~~~~~~~
/usr/include/c++/7/debug/safe_iterator.h:140:7: note:   no known conversion for argument 1 from '__gnu_debug::_Safe_iterator<std::__cxx1998::_List_const_iterator<objfile*>, std::__debug::list<objfile*> >' to 'const __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*> >&'
/usr/include/c++/7/debug/safe_iterator.h:128:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Safe_iterator(const _Iterator&, const __gnu_debug::_Safe_sequence_base*) [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
       _Safe_iterator(const _Iterator& __i, const _Safe_sequence_base* __seq)
       ^~~~~~~~~~~~~~
/usr/include/c++/7/debug/safe_iterator.h:128:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/c++/7/debug/safe_iterator.h:119:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Safe_iterator() [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
       _Safe_iterator() _GLIBCXX_NOEXCEPT : _Iter_base() { }
       ^~~~~~~~~~~~~~
/usr/include/c++/7/debug/safe_iterator.h:119:7: note:   candidate expects 0 arguments, 1 provided
/usr/include/c++/7/debug/safe_iterator.h:104:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Safe_iterator(const _Iterator&, __gnu_debug::_Safe_sequence_base*, __gnu_debug::_Safe_iterator<_Iterator, _Sequence>::_Attach_single) [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
       _Safe_iterator(const _Iterator& __i, _Safe_sequence_base* __seq,
       ^~~~~~~~~~~~~~
/usr/include/c++/7/debug/safe_iterator.h:104:7: note:   candidate expects 3 arguments, 1 provided
  CXX    linux-thread-db.o
Makefile:1662: recipe for target 'jit.o' failed
make[2]: *** [jit.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/work/ubuntu-aarch64-m64/build/gdb'
Makefile:9229: recipe for target 'all-gdb' failed
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory '/work/ubuntu-aarch64-m64/build'
Makefile:851: recipe for target 'all' failed
make: *** [all] Error 2
program finished with exit code 2
elapsedTime=180.981122



More information about the Gdb-patches mailing list