Aw: Re: [PATCH 0/2] GCC errors when building C++ Applications with libbsd

Joel Sherrill joel at rtems.org
Mon Sep 26 18:08:48 UTC 2022


On Mon, Sep 26, 2022, 1:51 PM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 26/09/2022 18:58, Markus Moessner wrote:
> >>> The second one is triggered by the function getrusage in
> rtemsbsd/include/bsd/sys/ressource.h.
> >>> There is a another declaration in include/sys/ressource.h provided
> with the toolchain.
> >>> Now, one has C Linkage the other one C++ Linkage which leads to a
> conflict. I ve simply made the one in libbsd invisible to the C++ compiler.
> >> This is a bug in Newlib (newlib/libc/include/sys/resource.h). This file
> >> needs the C++ extern "C" stuff.
> >
> > Okay, I ll re-submit the first patch. On the second one, are you
> submitting it to newlib or do you expect me to do that?
>
> I have a very long TODO list.
>

I'm at an Open Group meeting this week but hope to tackle a few odds and
ends. Jeff pushed this to newlib. Do you want me to bump the rsb newlib
hash for 6 and 7?

--joel

>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax:   +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20220926/e52392b3/attachment.htm>


More information about the devel mailing list