<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 17, 2023 at 10:22 AM Giovanni Righi <<a href="mailto:righiqwe@gmail.com">righiqwe@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Good afternoon,<div>I'm trying to build the rtems 5.3 tools in windows using mingw, but I'm getting an error during the gdb build.</div><div>I'm attaching the logs so you can see what's going on.</div></div></blockquote><div><br></div><div>The error looks like this gdb is using a feature which is considered deprecated by the late model gcc in your mingw.</div><div><br></div><div>=============</div><div>In file included from ../../gdb-9.1/gdb/corelow.c:25:<br><br>../../gdb-9.1/gdb/inferior.h: In member function 'void infcall_suspend_state_deleter::operator()(infcall_suspend_state*) const':<br><br>../../gdb-9.1/gdb/inferior.h:80:38: warning: 'bool std::uncaught_exception()' is deprecated: use 'std::uncaught_exceptions()' instead [-Wdeprecated-declarations]<br><br>   80 |         if (!std::uncaught_exception ())<br></div><div>==============</div><div><br></div><div>I see two options since I don't think using an older compiler version is likely possible.</div><div><br></div><div>(1) Change the RSB file which has the gdb configure command to ensure it disables werror.</div><div><br></div><div>(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.</div><div><br></div><div>Both require a minor level of digging into rtems-source-builder/rtems/config</div><div><br></div><div>--joel</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a></blockquote></div></div>