public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "phan at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug translator/13155] tracepoints probe breakage
Date: Thu, 08 Sep 2011 05:43:00 -0000	[thread overview]
Message-ID: <bug-13155-6586-duVkNwyWFe@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-13155-6586@http.sourceware.org/bugzilla/>

http://sourceware.org/bugzilla/show_bug.cgi?id=13155

--- Comment #3 from han pingtian <phan at redhat dot com> 2011-09-08 05:42:27 UTC ---
(In reply to comment #2)
> I cannot replicate this on x86_64. Is this ppc64 specific?

This bug is occuring on all archs. I can replicate it on x86_64:

Pass 2: getting a tracepoint query for 1 headers:
/Warning: make exited with status: 2
Copying /tmp/stapobl4bG/tracequery_kmod_2/tracequery_kmod_2.ko to
/root/.systemtap/cache/a2/tracequery_a2a924989dc36ad014e5b9a5eb45172e_648.ko
Pass 2: getting a tracepoint query for 1 headers:
  /lib/modules/2.6.32-195.el6.x86_64/build/include/trace/events/ext3.h
Running make -C /lib/modules/2.6.32-195.el6.x86_64/build
M=/tmp/stapobl4bG/tracequery_kmod_3 modules ARCH=x86_64 V=1
make: Entering directory `/usr/src/kernels/2.6.32-195.el6.x86_64'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (           
\
        echo;                                                           \
        echo "  ERROR: Kernel configuration is invalid.";               \
        echo "         include/linux/autoconf.h or include/config/auto.conf are
missing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel src to
fix it.";  \
        echo;                                                           \
        /bin/false)
mkdir -p /tmp/stapobl4bG/tracequery_kmod_3/.tmp_versions ; rm -f
/tmp/stapobl4bG/tracequery_kmod_3/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/stapobl4bG/tracequery_kmod_3
  gcc -Wp,-MD,/tmp/stapobl4bG/tracequery_kmod_3/.tracequery_kmod_3.o.d 
-nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.4.6/include -Iinclude 
-I/usr/src/kernels/2.6.32-195.el6.x86_64/arch/x86/include -include
include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Wno-format-security
-fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone
-mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector
-DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare
-fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
-Wframe-larger-than=2048 -Wno-unused-but-set-variable -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement
-Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -g
-Wno-implicit-function-declaration -Werror
-I/usr/src/debug////////kernel-2.6.32-195.el6/linux-2.6.32-195.el6.x86_64 
-DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(tracequery_kmod_3)"
 -D"KBUILD_MODNAME=KBUILD_STR(tracequery_kmod_3)" -D"DEBUG_HASH=23"
-D"DEBUG_HASH2=46" -c -o
/tmp/stapobl4bG/tracequery_kmod_3/.tmp_tracequery_kmod_3.o
/tmp/stapobl4bG/tracequery_kmod_3/tracequery_kmod_3.c
cc1: warnings being treated as errors
In file included from /tmp/stapobl4bG/tracequery_kmod_3/tracequery_kmod_3.c:53:
include/trace/events/ext3.h:450: error: ‘struct ext3_reserve_window_node’
declared inside parameter list
include/trace/events/ext3.h:450: error: its scope is only this definition or
declaration, which is probably not what you want
include/trace/events/ext3.h:473: error: ‘struct ext3_reserve_window_node’
declared inside parameter list
include/trace/events/ext3.h:519: error: ‘struct ext3_reserve_window_node’
declared inside parameter list
make[1]: *** [/tmp/stapobl4bG/tracequery_kmod_3/tracequery_kmod_3.o] Error 1
make: *** [_module_/tmp/stapobl4bG/tracequery_kmod_3] Error 2
make: Leaving directory `/usr/src/kernels/2.6.32-195.el6.x86_64'
Spawn waitpid result (0x200): 2
Warning: make exited with status: 2

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

  parent reply	other threads:[~2011-09-08  5:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-06 10:43 [Bug translator/13155] New: " phan at redhat dot com
2011-09-07  7:28 ` [Bug translator/13155] " phan at redhat dot com
2011-09-07 10:49 ` mjw at redhat dot com
2011-09-08  5:43 ` phan at redhat dot com [this message]
2011-09-12 10:43 ` mjw at redhat dot com
2011-09-12 10:54 ` mjw at redhat dot com
2011-09-13  4:23 ` phan at redhat dot com
2011-09-30 20:46 ` [Bug translator/13155] conflicting tracepoint headers block stap -l / stap -p4 fche at redhat dot com
2011-10-05 19:49 ` jistone at redhat dot com
2011-10-05 20:47 ` fche 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-13155-6586-duVkNwyWFe@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).