Public bug reported:
[Impact]
lttng-modules-dkms fails to build on focal using kernel 5.15 with the
following error:
/home/ubuntu/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_frontend.c: In
function ‘lib_ring_buffer_set_quiescent_channel’:
/home/ubuntu/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_frontend.c:759:3:
error: implicit declaration of function ‘get_online_cpus’; did you mean
‘get_online_mems’? [-Werror=implicit-function-declaration]
759 | get_online_cpus();
| ^~~~~~~~~~~~~~~
| get_online_mems
/home/ubuntu/lttng-modules-2.12.5/lib/ringbuffer/ring_buffer_frontend.c:766:3:
error: implicit declaration of function ‘put_online_cpus’; did you mean
‘num_online_cpus’? [-Werror=implicit-function-declaration]
766 | put_online_cpus();
| ^~~~~~~~~~~~~~~
| num_online_cpus
cc1: some warnings being treated as errors
[Test case]
$ sudo apt install lttng-modules-dkms
[Fix]
Backport upstream fixes to support kernels >= 5.14.
[Regression potential]
We may notice regressions with lttng-modules on kernels < 5.14.
** Affects: lttng-modules (Ubuntu)
Importance: Undecided
Status: New
** Affects: lttng-modules (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: lttng-modules (Ubuntu Focal)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960165
Title:
lttng-modules-dkms fails to build on focal with linux hwe 5.15
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lttng-modules/+bug/1960165/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs