Error in building rtems 5.3 tools via mingw
righiqwe at gmail.com
Tue Mar 21 16:19:16 UTC 2023
Ok I managed to resolve the problem by updating the gdb to gdb-12 as you
Just for information if someone will have the same problem, I got the
gdb-12.cfg from the master and copied it inside the rtems-source-builder/
rtems/config/tools directory. then I had to modify the rtems-default.bset
file inside rtems-source-builder/rtems/config/5 by changing the gdb version
to 12.1 otherwise the builder will still use the 9.1 version.
Thank you once again for your help.
Il giorno mar 21 mar 2023 alle ore 17:12 Giovanni Righi <righiqwe at gmail.com>
> Ok I managed to resolve the problem by updating the gdb to gdb-12 as you
> Just for information if someone will have the same problem, I got the
> gdb-12.cfg from the master and copied it inside the
> rtems-source-builder/rtems/config/tools directory. then I had to modify the
> rtems-default.bset file inside rtems-source-builder/rtems/config/5 by
> changing the gdb version to 12.1 otherwise the builder will still use the
> 9.1 version.
> Thank you once again for your help.
> Il giorno ven 17 mar 2023 alle ore 18:17 Joel Sherrill <joel at rtems.org>
> ha scritto:
>> On Fri, Mar 17, 2023 at 10:22 AM Giovanni Righi <righiqwe at gmail.com>
>>> 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.
>> The error looks like this gdb is using a feature which is considered
>> deprecated by the late model gcc in your mingw.
>> 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 ())
>> I see two options since I don't think using an older compiler version is
>> likely possible.
>> (1) Change the RSB file which has the gdb configure command to ensure it
>> disables werror.
>> (2) Update the version of gdb in the RSB. You can probably just copy the
>> gdb-12 cfg file from the master and bump to that.
>> Both require a minor level of digging into
>>> users mailing list
>>> users at rtems.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users