Bug 3428 - test case failed to run on 2.6.19-rc2 version
Summary: test case failed to run on 2.6.19-rc2 version
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: runtime (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-27 02:18 UTC by bibo,mao
Modified: 2007-01-29 22:38 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bibo,mao 2006-10-27 02:18:26 UTC
systemtap on cvs can not latest baseline kernel 2.6.19-rc2 later, there is such 
error when I run "stap -p4 -gvv add.stp" on my ia64 box, it seems not IA64 
special.

  gcc -Wp,-MD,/tmp/stapIZGWxh/.stap_b6fb7774b41435cab9391754e78d09b9_443.o.d  -
nostdinc -isystem /usr/lib/gcc/ia64-redhat-linux/4.1.1/include -D__KERNEL__ -
Iinclude  -include include/linux/autoconf.h -DHAVE_WORKING_TEXT_ALIGN -
DHAVE_MODEL_SMALL_ATTRIBUTE -DHAVE_SERIALIZE_DIRECTIVE -Wall -Wundef -Wstrict-
prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe  -ffixed-
r13 -mfixed-range=f12-f15,f32-f127 -falign-functions=32 -frename-registers -fno-
optimize-sibling-calls -fomit-frame-pointer -g  -fno-stack-protector -
Wdeclaration-after-statement -Wno-pointer-sign -freorder-blocks -Wno-unused -
Werror -I"/usr/local/share/systemtap/runtime"   -DMODULE -D"KBUILD_STR(s)=#s" -
D"KBUILD_BASENAME=KBUILD_STR(stap_b6fb7774b41435cab9391754e78d09b9_443)"  -
D"KBUILD_MODNAME=KBUILD_STR(stap_b6fb7774b41435cab9391754e78d09b9_443)" -c -
o /tmp/stapIZGWxh/.tmp_stap_b6fb7774b41435cab9391754e78d09b9_443.o /tmp/stapIZGW
xh/stap_b6fb7774b41435cab9391754e78d09b9_443.c
In file included from /usr/local/share/systemtap/runtime/runtime.h:79,
                 
from /tmp/stapIZGWxh/stap_b6fb7774b41435cab9391754e78d09b9_443.c:31:
/usr/local/share/systemtap/runtime/alloc.c:66: error: expected declaration 
specifiers or '...' before '(' token
/usr/local/share/systemtap/runtime/alloc.c: In function 'percpu_free':
/usr/local/share/systemtap/runtime/alloc.c:67: error: number of arguments 
doesn't match prototype
include/linux/percpu.h:51: error: prototype declaration
/usr/local/share/systemtap/runtime/alloc.c:69: error: 'objp' undeclared (first 
use in this function)
/usr/local/share/systemtap/runtime/alloc.c:69: error: (Each undeclared 
identifier is reported only once
/usr/local/share/systemtap/runtime/alloc.c:69: error: for each function it 
appears in.)
make[1]: *** [/tmp/stapIZGWxh/stap_b6fb7774b41435cab9391754e78d09b9_443.o] 
Error 1
make: *** [_module_/tmp/stapIZGWxh] Error 2
make: Leaving directory `/home/kernel/2.6.19-rc2'
Pass 4: compiled C into "stap_b6fb7774b41435cab9391754e78d09b9_443.ko" in 
788usr/172sys/948real ms.
Pass 4: compilation failed.  Try again with more '-v' (verbose) options.
Running rm -rf /tmp/stapIZGWxh
Comment 1 Martin Hunt 2007-01-29 22:38:23 UTC
No longer appears to be a problem.