On Fri, Aug 14, 2026 at 7:27 AM Mikko Rapeli <[email protected]> wrote:
>
> Hi,
>
> On Fri, Aug 14, 2026 at 11:48:32AM +0100, Richard Purdie wrote:
> > On Fri, 2026-08-14 at 09:48 +0300, Mikko Rapeli via lists.openembedded.org 
> > wrote:
> > > To support kernel version 7.2. Fixes build error:
> > >
> > > > lttng-syscalls.c: In function 
> > > > 'lttng_syscall_event_enabler_create_event':
> > > > lttng-syscalls.c:612:17: error: implicit declaration of function 
> > > > 'strncpy' [-Wimplicit-function-declaration]
> > > >   612 |                 strncpy(ev.name, desc->event_name, 
> > > > LTTNG_KERNEL_ABI_SYM_NAME_LEN - 1);
> > > >       |                 ^~~~~~~
> > > > lttng-syscalls.c:101:1: note: include '<string.h>' or provide a 
> > > > declaration of 'strncpy'
> > > >   100 | #include <instrumentation/syscalls/syscalls_unknown.h>
> > > >   +++ |+#include <string.h>
> > > >   101 | #undef TRACE_SYSTEM
> > > > lttng-syscalls.c:612:17: warning: incompatible implicit declaration of 
> > > > built-in function 'strncpy' [-Wbuiltin-declaration-mismatch]
> > > >   612 |                 strncpy(ev.name, desc->event_name, 
> > > > LTTNG_KERNEL_ABI_SYM_NAME_LEN - 1);
> > > >       |                 ^~~~~~~
> > > > lttng-syscalls.c:612:17: note: include '<string.h>' or provide a 
> > > > declaration of 'strncpy'
> > > > lttng-syscalls.c:704:17: warning: incompatible implicit declaration of 
> > > > built-in function 'strncpy' [-Wbuiltin-declaration-mismatch]
> > > >   704 |                 strncpy(ev.name, desc->event_name, 
> > > > LTTNG_KERNEL_ABI_SYM_NAME_LEN - 1);
> > > >       |                 ^~~~~~~
> > > > lttng-syscalls.c:704:17: note: include '<string.h>' or provide a 
> > > > declaration of 'strncpy'
> > >
> > > Signed-off-by: Mikko Rapeli <[email protected]>
> > > ---
> > >  .../{lttng-modules_2.15.2.bb => lttng-modules_2.16.0-rc2.bb} | 5 +++--
> > >  1 file changed, 3 insertions(+), 2 deletions(-)
> > >  rename meta/recipes-kernel/lttng/{lttng-modules_2.15.2.bb => 
> > > lttng-modules_2.16.0-rc2.bb} (94%)
> >
> > This probably needs to have a PV of 2.16.0~rc2 else the version sorting
> > when we upgrade to the release won't work...
>
> Then the version is different compared to upstream tags. For CVEs I can set
> CVE_VERSION.
>
> > Do we know how far off the final release is?
>
> Honestly I don't know. Past releases seem to have around six weeks between
> last release candidate and actual release. v2.16.0-rc1 was tagged 7 weeks ago,
> v2.16.0-rc2 just two weeks ago so feels like it is quite close now.

That's why I've always avoided the lttng-modules -rc releases and have opted
to just cherry-pick the patches supporting the newer kernels when I go through
an uprev cycle.

That being said, the -rc isn't any riskier than that approach, I just don't like
timing their release.

Bruce

>
> Cheers,
>
> -Mikko



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#243450): 
https://lists.openembedded.org/g/openembedded-core/message/243450
Mute This Topic: https://lists.openembedded.org/mt/120745540/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to