This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/19358] New: netfilter probes are broken on rawhide


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

            Bug ID: 19358
           Summary: netfilter probes are broken on rawhide
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com
  Target Milestone: ---

Netfilter probes appear to have compilation problems on rawhide
(4.4.0-0.rc3.git4.1.fc24.x86_64):

=====
# stap -g -p4 ../src/testsuite/systemtap.examples/network/netfilter_drop.stp
TCP 1
/tmp/stapKszyjv/stap_638ac27ca43bafef41a50ed201d5c6bd_19005_src.c:2519:9:
error: initialization from incompatible pointer type
[-Werror=incompatible-pointer-types]
 .hook = enter_netfilter_probe_0,
         ^
/tmp/stapKszyjv/stap_638ac27ca43bafef41a50ed201d5c6bd_19005_src.c:2519:9: note:
(near initialization for ânetfilter_opts_0.hookâ)
/tmp/stapKszyjv/stap_638ac27ca43bafef41a50ed201d5c6bd_19005_src.c:2520:1:
error: unknown field âownerâ specified in initializer
 .owner = THIS_MODULE,
 ^
In file included from include/linux/linkage.h:6:0,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/mmzone.h:7,
                 from include/linux/gfp.h:5,
                 from
/usr/local/share/systemtap/runtime/linux/runtime_defines.h:20,
                 from /usr/local/share/systemtap/runtime/runtime_defines.h:8,
                 from
/tmp/stapKszyjv/stap_638ac27ca43bafef41a50ed201d5c6bd_19005_src.c:10:
include/linux/export.h:34:21: error: initialization from incompatible pointer
type [-Werror=incompatible-pointer-types]
 #define THIS_MODULE (&__this_module)
                     ^
/tmp/stapKszyjv/stap_638ac27ca43bafef41a50ed201d5c6bd_19005_src.c:2520:10:
note: in expansion of macro âTHIS_MODULEâ
 .owner = THIS_MODULE,
          ^
include/linux/export.h:34:21: note: (near initialization for
ânetfilter_opts_0.devâ)
 #define THIS_MODULE (&__this_module)
                     ^
/tmp/stapKszyjv/stap_638ac27ca43bafef41a50ed201d5c6bd_19005_src.c:2520:10:
note: in expansion of macro âTHIS_MODULEâ
 .owner = THIS_MODULE,
          ^
cc1: all warnings being treated as errors
scripts/Makefile.build:258: recipe for target
'/tmp/stapKszyjv/stap_638ac27ca43bafef41a50ed201d5c6bd_19005_src.o' failed
make[1]: ***
[/tmp/stapKszyjv/stap_638ac27ca43bafef41a50ed201d5c6bd_19005_src.o] Error 1
Makefile:1388: recipe for target '_module_/tmp/stapKszyjv' failed
make: *** [_module_/tmp/stapKszyjv] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compilation failed.  [man error::pass4]
=====

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]