from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/python/py-event.c:20: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX breakpoint.o In file included from ../../gdb/breakpoint.c:34: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/breakpoint.c:20: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX posix-hdep.o CXX reggroups.o CXX record-btrace.o In file included from ../../gdb/record-btrace.c:41: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/record-btrace.c:22: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ In file included from ../../gdb/exceptions.h:23, from ../../gdb/utils.h:24, from ../../gdb/defs.h:630: In destructor 'ui_out_emit_type::~ui_out_emit_type() [with ui_out_type Type = ui_out_type_list]', inlined from 'void gdb::optional::destroy() [with T = ui_out_emit_type]' at ../../gdb/../gdbsupport/gdb_optional.h:199:15, inlined from 'void gdb::optional::reset() [with T = ui_out_emit_type]' at ../../gdb/../gdbsupport/gdb_optional.h:189:21, inlined from 'gdb::optional::~optional() [with T = ui_out_emit_type]' at ../../gdb/../gdbsupport/gdb_optional.h:66:17, inlined from 'void btrace_insn_history(ui_out*, const btrace_thread_info*, const btrace_insn_iterator*, const btrace_insn_iterator*, gdb_disassembly_flags)' at ../../gdb/record-btrace.c:863:1: ../../gdb/ui-out.h:352:18: warning: '*(ui_out_emit_type*)((char*)&asm_list + offsetof(gdb::optional >,gdb::optional >::)).ui_out_emit_type::m_uiout' may be used uninitialized [-Wmaybe-uninitialized] 352 | m_uiout->end (Type); | ~~~~~~~~~~~~~^~~~~~ ../../gdb/record-btrace.c: In function 'void btrace_insn_history(ui_out*, const btrace_thread_info*, const btrace_insn_iterator*, const btrace_insn_iterator*, gdb_disassembly_flags)': ../../gdb/record-btrace.c:795:35: note: '*(ui_out_emit_type*)((char*)&asm_list + offsetof(gdb::optional >,gdb::optional >::)).ui_out_emit_type::m_uiout' was declared here 795 | gdb::optional asm_list; | ^~~~~~~~ CXX gdb_bfd.o In file included from ../../gdb/gdb_bfd.c:34: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/gdb_bfd.c:20: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX unittests/scoped_restore-selftests.o CXX python/py-linetable.o CXX unittests/main-thread-selftests.o CXX python/py-cmd.o CXX unittests/observable-selftests.o CXX trad-frame.o YACC rust-exp.c /home/autobuild/autobuild/instance-5/output-1/build/host-gdb-arc-2020.09-release-gdb/build/gdb/../../gdb/rust-exp.y:23.1-12: warning: POSIX Yacc does not support %pure-parser [-Wyacc] 23 | %pure-parser | ^~~~~~~~~~~~ /home/autobuild/autobuild/instance-5/output-1/build/host-gdb-arc-2020.09-release-gdb/build/gdb/../../gdb/rust-exp.y:23.1-12: warning: deprecated directive: '%pure-parser', use '%define api.pure' [-Wdeprecated] 23 | %pure-parser | ^~~~~~~~~~~~ | %define api.pure /home/autobuild/autobuild/instance-5/output-1/build/host-gdb-arc-2020.09-release-gdb/build/gdb/../../gdb/rust-exp.y:28.1-7: warning: POSIX Yacc does not support %expect [-Wyacc] 28 | %expect 1 | ^~~~~~~ /home/autobuild/autobuild/instance-5/output-1/build/host-gdb-arc-2020.09-release-gdb/build/gdb/../../gdb/rust-exp.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] CXX rust-exp.o CXX python/py-frame.o CXX target-dcache.o CXX mi/mi-cmd-disas.o CXX macrocmd.o CXX python/py-lazy-string.o CXX value.o CXX debuginfod-support.o CXX dwarf2/frame-tailcall.o CXX elfread.o In file included from ../../gdb/elfread.c:42: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/elfread.c:22: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX python/py-param.o CXX main.o In file included from ../../gdb/main.c:23: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/main.c:20: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX filename-seen-cache.o CXX python/py-record-btrace.o In file included from ../../gdb/python/py-record.h:23, from ../../gdb/python/py-record-btrace.c:25: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/python/py-record-btrace.c:20: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX mi/mi-cmd-target.o CXX p-lang.o CXX ui-out.o CXX d-namespace.o CXX skip.o CXX python/py-finishbreakpoint.o In file included from ../../gdb/python/py-finishbreakpoint.c:30: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/python/py-finishbreakpoint.c:22: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX maint-test-options.o CXX python/py-instruction.o CXX tracectf.o In file included from ../../gdb/tracectf.c:29: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/tracectf.c:22: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX dwarf2/index-cache.o CXX blockframe.o In file included from ../../gdb/blockframe.c:29: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/blockframe.c:21: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX serial.o CXX target-float.o CXX memrange.o CXX cp-abi.o CXX unittests/vec-utils-selftests.o CXX break-catch-syscall.o In file included from ../../gdb/break-catch-syscall.c:24: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/break-catch-syscall.c:20: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX mi/mi-cmds.o CXX break-catch-throw.o In file included from ../../gdb/break-catch-throw.c:25: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/break-catch-throw.c:20: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX ser-base.o CXX location.o ../../gdb/location.c: In function 'int event_location_empty_p(const event_location*)': ../../gdb/location.c:963:38: warning: the address of 'event_location::::explicit_loc' will never be NULL [-Waddress] 963 | return (EL_EXPLICIT (location) == NULL | ^ ../../gdb/location.c:57:30: note: 'event_location::::explicit_loc' declared here 57 | struct explicit_location explicit_loc; | ^~~~~~~~~~~~ CXX tui/tui-hooks.o In file included from ../../gdb/tui/tui-hooks.c:22: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/tui/tui-hooks.c:20: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX selftest-arch.o CXX inf-loop.o In file included from ../../gdb/inf-loop.c:21: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/inf-loop.c:20: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX typeprint.o CXX tui/tui-source.o CXX mi/mi-cmd-stack.o CXX jit.o In file included from ../../gdb/jit.c:32: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/jit.c:20: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX unittests/child-path-selftests.o CXX infrun.o In file included from ../../gdb/infrun.c:26: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/infrun.c:21: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX tui/tui-out.o CXX python/py-record.o In file included from ../../gdb/python/py-record.h:23, from ../../gdb/python/py-record.c:22: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/python/py-record.c:20: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ GEN stamp-version CXX version.o CXX alloc.o CXX d-valprint.o CXX ax-gdb.o CXX unittests/command-def-selftests.o CXX dwarf2/leb.o CXX cli/cli-option.o CXX unittests/common-utils-selftests.o CXX osabi.o CXX tui/tui-disasm.o CXX unittests/utils-selftests.o CXX unittests/cli-utils-selftests.o CXX tracepoint.o In file included from ../../gdb/tracepoint.c:31: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/tracepoint.c:20: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ YACC go-exp.c CXX go-exp.o CXX mem-break.o In file included from ../../gdb/mem-break.c:25: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/mem-break.c:22: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX dwarf2/line-header.o CXX dwarf2/abbrev.o CXX minidebug.o CXX btrace.o In file included from ../../gdb/btrace.c:25: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/btrace.c:22: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX cli/cli-style.o CXX unittests/rsp-low-selftests.o CXX solib-target.o CXX dwarf2/index-common.o CXX gdb_obstack.o CXX tui/tui-win.o In file included from /usr/include/c++/12.1.0/string:40, from ../../gdb/../gdbsupport/common-utils.h:23, from ../../gdb/../gdbsupport/common-defs.h:125, from ../../gdb/defs.h:28, from ../../gdb/tui/tui-win.c:27: In static member function 'static constexpr std::size_t std::char_traits::length(const char_type*)', inlined from 'constexpr std::basic_string_view<_CharT, _Traits>::basic_string_view(const _CharT*) [with _CharT = char; _Traits = std::char_traits]' at /usr/include/c++/12.1.0/string_view:134:35, inlined from 'tui_win_info* tui_partial_win_by_name(gdb::string_view)' at ../../gdb/tui/tui-win.c:663:12: /usr/include/c++/12.1.0/bits/char_traits.h:395:32: warning: argument 1 null where non-null expected [-Wnonnull] 395 | return __builtin_strlen(__s); | ~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/12.1.0/bits/char_traits.h:395:32: note: in a call to built-in function 'long unsigned int __builtin_strlen(const char*)' CXX annotate.o In file included from ../../gdb/annotate.c:26: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/annotate.c:19: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX maint.o CXX ada-lang.o In file included from ../../gdb/ada-lang.c:32: ../../gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const': ../../gdb/inferior.h:82:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations] 82 | if (!std::uncaught_exception ()) | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12.1.0/ext/concurrence.h:34, from /usr/include/c++/12.1.0/bits/shared_ptr_base.h:62, from /usr/include/c++/12.1.0/bits/shared_ptr.h:53, from /usr/include/c++/12.1.0/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/ada-lang.c:21: /usr/include/c++/12.1.0/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ ../../gdb/ada-lang.c: In constructor 'ada_lookup_name_info::ada_lookup_name_info(const lookup_name_info&)': ../../gdb/ada-lang.c:13785:57: error: 'class std::basic_string_view' has no member named 'to_string' 13785 | = user_name.substr (1, user_name.size () - 2).to_string (); | ^~~~~~~~~ ../../gdb/ada-lang.c:13788:57: error: 'class std::basic_string_view' has no member named 'to_string' 13788 | = user_name.substr (1, user_name.size () - 1).to_string (); | ^~~~~~~~~ ../../gdb/ada-lang.c:13807:40: error: 'using string_view = using string_view = class std::basic_string_view' {aka 'class std::basic_string_view'} has no member named 'to_string' 13807 | m_encoded_name = user_name.to_string (); | ^~~~~~~~~ ../../gdb/ada-lang.c:13810:36: error: 'using string_view = using string_view = class std::basic_string_view' {aka 'class std::basic_string_view'} has no member named 'to_string' 13810 | m_encoded_name = user_name.to_string (); | ^~~~~~~~~ make[3]: *** [Makefile:1606: ada-lang.o] Error 1 shuffle=0 make[3]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/host-gdb-arc-2020.09-release-gdb/build/gdb' make[2]: *** [Makefile:9732: all-gdb] Error 2 shuffle=0 make[2]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/host-gdb-arc-2020.09-release-gdb/build' make[1]: *** [Makefile:854: all] Error 2 shuffle=0 make[1]: Leaving directory '/home/autobuild/autobuild/instance-5/output-1/build/host-gdb-arc-2020.09-release-gdb/build' make: *** [package/pkg-generic.mk:293: /home/autobuild/autobuild/instance-5/output-1/build/host-gdb-arc-2020.09-release-gdb/.stamp_built] Error 2 shuffle=0 make: Leaving directory '/home/autobuild/autobuild/instance-5/buildroot'