← Back to team overview

lttng team mailing list archive

[Bug 1960165] Re: lttng-modules-dkms fails to build on focal with linux hwe 5.15

 

** Changed in: lttng-modules (Ubuntu)
       Status: New => Fix Released

** Changed in: lttng-modules (Ubuntu Focal)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
LTTng, which is subscribed to lttng-modules in Ubuntu.
Matching subscriptions: lttng-modules-bugs
https://bugs.launchpad.net/bugs/1960165

Title:
  lttng-modules-dkms fails to build on focal with linux hwe 5.15

Status in lttng-modules package in Ubuntu:
  Fix Released
Status in lttng-modules source package in Focal:
  In Progress

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lttng-modules/+bug/1960165/+subscriptions



References