This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
stap on RHEL 5.2 (2.6.18-92.1.10-el5)
- From: Dave Brolley <brolley at redhat dot com>
- To: systemtap <systemtap at sources dot redhat dot com>
- Date: Wed, 10 Sep 2008 17:00:48 -0400
- Subject: stap on RHEL 5.2 (2.6.18-92.1.10-el5)
Hi,
I've built from the latest git on RHEL 5.2 (2.6.18-92.1.10-el5) with no
problems, but when I try to run a simple example, I get the error below.
I have the correct kernel-debuginfo and kernel-devel installed and am
using --with-elfutils when configuring to use the elfutils from our site
with the portability patch applied.
The same example works ok on my f8 system and I've compared the
generated C code from both systems (only minor differences), so there
must be a problem with a header file, I'm guessing.
Anyone seen anything like this?
Thanks,
Dave
--------------------------------------------------------------------------------
>> stap -e 'probe begin { print ("Hello, World!\n"; }' -vv
SystemTap translator/driver (version 0.7.1/0.131 non-git sources)
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.18-92.1.10.el5
Created temporary directory "/tmp/stapIgJl6Q"
Searched '/usr/local/share/systemtap/tapset/i686/*.stp', found 2
Searched '/usr/local/share/systemtap/tapset/*.stp', found 43
Pass 1: parsed user script and 45 library script(s) in
370usr/0sys/384real ms.
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0
global(s) in 10usr/0sys/6real ms.
Pass 3: translated to C into
"/tmp/stapIgJl6Q/stap_1577f611a4f1b47d9b0bd5d112d15b72_163.c" in
30usr/50sys/76real ms.
Running make -C "/lib/modules/2.6.18-92.1.10.el5/build"
M="/tmp/stapIgJl6Q" modules >/dev/null
In file included from /usr/local/share/systemtap/runtime/stack.c:35,
from /tmp/stapIgJl6Q/stap_1577f611a4f1b47d9b0bd5d112d15b72_163.c:43:
/usr/local/share/systemtap/runtime/stack-i386.c: In function
‘__stp_stack_print’:
/usr/local/share/systemtap/runtime/stack-i386.c:57: error: storage size
of ‘info’ isn’t known
/usr/local/share/systemtap/runtime/stack-i386.c:58: error: implicit
declaration of function ‘arch_unw_init_frame_info’
/usr/local/share/systemtap/runtime/stack-i386.c:60: error: implicit
declaration of function ‘arch_unw_user_mode’
/usr/local/share/systemtap/runtime/stack-i386.c:61: error: implicit
declaration of function ‘unwind’
/usr/local/share/systemtap/runtime/stack-i386.c:64: error: implicit
declaration of function ‘UNW_PC’
/usr/local/share/systemtap/runtime/stack-i386.c:71: error: implicit
declaration of function ‘UNW_SP’
make[1]: ***
[/tmp/stapIgJl6Q/stap_1577f611a4f1b47d9b0bd5d112d15b72_163.o] Error 1
make: *** [_module_/tmp/stapIgJl6Q] Error 2
Pass 4: compiled C into "stap_1577f611a4f1b47d9b0bd5d112d15b72_163.ko"
in 1220usr/230sys/1479real ms.
Pass 4: compilation failed. Try again with more '-v' (verbose) options.
Running rm -rf /tmp/stapIgJl6Q