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]

[Bug runtime/16518] New: Compile error using Xen Server


https://sourceware.org/bugzilla/show_bug.cgi?id=16518

            Bug ID: 16518
           Summary: Compile error using Xen Server
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: vchappell at 4wardsciences dot com

Hello,

I've installed systemtap on my Linux/Xen server but get compile errors when I
try to use it.  Here is the output from stap-report:

== stap -V ==
Systemtap translator/driver (version 1.8/0.152 non-git sources)
Copyright (C) 2005-2012 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: AVAHI LIBRPM LIBSQLITE3 NSS BOOST_SHARED_PTR
TR1_UNORDERED_MAP NLS
== which stap ==
/usr/bin/stap
== locate --regex '/stap(run)?$' | xargs ls -ald ==
drwxr-xr-x 23 200 200 4096 Feb  1 01:43 .
== printenv | egrep '^PATH=|^LD_LIBRARY_PATH=|^SYSTEMTAP_.*=|^XDG_DATA.*=' ==
LD_LIBRARY_PATH=/usr/local/lib
PATH=/hsphere/shared/bin:/hsphere/shared/sbin:/hsphere/shared/apache2/bin:/hsphere/shared/apache2/bin:/hsphere/local/var/vpopmail/bin:/usr/local/bin:/usr/local/sbin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin:/root/bin
== stap -vv -p4 -e 'probe begin {exit()}' ==
Systemtap translator/driver (version 1.8/0.152 non-git sources)
Copyright (C) 2005-2012 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: AVAHI LIBRPM LIBSQLITE3 NSS BOOST_SHARED_PTR
TR1_UNORDERED_MAP NLS
Created temporary directory "/tmp/stapapzfx9"
Session arch: x86_64 release: 2.6.18-448.16.1.el5.lve0.8.70xen
Searched: " /usr/share/systemtap/tapset/x86_64/*.stp ", found: 4, processed: 4
Searched: " /usr/share/systemtap/tapset/*.stp ", found: 81, processed: 81
Pass 1: parsed user script and 85 library script(s) using
146956virt/23816res/3044shr/21252data kb, in 130usr/50sys/178real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s)
using 147484virt/24520res/3256shr/21780data kb, in 10usr/0sys/6real ms.
function recursion-analysis: max-nesting 0  non-recursive
Pass 3: translated to C into
"/tmp/stapapzfx9/stap_2e48d23fb415eb48ef3900b672196c8f_819_src.c" using
147484virt/24796res/3508shr/21780data kb, in 0usr/0sys/0real ms.
Running env -uARCH -uKBUILD_EXTMOD -uCROSS_COMPILE -uKBUILD_IMAGE
-uKCONFIG_CONFIG -uINSTALL_PATH
PATH=/usr/bin:/bin:/hsphere/shared/bin:/hsphere/shared/sbin:/hsphere/shared/apache2/bin:/hsphere/shared/apache2/bin:/hsphere/local/var/vpopmail/bin:/usr/local/bin:/usr/local/sbin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin:/root/bin
make -C /lib/modules/2.6.18-448.16.1.el5.lve0.8.70xen/build M=/tmp/stapapzfx9
modules ARCH=x86_64 CONFIG_DEBUG_INFO= --no-print-directory -j2
In file included from /usr/share/systemtap/runtime/runtime.h:166,
                 from
/tmp/stapapzfx9/stap_2e48d23fb415eb48ef3900b672196c8f_819_src.c:20:
/usr/share/systemtap/runtime/task_finder.c: In function
ÃâËstap_utrace_detach_opsÃââ:
/usr/share/systemtap/runtime/task_finder.c:391: error: implicit declaration of
function ÃâËdo_each_threadÃââ
/usr/share/systemtap/runtime/task_finder.c:391: error: expected ÃâË;Ãââ before
ÃâË{Ãââ token
/usr/share/systemtap/runtime/task_finder.c: In function
ÃâËstap_start_task_finderÃââ:
/usr/share/systemtap/runtime/task_finder.c:1603: error: expected ÃâË;Ãââ before
ÃâË{Ãââ token
make[1]: *** [/tmp/stapapzfx9/stap_2e48d23fb415eb48ef3900b672196c8f_819_src.o]
Error 1
make: *** [_module_/tmp/stapapzfx9] Error 2
Spawn waitpid result (0x200): 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_2e48d23fb415eb48ef3900b672196c8f_819.ko" in
2480usr/1240sys/3735real ms.
Pass 4: compilation failed.  Try again with another '--vp 0001' option.
Running rm -rf /tmp/stapapzfx9
Spawn waitpid result (0x0): 0
Removed temporary directory "/tmp/stapapzfx9"
== gcc -v ==
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --disable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)
== uname -a ==
Linux cloud-4wardsciences.hspheredns.com 2.6.18-448.16.1.el5.lve0.8.70xen #1
SMP Wed Sep 4 19:52:47 EEST 2013 x86_64 x86_64 x86_64 GNU/Linux
== dmesg | egrep 'stap|systemtap' | tail -n 10 ==
== cat /proc/cpuinfo | egrep 'processor|vendor_id|model name' ==
processor       : 0
vendor_id       : GenuineIntel
model name      : Intel(R) Xeon(R) CPU           E5620  @ 2.40GHz
== rpm -qa --qf '%{name}-%{version} %{release}.%{arch}\n' | egrep
'systemtap|elfutils|kernel|gcc' | sort ==
compat-libgcc-296-2.96 138.i386
elfutils-devel-0.137 3.el5.x86_64
elfutils-devel-static-0.137 3.el5.x86_64
elfutils-libelf-0.137 3.el5.i386
elfutils-libelf-0.137 3.el5.x86_64
elfutils-libelf-devel-0.137 3.el5.x86_64
elfutils-libelf-devel-static-0.137 3.el5.x86_64
elfutils-libs-0.137 3.el5.x86_64
gcc-4.1.2 54.el5.x86_64
gcc-c++-4.1.2 54.el5.x86_64
kernel-debuginfo-2.6.18 448.16.1.el5.lve0.8.70.x86_64
kernel-debuginfo-common-2.6.18 448.16.1.el5.lve0.8.70.x86_64
kernel-devel-2.6.18 338.19.1.el5.lve0.8.36.x86_64
kernel-devel-2.6.18 448.16.1.el5.lve0.8.70.x86_64
kernel-headers-2.6.18 448.16.1.el5.lve0.8.70.x86_64
kernel-xen-2.6.18 274.el5.x86_64
kernel-xen-2.6.18 338.19.1.el5.lve0.8.36.x86_64
kernel-xen-2.6.18 448.16.1.el5.lve0.8.70.x86_64
kernel-xen-debuginfo-2.6.18 448.16.1.el5.lve0.8.70.x86_64
kernel-xen-devel-2.6.18 448.16.1.el5.lve0.8.70.x86_64
libgcc-4.1.2 54.el5.i386
libgcc-4.1.2 54.el5.x86_64
systemtap-1.8 6.el5.x86_64
systemtap-client-1.8 6.el5.x86_64
systemtap-devel-1.8 6.el5.x86_64
systemtap-runtime-1.8 6.el5.x86_64
== egrep 'PROBE|TRACE|MARKER|_DEBUG_|MODULE'
/lib/modules/2.6.18-448.16.1.el5.lve0.8.70xen/build/.config | grep -v not.set |
sort | fmt -w 80 ==
CONFIG_AIC79XX_DEBUG_MASK=0 CONFIG_AIC7XXX_DEBUG_MASK=0
CONFIG_BLK_DEV_IO_TRACE=y CONFIG_DEBUG_FS=y CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_KERNEL=y CONFIG_DEBUG_LIST=y CONFIG_DEBUG_RODATA=y
CONFIG_DEBUG_STACKOVERFLOW=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_HAVE_OPTPROBES=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y CONFIG_INFINIBAND_SDP_DEBUG_DATA=y
CONFIG_KEYS_DEBUG_PROC_KEYS=y CONFIG_KPROBES=y CONFIG_MARKERS=y
CONFIG_MODULE_SIG=y CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_MTD_GEN_PROBE=m
CONFIG_MTD_JEDECPROBE=m CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADDRESS=0
CONFIG_PTRACE=y CONFIG_SAMPLE_MARKERS=m CONFIG_SAMPLE_TRACEPOINTS=m
CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_TRACEPOINTS=y CONFIG_UTRACE=y
== find /debugfs /proc /sys /dev -name '*kprobes*' 2>/dev/null | xargs grep .
==
== lsmod ==
sh: lsmod: command not found
== avahi-browse -r -t _stap._tcp ==
sh: avahi-browse: command not found
== ifconfig -a ==
sh: ifconfig: command not found

My apologies if I missed something in the documentation; I'm a relative novice
when it comes to kernel debugging.  Any assistance would be most appreciated.

Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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