On Fri, 2021-09-10 at 07:58 +0200, Jan Kiszka wrote: > On 10.09.21 03:08, rany97 wrote: > > Sorry for not replying properly. > > I got Xenomai > > from https://xenomai.org/downloads/xenomai/stable/xenomai-3.1.tar.bz2. > > <https://xenomai.org/downloads/xenomai/stable/xenomai-3.1.tar.bz2> > > The problem have been solved by using xenomai-stable-3.1.x got > > from https://source.denx.de/Xenomai/xenomai/-/tree/stable/v3.1.x > > <https://source.denx.de/Xenomai/xenomai/-/tree/stable/v3.1.x><https://source.denx.de/Xenomai/xenomai/-/tree/stable/v3.1.x> > > But new errors happened, they seems similar: > > ------------------------------------------------------------------------- > > /home/rany/build_rtos/xenomai/src/xenomai-stable-v3.1.x/lib/copperplate/heapobj-pshared.c: > > In function ‘heapobj_pkg_init_shared’: > > /home/rany/build_rtos/xenomai/src/xenomai-stable-v3.1.x/lib/copperplate/heapobj-pshared.c:859:11: > > error: ‘%s’ directive output may be truncated writing up to 287 bytes > > into a region of size 250 [-Werror=format-truncation=] > > 859 | "/xeno:%s", hobj->name); > > | ^~ > > ...... > > ...... > > /home/rany/build_rtos/xenomai/src/xenomai-stable-v3.1.x/lib/copperplate/heapobj-pshared.c: > > In function ‘heapobj_bind_session’: > > /home/rany/build_rtos/xenomai/src/xenomai-stable-v3.1.x/lib/copperplate/heapobj-pshared.c:987:11: > > error: ‘%s’ directive output may be truncated writing up to 287 bytes > > into a region of size 250 [-Werror=format-truncation=] > > 987 | "/xeno:%s", hobj->name); > > | ^~ > > ------------------------------------------------------------------------ > > > > Good point , Florian should have seen that as well already: > We need to merge > https://source.denx.de/Xenomai/xenomai/-/commit/6fff5236239a752ea0328e6bfee1b > into stable 3.1 as well. Will do,
I'm currently facing some test failures (likely switchtest) with the new compiler, but no build failure so far... > > Jan >
