public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "dsmith at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug translator/19358] New: netfilter probes are broken on rawhide
Date: Fri, 11 Dec 2015 17:20:00 -0000	[thread overview]
Message-ID: <bug-19358-6586@http.sourceware.org/bugzilla/> (raw)

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.

             reply	other threads:[~2015-12-11 17:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-11 17:20 dsmith at redhat dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-19358-6586@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).