from ../../gdb/remote.c:22: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX reverse.o CXX run-on-main-thread.o YACC rust-exp.c /home/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/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/buildroot/autobuild/instance-3/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-lang.o In file included from ../../gdb/reverse.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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/reverse.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX selftest-arch.o CXX sentinel-frame.o CXX ser-base.o In file included from ../../gdb/sentinel-frame.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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/sentinel-frame.c:21: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX ser-event.o CXX ser-pipe.o CXX ser-tcp.o CXX ser-uds.o CXX ser-unix.o CXX serial.o CXX skip.o CXX solib-svr4.o CXX solib-target.o In file included from ../../gdb/solib-svr4.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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/solib-svr4.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX solib.o CXX source-cache.o CXX source.o In file included from ../../gdb/solib.c:33: ../../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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/solib.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX stabsread.o CXX stack.o CXX stap-probe.o In file included from ../../gdb/stack.c:33: ../../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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/stack.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX std-regs.o CXX symfile-debug.o CXX symfile.o CXX symmisc.o CXX symtab.o In file included from ../../gdb/symfile.c:39: ../../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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/symfile.c:22: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX target-connection.o CXX target-dcache.o In file included from ../../gdb/symtab.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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/symtab.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ In file included from ../../gdb/target-connection.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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/target-connection.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX target-descriptions.o CXX target-float.o In file included from ../../gdb/target-descriptions.c:35: ../../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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/target-descriptions.c:22: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX target-memory.o CXX target.o CXX target/waitstatus.o CXX test-target.o CXX thread-iter.o In file included from ../../gdb/target.c:27: ../../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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/target.c:22: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX thread.o CXX tid-parse.o In file included from ../../gdb/thread-iter.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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/thread-iter.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ In file included from ../../gdb/thread.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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/thread.c:22: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX top.o In file included from ../../gdb/tid-parse.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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/tid-parse.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX tracectf.o In file included from ../../gdb/top.c:27: ../../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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/top.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX tracefile-tfile.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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/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/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX tracefile.o CXX tracepoint.o In file included from ../../gdb/tracefile-tfile.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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/tracefile-tfile.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX trad-frame.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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/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/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX tramp-frame.o CXX type-stack.o CXX typeprint.o CXX ui-file.o CXX ui-out.o CXX ui-style.o CXX unittests/array-view-selftests.o CXX unittests/child-path-selftests.o CXX unittests/cli-utils-selftests.o CXX unittests/command-def-selftests.o CXX unittests/common-utils-selftests.o CXX unittests/copy_bitwise-selftests.o CXX unittests/environ-selftests.o CXX unittests/filtered_iterator-selftests.o CXX unittests/format_pieces-selftests.o CXX unittests/function-view-selftests.o CXX unittests/lookup_name_info-selftests.o CXX unittests/main-thread-selftests.o CXX unittests/memory-map-selftests.o CXX unittests/memrange-selftests.o CXX unittests/mkdir-recursive-selftests.o CXX unittests/observable-selftests.o CXX unittests/offset-type-selftests.o CXX unittests/optional-selftests.o CXX unittests/parse-connection-spec-selftests.o CXX unittests/ptid-selftests.o CXX unittests/rsp-low-selftests.o CXX unittests/scoped_fd-selftests.o CXX unittests/scoped_mmap-selftests.o CXX unittests/scoped_restore-selftests.o CXX unittests/string_view-selftests.o CXX unittests/style-selftests.o CXX unittests/tracepoint-selftests.o In file included from ../../gdb/../gdbsupport/common-defs.h:126, from ../../gdb/defs.h:28, from ../../gdb/unittests/scoped_mmap-selftests.c:20: ../../gdb/../gdbsupport/gdb_unlinker.h: In constructor 'gdb::unlinker::unlinker(const char*)': ../../gdb/../gdbsupport/gdb_assert.h:35:4: warning: 'nonnull' argument 'filename' compared to NULL [-Wnonnull-compare] 35 | ((void) ((expr) ? 0 : \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 36 | (gdb_assert_fail (#expr, __FILE__, __LINE__, FUNCTION_NAME), 0))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../gdb/../gdbsupport/gdb_unlinker.h:38:5: note: in expansion of macro 'gdb_assert' 38 | gdb_assert (filename != NULL); | ^~~~~~~~~~ CXX unittests/tui-selftests.o CXX unittests/unpack-selftests.o CXX unittests/utils-selftests.o CXX unittests/vec-utils-selftests.o CXX unittests/xml-utils-selftests.o CXX user-regs.o CXX utils.o CXX valarith.o CXX valops.o CXX valprint.o In file included from ../../gdb/utils.c:57: ../../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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/utils.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ In file included from ../../gdb/valops.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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/valops.c:20: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX value.o CXX varobj.o GEN stamp-version GEN xml-builtin.c CXX xml-support.o In file included from ../../gdb/varobj.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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/varobj.c:18: /usr/include/c++/12/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ CXX xml-syscall.o CXX xml-tdesc.o CXX gdb.o CXX ada-exp.o CXX ada-lang.o CXX ada-tasks.o CXX ada-typeprint.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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/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/exception:124:8: note: declared here 124 | bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__)); | ^~~~~~~~~~~~~~~~~~ In file included from ../../gdb/ada-tasks.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/ext/concurrence.h:34, from /usr/include/c++/12/bits/shared_ptr_base.h:62, from /usr/include/c++/12/bits/shared_ptr.h:53, from /usr/include/c++/12/memory:77, from ../../gdb/../gdbsupport/common-exceptions.h:25, from ../../gdb/../gdbsupport/common-defs.h:131, from ../../gdb/defs.h:28, from ../../gdb/ada-tasks.c:18: /usr/include/c++/12/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 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/host-gdb-arc-2020.09-release-gdb/build/gdb' make[2]: *** [Makefile:9430: all-gdb] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/host-gdb-arc-2020.09-release-gdb/build' make[1]: *** [Makefile:854: all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/host-gdb-arc-2020.09-release-gdb/build' make: *** [package/pkg-generic.mk:293: /home/buildroot/autobuild/instance-3/output-1/build/host-gdb-arc-2020.09-release-gdb/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-3/buildroot'