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

2022-09-26 Thread Joel Sherrill
Jeff Johnson pushed the patch to newlib. The github mirrored it after a while. I bumped the hash in the RSB. This should be ok now. How often does the github mirroring of gcc, newlib, etc run? On Mon, Sep 26, 2022 at 3:53 PM Joel Sherrill wrote: > I'm not sure what triggers the newlib mirror t

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

2022-09-26 Thread Joel Sherrill
I'm not sure what triggers the newlib mirror to update on github. When it's up to date, I'm ready to update rteems-source-builder. Sebastian.. what's the trigger? --joel On Mon, Sep 26, 2022 at 1:08 PM Joel Sherrill wrote: > > > On Mon, Sep 26, 2022, 1:51 PM Sebastian Huber < > sebastian.hu...

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

2022-09-26 Thread Joel Sherrill
On Mon, Sep 26, 2022, 1:51 PM Sebastian Huber < sebastian.hu...@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/ressou

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

2022-09-26 Thread Sebastian Huber
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 con

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

2022-09-26 Thread Markus Moessner
Am 26.09.2022 um 18:58 schrieb Markus Moessner: 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 t

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

2022-09-26 Thread Markus Moessner
>> >> 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 mad

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

2022-09-25 Thread Sebastian Huber
Hello, On 25/09/2022 22:08, kho237...@gmx.de wrote: From: kaidoho Dear all, I am using the latest RTEMS 6 tools and sources. When building a C++ application including libbsd I receive two errors from GCC. thanks for your patches. Could you please change your Git configuration so that your f

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

2022-09-25 Thread kho237115
From: kaidoho Dear all, I am using the latest RTEMS 6 tools and sources. When building a C++ application including libbsd I receive two errors from GCC. The first one complains about the macro BITSET_DEFINE within freebsd/sys/sys/_domainset.h. I think this relates to a patch "sys/bitset.h: re