public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Compilation error on 2.6.29-rc1
@ 2009-01-12  6:01 Wenji Huang
  2009-01-12  7:47 ` Wenji Huang
  0 siblings, 1 reply; 4+ messages in thread
From: Wenji Huang @ 2009-01-12  6:01 UTC (permalink / raw)
  To: SystemTAP

Hi,

There will be compilation error executing stap script on 2.6.29-rc1.
$ uname -r
2.6.29-rc1
$ sudo stap -vve 'probe begin{print("hello")}'
SystemTap translator/driver (version 0.8/0.131 git branch master, commit 
dc38c256 + changes)
Copyright (C) 2005-2008 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Session arch: i686 release: 2.6.29-rc1
Created temporary directory "/tmp/stapKwFGzV"
Searched '/usr/local/share/systemtap/tapset/i686/*.stp', found 2
Searched '/usr/local/share/systemtap/tapset/*.stp', found 45
Pass 1: parsed user script and 47 library script(s) in 
1040usr/130sys/1916real ms.
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 
global(s) in 20usr/10sys/101real ms.
Pass 3: translated to C into 
"/tmp/stapKwFGzV/stap_fde82e4fd6036a280f89069499515efe_182.c" in 
10usr/10sys/40real ms.
Running make -C "/lib/modules/2.6.29-rc1/build" M="/tmp/stapKwFGzV" 
modules >/dev/null
In file included from 
/usr/local/share/systemtap/runtime/transport/transport.c:22,
                  from /usr/local/share/systemtap/runtime/print.c:17,
                  from /usr/local/share/systemtap/runtime/runtime.h:84,
                  from 
/tmp/stapKwFGzV/stap_fde82e4fd6036a280f89069499515efe_182.c:41:
/usr/local/share/systemtap/runtime/transport/symbols.c:124:33: macro 
"swap" passed 3 arguments, but takes just 2
/usr/local/share/systemtap/runtime/transport/symbols.c:130:28: macro 
"swap" passed 3 arguments, but takes just 2
/usr/local/share/systemtap/runtime/transport/symbols.c:137:33: macro 
"swap" passed 3 arguments, but takes just 2
make[1]: *** 
[/tmp/stapKwFGzV/stap_fde82e4fd6036a280f89069499515efe_182.o] Error 1
make: *** [_module_/tmp/stapKwFGzV] Error 2
Pass 4: compiled C into "stap_fde82e4fd6036a280f89069499515efe_182.ko" 
in 6710usr/4200sys/16992real ms.
Pass 4: compilation failed.  Try again with another '--vp 0001' option.
Running rm -rf /tmp/stapKwFGzV

Seems it's caused by kernel change
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b53907c0100a353a7ac53bed260e735e5ccbbbcc


Regards,
Wenji

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

end of thread, other threads:[~2009-01-13 17:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-12  6:01 Compilation error on 2.6.29-rc1 Wenji Huang
2009-01-12  7:47 ` Wenji Huang
2009-01-12 19:37   ` Masami Hiramatsu
2009-01-13 17:33     ` [FIXED] " Masami Hiramatsu

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).