This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[no subject]


Hi!

I've tried installing the stap unstable debian deb package, and when
running:

stap -kvvvve 'probe begin { log("hello world") exit () }'

I'm ending up with the following error:

 _stp_valid_stack_ptr
 __stp_stack_sprint
 _stp_kta
cc1: warnings being treated as errors

In file included from /tmp/stapK6sE6e/stap_cd13387bbd7b988ef3adb3156acd8fbb_306.c:36:
/usr/share/systemtap/runtime/stack.c:73: warning: 'struct kretprobe_instance' declared inside parameter list
/usr/share/systemtap/runtime/stack.c:73: warning: its scope is only this definition or declaration, which is probably not what you want
 _stp_stack_sprint

/usr/share/systemtap/runtime/stack.c: In function '_stp_stack_sprint':
/usr/share/systemtap/runtime/stack.c:79: error: dereferencing pointer to incomplete type
/usr/share/systemtap/runtime/stack.c:81: error: dereferencing pointer to incomplete type
 _stp_stack_sprintj
 _stp_ustack_sprint
 needed_space
 reprint

.... [left out]

Execution times (seconds)
 callgraph construction:   0.03 ( 4%) usr   0.00 ( 0%) sys   0.08 ( 1%) wall
 preprocessing         :   0.20 (29%) usr   0.11 (33%) sys   3.40 (58%) wall
 lexical analysis      :   0.15 (21%) usr   0.15 (45%) sys   0.82 (14%) wall
 parser                :   0.20 (29%) usr   0.05 (15%) sys   1.33 (23%) wall
 tree gimplify         :   0.10 (14%) usr   0.01 ( 3%) sys   0.25 ( 4%) wall
 varconst              :   0.00 ( 0%) usr   0.01 ( 3%) sys   0.00 ( 0%) wall
 symout                :   0.01 ( 1%) usr   0.00 ( 0%) sys   0.00 ( 0%) wall
 TOTAL                 :   0.70             0.33             5.89
make[1]: *** [/tmp/stapK6sE6e/stap_cd13387bbd7b988ef3adb3156acd8fbb_306.o] Error 1
make: *** [_module_/tmp/stapK6sE6e] Error 2
make: Leaving directory `/usr/local/src/linux-2.6.16.19'
Pass 4: compiled C into "stap_cd13387bbd7b988ef3adb3156acd8fbb_306.ko" in 1430usr/480sys/11043real ms.
Pass 4: compilation failed.  Try again with more '-v' (verbose) options.

I'm running a plain self compiled 2.6.16.19 kernel.

Fooling around with the CC/CFLAGS environment variables didn't yield any better results.

Furthermore I've noticed that stap seems to clean out the CC envvar,
because despite me setting CC=gcc-3.4 it still issues a command
starting with gcc. 

Trying to cd into the tmp directory, and starting the compile manually
produces even more errors, so I wonder how I can compile the output in
the temporary?

Andreas
/lib/modules/2.6.16.19ako/source/include/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]