[Bug runtime/32856] New: Systemtap does not work with Fedora rawhide kernel-6.15.0-0.rc0.20250403gita2cc6ff5ec8f.10.fc43.x86_64 (or newer)

wcohen at redhat dot com sourceware-bugzilla@sourceware.org
Wed Apr 9 01:45:23 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=32856

            Bug ID: 32856
           Summary: Systemtap does not work with Fedora rawhide
                    kernel-6.15.0-0.rc0.20250403gita2cc6ff5ec8f.10.fc43.x8
                    6_64 (or newer)
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: wcohen at redhat dot com
  Target Milestone: ---

The systemtap testsuite "make installcheck" runs successfully on Fedora rawhide
with kernel-6.15.0-0.rc0.20250401git08733088b566.8.fc43.x86_64. However when
attempting to run the systemtap testsuite with a newer kernel,
kernel-6.15.0-0.rc0.20250403gita2cc6ff5ec8f.10.fc43.x86_64, the sanity.exp
smoke test fails with the following output:

Running
/home/wcohen/systemtap_write/systemtap/testsuite/systemtap/environment_s
anity.exp ...



**** failed systemtap kernel-devel smoke test:

In file included from
/home/wcohen/systemtap_write/install/share/systemtap/runti
me/linux/runtime.h:337,
                 from
/home/wcohen/systemtap_write/install/share/systemtap/runti
me/runtime.h:26,
                 from stap_347d388d5ef2aa118a8d2f9e8da21832_1759_src.c:21:
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/alloc.c: In
f
unction '_stp_alloc_percpu':
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/alloc.c:479:1
3: error: assignment from pointer to non-enclosed address space
  479 |         ret = __alloc_percpu(size, 8);
      |             ^
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/alloc.c:479:1
3: note: expected 'void *' but pointer is of type '__seg_gs void *'
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/alloc.c: In
f
unction '_stp_free_percpu':
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/alloc.c:594:2
1: error: passing argument 1 of 'free_percpu' from pointer to non-enclosed
addre
ss space
  594 |         free_percpu(addr);
      |                     ^~~~
In file included from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/arch/x86/include/asm/msr.h:15,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/arch/x86/include/asm/tsc.h:10,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/arch/x86/include/asm/timex.h:6,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/include/linux/timex.h:67,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/include/linux/time32.h:13,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/include/linux/time.h:60,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/include/linux/jiffies.h:10,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/include/linux/ktime.h:25,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/include/linux/timer.h:6,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/include/linux/uprobes.h:18,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/include/linux/mm_types.h:16,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/include/linux/mmzone.h:22,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/include/linux/gfp.h:7,
                 from
/home/wcohen/systemtap_write/install/share/systemtap/runti
me/linux/runtime_defines.h:1,
                 from
/home/wcohen/systemtap_write/install/share/systemtap/runti
me/runtime_defines.h:8,
                 from stap_347d388d5ef2aa118a8d2f9e8da21832_1759_src.c:12:
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu.h:160:40: note: expected '__seg_gs void *' but argument is of type
'vo
id *'
  160 | extern void free_percpu(void __percpu *__pdata);
      |                         ~~~~~~~~~~~~~~~^~~~~~~
In file included from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/include/asm-generic/percpu.h:7,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/arch/x86/include/asm/percpu.h:599,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/arch/x86/include/asm/preempt.h:6,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/include/linux/preempt.h:79,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/include/linux/spinlock.h:56,
                 from
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.f
c43.x86_64/include/linux/mmzone.h:8:
/home/wcohen/systemtap_write/install/share/systemtap/runtime/stat.c: In
function
 '_stp_stat_add':
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: error: initialization from pointer to non-enclosed
addr
ess space
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/stat_runtime.
h:73:42: note: in expansion of macro 'per_cpu_ptr'
   73 | #define _stp_stat_per_cpu_ptr(stat, cpu) per_cpu_ptr((stat)->sd, (cpu))
      |                                          ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/stat.c:151:25:
note
: in expansion of macro '_stp_stat_per_cpu_ptr'
  151 |         stat_data *sd = _stp_stat_per_cpu_ptr (st, STAT_GET_CPU());
      |                         ^~~~~~~~~~~~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: note: expected 'const __seg_gs void *' but pointer is
o
f type 'stat_data *'
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/stat_runtime.
h:73:42: note: in expansion of macro 'per_cpu_ptr'
   73 | #define _stp_stat_per_cpu_ptr(stat, cpu) per_cpu_ptr((stat)->sd, (cpu))
      |                                          ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/stat.c:151:25:
note
: in expansion of macro '_stp_stat_per_cpu_ptr'
  151 |         stat_data *sd = _stp_stat_per_cpu_ptr (st, STAT_GET_CPU());
      |                         ^~~~~~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/stat.c: In
function
 '_stp_stat_get':
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: error: initialization from pointer to non-enclosed
addr
ess space
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/stat_runtime.
h:73:42: note: in expansion of macro 'per_cpu_ptr'
   73 | #define _stp_stat_per_cpu_ptr(stat, cpu) per_cpu_ptr((stat)->sd, (cpu))
      |                                          ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/stat.c:190:33:
note
: in expansion of macro '_stp_stat_per_cpu_ptr'
  190 |                 stat_data *sd = _stp_stat_per_cpu_ptr (st, i);
      |                                 ^~~~~~~~~~~~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: note: expected 'const __seg_gs void *' but pointer is
o
f type 'stat_data *'
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/stat_runtime.
h:73:42: note: in expansion of macro 'per_cpu_ptr'
   73 | #define _stp_stat_per_cpu_ptr(stat, cpu) per_cpu_ptr((stat)->sd, (cpu))
      |                                          ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/stat.c:190:33:
note
: in expansion of macro '_stp_stat_per_cpu_ptr'
  190 |                 stat_data *sd = _stp_stat_per_cpu_ptr (st, i);
      |                                 ^~~~~~~~~~~~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: error: initialization from pointer to non-enclosed
addr
ess space
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/stat_runtime.
h:73:42: note: in expansion of macro 'per_cpu_ptr'
   73 | #define _stp_stat_per_cpu_ptr(stat, cpu) per_cpu_ptr((stat)->sd, (cpu))
      |                                          ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/stat.c:222:22:
note
: in expansion of macro '_stp_stat_per_cpu_ptr'
  222 |                 sd = _stp_stat_per_cpu_ptr (st, i);
      |                      ^~~~~~~~~~~~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: note: expected 'const __seg_gs void *' but pointer is
o
f type 'stat_data *'
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/stat_runtime.
h:73:42: note: in expansion of macro 'per_cpu_ptr'
   73 | #define _stp_stat_per_cpu_ptr(stat, cpu) per_cpu_ptr((stat)->sd, (cpu))
      |                                          ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/stat.c:222:22:
note
: in expansion of macro '_stp_stat_per_cpu_ptr'
  222 |                 sd = _stp_stat_per_cpu_ptr (st, i);
      |                      ^~~~~~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/stat.c: In
function
 '_stp_stat_clear':
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: error: initialization from pointer to non-enclosed
addr
ess space
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/stat_runtime.
h:73:42: note: in expansion of macro 'per_cpu_ptr'
   73 | #define _stp_stat_per_cpu_ptr(stat, cpu) per_cpu_ptr((stat)->sd, (cpu))
      |                                          ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/stat.c:265:33:
note
: in expansion of macro '_stp_stat_per_cpu_ptr'
  265 |                 stat_data *sd = _stp_stat_per_cpu_ptr (st, i);
      |                                 ^~~~~~~~~~~~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: note: expected 'const __seg_gs void *' but pointer is
o
f type 'stat_data *'
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/stat_runtime.
h:73:42: note: in expansion of macro 'per_cpu_ptr'
   73 | #define _stp_stat_per_cpu_ptr(stat, cpu) per_cpu_ptr((stat)->sd, (cpu))
      |                                          ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/stat.c:265:33:
note
: in expansion of macro '_stp_stat_per_cpu_ptr'
  265 |                 stat_data *sd = _stp_stat_per_cpu_ptr (st, i);
      |                                 ^~~~~~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c: In
f
unction '_stp_print_trylock_irqsave':
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: error: initialization from pointer to non-enclosed
addr
ess space
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:73:15
: note: in expansion of macro 'per_cpu_ptr'
   73 |         log = per_cpu_ptr(_stp_log_pcpu, raw_smp_processor_id());
      |               ^~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: note: expected 'const __seg_gs void *' but pointer is
o
f type 'struct _stp_log *'
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:73:15
: note: in expansion of macro 'per_cpu_ptr'
   73 |         log = per_cpu_ptr(_stp_log_pcpu, raw_smp_processor_id());
      |               ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c: In
f
unction '_stp_print_unlock_irqrestore':
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: error: initialization from pointer to non-enclosed
addr
ess space
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:131:2
3: note: in expansion of macro 'per_cpu_ptr'
  131 |                 log = per_cpu_ptr(_stp_log_pcpu,
raw_smp_processor_id())
;
      |                       ^~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: note: expected 'const __seg_gs void *' but pointer is
o
f type 'struct _stp_log *'
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:131:2
3: note: in expansion of macro 'per_cpu_ptr'
  131 |                 log = per_cpu_ptr(_stp_log_pcpu,
raw_smp_processor_id())
;
      |                       ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c: In
f
unction '_stp_print_init':
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: error: initialization from pointer to non-enclosed
addr
ess space
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:161:4
0: note: in expansion of macro 'per_cpu_ptr'
  161 |                 struct _stp_log *log = per_cpu_ptr(_stp_log_pcpu, cpu);
      |                                        ^~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: note: expected 'const __seg_gs void *' but pointer is
o
f type 'struct _stp_log *'
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:161:4
0: note: in expansion of macro 'per_cpu_ptr'
  161 |                 struct _stp_log *log = per_cpu_ptr(_stp_log_pcpu, cpu);
      |                                        ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c: In
f
unction '_stp_print_cleanup':
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: error: initialization from pointer to non-enclosed
addr
ess space
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:187:4
0: note: in expansion of macro 'per_cpu_ptr'
  187 |                 struct _stp_log *log = per_cpu_ptr(_stp_log_pcpu, cpu);
      |                                        ^~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: note: expected 'const __seg_gs void *' but pointer is
o
f type 'struct _stp_log *'
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:187:4
0: note: in expansion of macro 'per_cpu_ptr'
  187 |                 struct _stp_log *log = per_cpu_ptr(_stp_log_pcpu, cpu);
      |                                        ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c: In
f
unction '_stp_print_flush':
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: error: initialization from pointer to non-enclosed
addr
ess space
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:216:1
5: note: in expansion of macro 'per_cpu_ptr'
  216 |         log = per_cpu_ptr(_stp_log_pcpu, raw_smp_processor_id());
      |               ^~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: note: expected 'const __seg_gs void *' but pointer is
o
f type 'struct _stp_log *'
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:216:1
5: note: in expansion of macro 'per_cpu_ptr'
  216 |         log = per_cpu_ptr(_stp_log_pcpu, raw_smp_processor_id());
      |               ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c: In
f
unction '_stp_reserve_bytes':
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: error: initialization from pointer to non-enclosed
addr
ess space
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:237:1
5: note: in expansion of macro 'per_cpu_ptr'
  237 |         log = per_cpu_ptr(_stp_log_pcpu, raw_smp_processor_id());
      |               ^~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: note: expected 'const __seg_gs void *' but pointer is
o
f type 'struct _stp_log *'
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:237:1
5: note: in expansion of macro 'per_cpu_ptr'
  237 |         log = per_cpu_ptr(_stp_log_pcpu, raw_smp_processor_id());
      |               ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c: In
f
unction '_stp_unreserve_bytes':
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: error: initialization from pointer to non-enclosed
addr
ess space
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:256:1
5: note: in expansion of macro 'per_cpu_ptr'
  256 |         log = per_cpu_ptr(_stp_log_pcpu, raw_smp_processor_id());
      |               ^~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: note: expected 'const __seg_gs void *' but pointer is
o
f type 'struct _stp_log *'
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:256:1
5: note: in expansion of macro 'per_cpu_ptr'
  256 |         log = per_cpu_ptr(_stp_log_pcpu, raw_smp_processor_id());
      |               ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c: In
f
unction '_stp_print':
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: error: initialization from pointer to non-enclosed
addr
ess space
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:325:1
5: note: in expansion of macro 'per_cpu_ptr'
  325 |         log = per_cpu_ptr(_stp_log_pcpu, raw_smp_processor_id());
      |               ^~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: note: expected 'const __seg_gs void *' but pointer is
o
f type 'struct _stp_log *'
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:325:1
5: note: in expansion of macro 'per_cpu_ptr'
  325 |         log = per_cpu_ptr(_stp_log_pcpu, raw_smp_processor_id());
      |               ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c: In
f
unction '_stp_print_char':
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: error: initialization from pointer to non-enclosed
addr
ess space
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:344:1
5: note: in expansion of macro 'per_cpu_ptr'
  344 |         log = per_cpu_ptr(_stp_log_pcpu, raw_smp_processor_id());
      |               ^~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: note: expected 'const __seg_gs void *' but pointer is
o
f type 'struct _stp_log *'
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/print.c:344:1
5: note: in expansion of macro 'per_cpu_ptr'
  344 |         log = per_cpu_ptr(_stp_log_pcpu, raw_smp_processor_id());
      |               ^~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/io.c: In
func
tion '_stp_vlog':
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: error: initialization from pointer to non-enclosed
addr
ess space
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/io.c:90:15:
n
ote: in expansion of macro 'per_cpu_ptr'
   90 |         log = per_cpu_ptr(_stp_log_pcpu, raw_smp_processor_id());
      |               ^~~~~~~~~~~
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:220:45: note: expected 'const __seg_gs void *' but pointer is
o
f type 'struct _stp_log *'
  220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    
\
      |                                             ^
/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_64/include/lin
ux/percpu-defs.h:238:9: note: in expansion of macro '__verify_pcpu_ptr'
  238 |         __verify_pcpu_ptr(ptr);                                         
\
      |         ^~~~~~~~~~~~~~~~~
/home/wcohen/systemtap_write/install/share/systemtap/runtime/linux/io.c:90:15:
n
ote: in expansion of macro 'per_cpu_ptr'
   90 |         log = per_cpu_ptr(_stp_log_pcpu, raw_smp_processor_id());
      |               ^~~~~~~~~~~
make[5]: ***
[/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_
64/scripts/Makefile.build:207:
stap_347d388d5ef2aa118a8d2f9e8da21832_1759_src.o]
 Error 1
make[4]: ***
[/usr/src/kernels/6.15.0-0.rc0.20250404gite48e99b6edf4.11.fc43.x86_
64/Makefile:2043: .] Error 2
make[3]: *** [Makefile:263: __sub-make] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compilation failed.  [man error::pass4]
Kernel version 6.15.0 is outside tested range 3.10 ... 6.14-rc
child process exited abnormally

**** aborting testing.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list