On Mon, 2026-08-17 at 14:21 +0300, Mikko Rapeli via lists.openembedded.org 
wrote:
> With patches from upstream 2.15 stable branch.
> 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'

I think 2.15.3 has released now!

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#243677): 
https://lists.openembedded.org/g/openembedded-core/message/243677
Mute This Topic: https://lists.openembedded.org/mt/120788370/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to