Breakage on builder Fedora-x86_64-m64, revision d0801dd8f22a3e739c6a7d126d45829df981794d

gdb-buildbot@sergiodj.net gdb-buildbot@sergiodj.net
Mon Dec 16 23:49: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.

In file included from /usr/include/c++/9/debug/vector:43,
                 from /usr/include/c++/9/vector:76,
                 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++/9/debug/safe_iterator.h:535:2: note: candidate: template<class _MutableIterator> __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>::_Safe_iterator(const __gnu_debug::_Safe_iterator<_MutableIterator, _Sequence, typename __gnu_cxx::__enable_if<(typename __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::forward_iterator_tag>::_IsConstant::__value && std::__are_same<_MutableIterator, typename __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::forward_iterator_tag>::_OtherIterator>::__value), std::bidirectional_iterator_tag>::__type>&)
  535 |  _Safe_iterator(
      |  ^~~~~~~~~~~~~~
/usr/include/c++/9/debug/safe_iterator.h:535:2: note:   template argument deduction/substitution failed:
/usr/include/c++/9/debug/safe_iterator.h: In substitution of template<class _MutableIterator> __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag>::_Safe_iterator(const __gnu_debug::_Safe_iterator<_MutableIterator, std::__debug::list<objfile*>, typename __gnu_cxx::__enable_if<(std::__are_same<std::__cxx1998::_List_const_iterator<objfile*>, std::__cxx1998::_List_iterator<objfile*> >::__value && std::__are_same<_MutableIterator, std::__cxx1998::_List_const_iterator<objfile*> >::__value), std::bidirectional_iterator_tag>::__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*>, std::bidirectional_iterator_tag>; Iterator = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag>]
../../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*>, std::bidirectional_iterator_tag> >; typename Range::iterator = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag>]
../../binutils-gdb/gdb/jit.c:1365:62:   required from here
/usr/include/c++/9/debug/safe_iterator.h:535:2: error: no type named __type in struct __gnu_cxx::__enable_if<false, std::bidirectional_iterator_tag>
../../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*>, std::bidirectional_iterator_tag>; Iterator = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag>]:
../../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*>, std::bidirectional_iterator_tag> >; typename Range::iterator = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag>]
../../binutils-gdb/gdb/jit.c:1365:62:   required from here
/usr/include/c++/9/debug/safe_iterator.h:527:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>::_Safe_iterator(__gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>&&) [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
  527 |       _Safe_iterator(_Safe_iterator&&) = default;
      |       ^~~~~~~~~~~~~~
/usr/include/c++/9/debug/safe_iterator.h:527:22: note:   no known conversion for argument 1 from __gnu_debug::_Safe_iterator<std::__cxx1998::_List_const_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag> to __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag>&&
  527 |       _Safe_iterator(_Safe_iterator&&) = default;
      |                      ^~~~~~~~~~~~~~~~
/usr/include/c++/9/debug/safe_iterator.h:521:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>::_Safe_iterator(const __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>&) [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
  521 |       _Safe_iterator(const _Safe_iterator& __x) _GLIBCXX_NOEXCEPT
      |       ^~~~~~~~~~~~~~
/usr/include/c++/9/debug/safe_iterator.h:521:44: note:   no known conversion for argument 1 from __gnu_debug::_Safe_iterator<std::__cxx1998::_List_const_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag> to const __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag>&
  521 |       _Safe_iterator(const _Safe_iterator& __x) _GLIBCXX_NOEXCEPT
      |                      ~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/9/debug/safe_iterator.h:513:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>::_Safe_iterator(_Iterator, const __gnu_debug::_Safe_sequence_base*) [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
  513 |       _Safe_iterator(_Iterator __i, const _Safe_sequence_base* __seq)
      |       ^~~~~~~~~~~~~~
/usr/include/c++/9/debug/safe_iterator.h:513:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/c++/9/debug/safe_iterator.h:504:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>::_Safe_iterator() [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
  504 |       _Safe_iterator() _GLIBCXX_NOEXCEPT { }
      |       ^~~~~~~~~~~~~~
/usr/include/c++/9/debug/safe_iterator.h:504:7: note:   candidate expects 0 arguments, 1 provided
/usr/include/c++/9/debug/safe_iterator.h:497:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>::_Safe_iterator(_Iterator, __gnu_debug::_Safe_sequence_base*, __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>::_Attach_single) [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>; __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>::_Attach_single = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*>, std::forward_iterator_tag>::_Attach_single]
  497 |       _Safe_iterator(_Iterator __i, _Safe_sequence_base* __seq, _Attach_single)
      |       ^~~~~~~~~~~~~~
/usr/include/c++/9/debug/safe_iterator.h:497:7: note:   candidate expects 3 arguments, 1 provided
In file included from ../../binutils-gdb/gdb/progspace.h:29,
                 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*>, std::bidirectional_iterator_tag>::_Safe_iterator(__gnu_debug::_Safe_iterator<std::__cxx1998::_List_const_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag>)
   68 |       m_end (std::forward<Arg> (arg2))
      |                                      ^
In file included from /usr/include/c++/9/debug/vector:43,
                 from /usr/include/c++/9/vector:76,
                 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++/9/debug/safe_iterator.h:535:2: note: candidate: template<class _MutableIterator> __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>::_Safe_iterator(const __gnu_debug::_Safe_iterator<_MutableIterator, _Sequence, typename __gnu_cxx::__enable_if<(typename __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::forward_iterator_tag>::_IsConstant::__value && std::__are_same<_MutableIterator, typename __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::forward_iterator_tag>::_OtherIterator>::__value), std::bidirectional_iterator_tag>::__type>&)
  535 |  _Safe_iterator(
      |  ^~~~~~~~~~~~~~
/usr/include/c++/9/debug/safe_iterator.h:535:2: note:   template argument deduction/substitution failed:
/usr/include/c++/9/debug/safe_iterator.h: In substitution of template<class _MutableIterator> __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag>::_Safe_iterator(const __gnu_debug::_Safe_iterator<_MutableIterator, std::__debug::list<objfile*>, typename __gnu_cxx::__enable_if<(std::__are_same<std::__cxx1998::_List_const_iterator<objfile*>, std::__cxx1998::_List_iterator<objfile*> >::__value && std::__are_same<_MutableIterator, std::__cxx1998::_List_const_iterator<objfile*> >::__value), std::bidirectional_iterator_tag>::__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*>, std::bidirectional_iterator_tag>; Iterator = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag>]
../../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*>, std::bidirectional_iterator_tag> >; typename Range::iterator = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag>]
../../binutils-gdb/gdb/jit.c:1365:62:   required from here
/usr/include/c++/9/debug/safe_iterator.h:535:2: error: no type named __type in struct __gnu_cxx::__enable_if<false, std::bidirectional_iterator_tag>
../../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*>, std::bidirectional_iterator_tag>; Iterator = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag>]:
../../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*>, std::bidirectional_iterator_tag> >; typename Range::iterator = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag>]
../../binutils-gdb/gdb/jit.c:1365:62:   required from here
/usr/include/c++/9/debug/safe_iterator.h:527:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>::_Safe_iterator(__gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>&&) [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
  527 |       _Safe_iterator(_Safe_iterator&&) = default;
      |       ^~~~~~~~~~~~~~
/usr/include/c++/9/debug/safe_iterator.h:527:22: note:   no known conversion for argument 1 from __gnu_debug::_Safe_iterator<std::__cxx1998::_List_const_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag> to __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag>&&
  527 |       _Safe_iterator(_Safe_iterator&&) = default;
      |                      ^~~~~~~~~~~~~~~~
/usr/include/c++/9/debug/safe_iterator.h:521:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>::_Safe_iterator(const __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>&) [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
  521 |       _Safe_iterator(const _Safe_iterator& __x) _GLIBCXX_NOEXCEPT
      |       ^~~~~~~~~~~~~~
/usr/include/c++/9/debug/safe_iterator.h:521:44: note:   no known conversion for argument 1 from __gnu_debug::_Safe_iterator<std::__cxx1998::_List_const_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag> to const __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*>, std::bidirectional_iterator_tag>&
  521 |       _Safe_iterator(const _Safe_iterator& __x) _GLIBCXX_NOEXCEPT
      |                      ~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/9/debug/safe_iterator.h:513:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>::_Safe_iterator(_Iterator, const __gnu_debug::_Safe_sequence_base*) [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
  513 |       _Safe_iterator(_Iterator __i, const _Safe_sequence_base* __seq)
      |       ^~~~~~~~~~~~~~
/usr/include/c++/9/debug/safe_iterator.h:513:7: note:   candidate expects 2 arguments, 1 provided
/usr/include/c++/9/debug/safe_iterator.h:504:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>::_Safe_iterator() [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>]
  504 |       _Safe_iterator() _GLIBCXX_NOEXCEPT { }
      |       ^~~~~~~~~~~~~~
/usr/include/c++/9/debug/safe_iterator.h:504:7: note:   candidate expects 0 arguments, 1 provided
/usr/include/c++/9/debug/safe_iterator.h:497:7: note: candidate: __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>::_Safe_iterator(_Iterator, __gnu_debug::_Safe_sequence_base*, __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>::_Attach_single) [with _Iterator = std::__cxx1998::_List_iterator<objfile*>; _Sequence = std::__debug::list<objfile*>; __gnu_debug::_Safe_iterator<_Iterator, _Sequence, std::bidirectional_iterator_tag>::_Attach_single = __gnu_debug::_Safe_iterator<std::__cxx1998::_List_iterator<objfile*>, std::__debug::list<objfile*>, std::forward_iterator_tag>::_Attach_single]
  497 |       _Safe_iterator(_Iterator __i, _Safe_sequence_base* __seq, _Attach_single)
      |       ^~~~~~~~~~~~~~
/usr/include/c++/9/debug/safe_iterator.h:497:7: note:   candidate expects 3 arguments, 1 provided
make[2]: *** [Makefile:1662: jit.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-1/fedora-x86-64/build/gdb'
make[1]: *** [Makefile:9230: all-gdb] Error 2
make[1]: Leaving directory '/home/gdb-buildbot/fedora-x86-64-1/fedora-x86-64/build'
make: *** [Makefile:852: all] Error 2
program finished with exit code 2
elapsedTime=268.099007



More information about the Gdb-patches mailing list