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... Do we know how far off the final release is? Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#243438): https://lists.openembedded.org/g/openembedded-core/message/243438 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]] -=-=-=-=-=-=-=-=-=-=-=-
