Error in building rtems 5.3 tools via mingw

Giovanni Righi righiqwe at gmail.com
Fri Mar 17 15:22:26 UTC 2023


Good afternoon,
I'm trying to build the rtems 5.3 tools in windows using mingw, but I'm
getting an error during the gdb build.
I'm attaching the logs so you can see what's going on.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20230317/614eb57c/attachment-0001.htm>
-------------- next part --------------
RTEMS Tools Project - Source Builder Error Report

 Build: error: building arg9xwm1

 Command Line: ../source-builder/sb-set-builder --prefix=C:/opt/rtems/5.3 5/rtems-arm

 Python: 2.7.18 (default, Jan 14 2023, 22:21:24)  [GCC 12.2.0 64 bit (AMD64)]

 RSB: not a valid repo

 Windows

Tail of the build log:

ranlib libsim.a

x86_64-w64-mingw32-gcc -O2 -g -pipe -I/c/opt/rtems/rtems-source-builder-5.3/rtems/build/tmp/sb-197611/5a/c/opt/rtems/5.3/include -DHAVE_CONFIG_H  -DWITH_DEFAULT_ALIGNMENT=STRICT_ALIGNMENT     -DDEFAULT_INLINE=0   -Wall -Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wno-format   -DMODET   -I. -I../../../gdb-9.1/sim/arm -I../common -I../../../gdb-9.1/sim/arm/../common -I../../include -I../../../gdb-9.1/sim/arm/../../include -I../../bfd -I../../../gdb-9.1/sim/arm/../../bfd -I../../opcodes -I../../../gdb-9.1/sim/arm/../../opcodes  -g -O2 -D__USE_MINGW_ACCESS -L/c/opt/rtems/rtems-source-builder-5.3/rtems/build/tmp/sb-197611/5a/c/opt/rtems/5.3/lib -Wl,--stack,12582912 -o run.exe \

  nrun.o libsim.a ../../bfd/libbfd.a ../../opcodes/libopcodes.a  ../../libiberty/libiberty.a -L../../zlib -lz -lm 

make[3]: Leaving directory '/c/opt/rtems/rtems-source-builder-5.3/rtems/build/arg9xwm1/build/sim/arm'

make[2]: Leaving directory '/c/opt/rtems/rtems-source-builder-5.3/rtems/build/arg9xwm1/build/sim'

make[2]: Entering directory '/c/opt/rtems/rtems-source-builder-5.3/rtems/build/arg9xwm1/build/gdb'

/bin/sh ../../gdb-9.1/gdb/../mkinstalldirs arch/.deps

/bin/sh ../../gdb-9.1/gdb/../mkinstalldirs cli/.deps

/bin/sh ../../gdb-9.1/gdb/../mkinstalldirs mi/.deps

/bin/sh ../../gdb-9.1/gdb/../mkinstalldirs gdbsupport/.deps

mkdir -p -- arch/.deps

/bin/sh ../../gdb-9.1/gdb/../mkinstalldirs compile/.deps

/bin/sh ../../gdb-9.1/gdb/../mkinstalldirs tui/.deps

mkdir -p -- cli/.deps

mkdir -p -- mi/.deps

/bin/sh ../../gdb-9.1/gdb/../mkinstalldirs unittests/.deps

mkdir -p -- gdbsupport/.deps

/bin/sh ../../gdb-9.1/gdb/../mkinstalldirs guile/.deps

/bin/sh ../../gdb-9.1/gdb/../mkinstalldirs python/.deps

mkdir -p -- compile/.deps

mkdir -p -- tui/.deps

/bin/sh ../../gdb-9.1/gdb/../mkinstalldirs target/.deps

/bin/sh ../../gdb-9.1/gdb/../mkinstalldirs nat/.deps

mkdir -p -- unittests/.deps

mkdir -p -- guile/.deps

mkdir -p -- python/.deps

mkdir -p -- target/.deps

mkdir -p -- nat/.deps

  GEN    stamp-version

  CXX    xml-support.o

  GEN    xml-builtin.c

  CXX    xml-syscall.o

  CXX    xml-tdesc.o

  CXX    gdb.o

  CXX    aarch32-tdep.o

  CXX    ada-exp.o

  CXX    ada-lang.o

  CXX    ada-tasks.o

  CXX    ada-typeprint.o

  CXX    ada-valprint.o

In file included from ../../gdb-9.1/gdb/ada-lang.c:32:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/ada-lang.c:21:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

  CXX    ada-varobj.o

  CXX    addrmap.o

In file included from ../../gdb-9.1/gdb/ada-tasks.c:24:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/ada-tasks.c:18:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

  CXX    agent.o

  CXX    alloc.o

  CXX    annotate.o

  CXX    arch-utils.o

  CXX    arch/aarch32.o

  CXX    arch/arm-get-next-pcs.o

  CXX    arch/arm.o

In file included from ../../gdb-9.1/gdb/annotate.c:26:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/annotate.c:19:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

In file included from ../../gdb-9.1/gdb/arch-utils.c:24:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/arch-utils.c:20:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

  CXX    arm-pikeos-tdep.o

  CXX    arm-tdep.o

  CXX    auto-load.o

  CXX    auxv.o

  CXX    ax-gdb.o

  CXX    ax-general.o

  CXX    bcache.o

In file included from ../../gdb-9.1/gdb/arm-tdep.c:25:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/arm-tdep.c:20:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

  CXX    bfd-target.o

In file included from ../../gdb-9.1/gdb/auxv.c:24:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/auxv.c:20:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

  CXX    block.o

  CXX    blockframe.o

  CXX    break-catch-sig.o

  CXX    break-catch-syscall.o

  CXX    break-catch-throw.o

  CXX    breakpoint.o

In file included from ../../gdb-9.1/gdb/blockframe.c:29:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/blockframe.c:21:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

In file included from ../../gdb-9.1/gdb/break-catch-sig.c:25:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/break-catch-sig.c:20:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

In file included from ../../gdb-9.1/gdb/break-catch-syscall.c:24:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/break-catch-syscall.c:20:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

In file included from ../../gdb-9.1/gdb/break-catch-throw.c:25:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/break-catch-throw.c:20:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

  CXX    btrace.o

  CXX    build-id.o

In file included from ../../gdb-9.1/gdb/breakpoint.c:34:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/breakpoint.c:20:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

  CXX    buildsym-legacy.o

  CXX    buildsym.o

  CXX    c-exp.o

  CXX    c-lang.o

In file included from ../../gdb-9.1/gdb/btrace.c:25:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/btrace.c:22:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

  CXX    c-typeprint.o

  CXX    c-valprint.o

  CXX    c-varobj.o

  CXX    charset.o

  CXX    cli-out.o

  CXX    cli/cli-cmds.o

  CXX    cli/cli-decode.o

  CXX    cli/cli-dump.o

  CXX    cli/cli-interp.o

  CXX    cli/cli-logging.o

  CXX    cli/cli-option.o

In file included from ../../gdb-9.1/gdb/cli/cli-interp.c:31:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/cli/cli-interp.c:20:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

  CXX    cli/cli-script.o

  CXX    cli/cli-setshow.o

  CXX    cli/cli-style.o

  CXX    cli/cli-utils.o

  CXX    coff-pe-read.o

  CXX    coffread.o

  CXX    compile/compile-c-support.o

  CXX    compile/compile-c-symbols.o

  CXX    compile/compile-c-types.o

  CXX    compile/compile-cplus-symbols.o

  CXX    compile/compile-cplus-types.o

  CXX    compile/compile-loc2c.o

  CXX    compile/compile-object-load.o

  CXX    compile/compile-object-run.o

In file included from ../../gdb-9.1/gdb/compile/compile-object-load.c:30:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/compile/compile-object-load.c:20:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

  CXX    compile/compile.o

  CXX    complaints.o

  CXX    completer.o

  CXX    continuations.o

  CXX    copying.o

  CXX    corefile.o

  CXX    corelow.o

In file included from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:132,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/compile/compile.c:20:

../../gdb-9.1/gdb/gdbsupport/gdb_unlinker.h: In constructor 'gdb::unlinker::unlinker(const char*)':

../../gdb-9.1/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-9.1/gdb/gdbsupport/gdb_unlinker.h:38:5: note: in expansion of macro 'gdb_assert'

   38 |     gdb_assert (filename != NULL);

      |     ^~~~~~~~~~

../../gdb-9.1/gdb/completer.c: In function 'char* gdb_completion_word_break_characters_throw()':

../../gdb-9.1/gdb/completer.c:1933:10: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]

 1933 |   return rl_completer_word_break_characters;

      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      |          |

      |          const char*

In file included from ../../gdb-9.1/gdb/continuations.c:22:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/continuations.c:20:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

  CXX    cp-abi.o

make[2]: *** [Makefile:1656: completer.o] Error 1

make[2]: *** Waiting for unfinished jobs....

In file included from ../../gdb-9.1/gdb/corefile.c:23:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/corefile.c:20:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

In file included from ../../gdb-9.1/gdb/corelow.c:25:

../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':

../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]

   80 |         if (!std::uncaught_exception ())

      |              ~~~~~~~~~~~~~~~~~~~~~~~~^~

In file included from C:/msys64/mingw64/include/c++/12.2.0/ext/concurrence.h:34,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr_base.h:62,

                 from C:/msys64/mingw64/include/c++/12.2.0/bits/shared_ptr.h:53,

                 from C:/msys64/mingw64/include/c++/12.2.0/memory:77,

                 from ../../gdb-9.1/gdb/gdbsupport/common-exceptions.h:25,

                 from ../../gdb-9.1/gdb/gdbsupport/common-defs.h:137,

                 from ../../gdb-9.1/gdb/defs.h:28,

                 from ../../gdb-9.1/gdb/corelow.c:20:

C:/msys64/mingw64/include/c++/12.2.0/exception:124:8: note: declared here

  124 |   bool uncaught_exception() _GLIBCXX_USE_NOEXCEPT __attribute__ ((__pure__));

      |        ^~~~~~~~~~~~~~~~~~

make[2]: Leaving directory '/c/opt/rtems/rtems-source-builder-5.3/rtems/build/arg9xwm1/build/gdb'

make[1]: *** [Makefile:9237: all-gdb] Error 2

make[1]: Leaving directory '/c/opt/rtems/rtems-source-builder-5.3/rtems/build/arg9xwm1/build'

make: *** [Makefile:859: all] Error 2

shell cmd failed: sh -ex  /c/opt/rtems/rtems-source-builder-5.3/rtems/build/arg9xwm1/do-build

error: building arg9xwm1


More information about the users mailing list