Public bug reported:

systemtap builds some module depending on linux kernel. The version 4.4
is not compatible with kernel 5.11.

This has been fixed upstream in
https://sourceware.org/git/?p=systemtap.git;a=commit;h=ea81249b90b92a589d304c051efbc5bbad7ce073
and by comparing dates should be part of the 4.5 release.

Test command:
sudo stap -e 'probe begin { printf("Hello, World!\n"); exit() }'

Result:
In file included from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from /usr/share/systemtap/runtime/linux/runtime_defines.h:20,
                 from /usr/share/systemtap/runtime/runtime_defines.h:8,
                 from 
/tmp/stappKZdVm/stap_bdfc337d9faad1126717b8a39875985f_992_src.c:12:
/usr/share/systemtap/runtime/compatdefs.h: In function ‘_stp_is_compat_task’:
/usr/share/systemtap/runtime/compatdefs.h:18:21: error: ‘TIF_IA32’ undeclared 
(first use in this function)
   18 |   #define TIF_32BIT TIF_IA32
      |                     ^~~~~~~~

** Affects: systemtap (Ubuntu)
     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/1945324

Title:
  systemtap 4.4 not compatible with linux kernel 5.11

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1945324/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to