Re: Use GCC 11 for RTEMS 6?

2021-05-02 Thread Sebastian Huber
On 03/05/2021 07:25, Chris Johns wrote: On 3/5/21 3:08 pm, Sebastian Huber wrote: GCC 11 was released recently: https://gcc.gnu.org/gcc-11/changes.html Should we switch to this version for RTEMS 6 in the RSB? Do we have build reports on our supported host platforms? The GCC 11 based tools

Re: Use GCC 11 for RTEMS 6?

2021-05-02 Thread Chris Johns
On 3/5/21 3:08 pm, Sebastian Huber wrote: > > GCC 11 was released recently: > > https://gcc.gnu.org/gcc-11/changes.html > > Should we switch to this version for RTEMS 6 in the RSB? > Do we have build reports on our supported host platforms? I would like to clear confirmation we can build the

Use GCC 11 for RTEMS 6?

2021-05-02 Thread Sebastian Huber
Hello, GCC 11 was released recently: https://gcc.gnu.org/gcc-11/changes.html Should we switch to this version for RTEMS 6 in the RSB? -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax:

[PATCH] rtems: Use allocator mutex for timer server

2021-05-02 Thread Sebastian Huber
The allocator mutex is recursive and already used for the task creation in rtems_timer_initiate_server(). Just use this mutex instead of the once mutex to serialize the initialization. This avoids a dependency on condition variables which are not used here. --- cpukit/rtems/src/timerserver.c | 6

Re: [PATCH] libtest: Fix use of flexible array member

2021-05-02 Thread Sebastian Huber
On 02/05/2021 21:24, Joel Sherrill wrote: On Sun, May 2, 2021, 2:01 PM Sebastian Huber > wrote: Flexible array members must not appear in the middle of a structure. Any idea why this doesn't generate a warning? I thought this restriction is w

Re: [PATCH] libtest: Fix use of flexible array member

2021-05-02 Thread Joel Sherrill
On Sun, May 2, 2021, 2:01 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Flexible array members must not appear in the middle of a structure. > Any idea why this doesn't generate a warning? I thought this restriction is well known. --- > cpukit/include/rtems/test.h

[PATCH] libtest: Fix use of flexible array member

2021-05-02 Thread Sebastian Huber
Flexible array members must not appear in the middle of a structure. --- cpukit/include/rtems/test.h | 18 +--- cpukit/libtest/t-test-thread-switch.c | 24 ++--- testsuites/libtests/ttest02/init.c| 30 +-- 3 files changed, 37 insert

Re: [PATCH] riscv/start: Startup sequence update.

2021-05-02 Thread Sebastian Huber
On 30/04/2021 15:34, Sebastian Huber wrote: On 30/04/2021 15:32, Hesham Almatary wrote:     The noinit attributes is a bit broken in GCC: I guess we can go for a separate custom section then? Or we can just assign it a magic value so that it doesn’t go into BSS. I propose to add something

[PATCH] bsp: Use RTEMS_NOINIT for bsp_fdt_blob

2021-05-02 Thread Sebastian Huber
This makes it possible to copy a boot loader provided device tree to bsp_fdt_blob before the BSS section is cleared to zero. The disadvantage is that bsp_fdt_blob contains now uninitialized data. --- bsps/shared/start/bsp-fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b

Re: [PATCH] score: Add _Thread_Dispatch_direct_no_return()

2021-05-02 Thread Gedare Bloom
ok, that's annoying. On Fri, Apr 30, 2021 at 9:02 AM Sebastian Huber wrote: > > The __builtin_unreachable() cannot be used with current GCC versions to > tell the compiler that a function does not return to the caller, see: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99151 > > Add a no retur

Re: [PATCH] spmisc01: Test RTEMS_NOINIT

2021-05-02 Thread Gedare Bloom
ok On Fri, Apr 30, 2021 at 9:04 AM Sebastian Huber wrote: > > Close #3866. > --- > testsuites/sptests/spmisc01/init.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/testsuites/sptests/spmisc01/init.c > b/testsuites/sptests/spmisc01/init.c > index e64fa4e480..6fbc0eeff8 100644 > -

Re: [PATCH 2/2] bsps: Support RTEMS_NOINIT in linkcmds

2021-05-02 Thread Gedare Bloom
these 2 look good On Fri, Apr 30, 2021 at 7:55 AM Sebastian Huber wrote: > > Close #3866. > --- > bsps/arm/include/bsp/arm-cp15-start.h| 6 +- > bsps/arm/include/bsp/linker-symbols.h| 4 > bsps/arm/shared/start/linkcmds.base | 7 +++ > bsps/bfin/

Re: GSoC Project - Beagle BSP Projects

2021-05-02 Thread Christian Mauderer
Hello Husni, On 01/05/2021 23:38, Ahamed Husni wrote: Hi all, My project proposal https://docs.google.com/document/d/1CN3ri7g6NJeFPb5h8y4smr1aziGWyXbiiXUsFMhdUu4/edit?usp=sharing I tried to set