public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/19358] New: netfilter probes are broken on rawhide
@ 2015-12-11 17:20 dsmith at redhat dot com
  2015-12-11 17:46 ` [Bug translator/19358] " dsmith at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dsmith at redhat dot com @ 2015-12-11 17:20 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-12-11 20:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-11 17:20 [Bug translator/19358] New: netfilter probes are broken on rawhide dsmith at redhat dot com
2015-12-11 17:46 ` [Bug translator/19358] " dsmith at redhat dot com
2015-12-11 19:40 ` dsmith at redhat dot com
2015-12-11 20:46 ` dsmith at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).