From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12643 invoked by alias); 1 Feb 2014 06:53:33 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 12613 invoked by uid 48); 1 Feb 2014 06:53:28 -0000 From: "vchappell at 4wardsciences dot com" To: systemtap@sourceware.org Subject: [Bug runtime/16518] New: Compile error using Xen Server Date: Sat, 01 Feb 2014 06:53:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vchappell at 4wardsciences dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q1/txt/msg00075.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D16518 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: =3D=3D stap -V =3D=3D 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 =3D=3D which stap =3D=3D /usr/bin/stap =3D=3D locate --regex '/stap(run)?$' | xargs ls -ald =3D=3D drwxr-xr-x 23 200 200 4096 Feb 1 01:43 . =3D=3D printenv | egrep '^PATH=3D|^LD_LIBRARY_PATH=3D|^SYSTEMTAP_.*=3D|^XDG= _DATA.*=3D' =3D=3D LD_LIBRARY_PATH=3D/usr/local/lib PATH=3D/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/b= in =3D=3D stap -vv -p4 -e 'probe begin {exit()}' =3D=3D 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=3D/usr/bin:/bin:/hsphere/shared/bin:/hsphere/shared/sbin:/hsphere/shar= ed/apache2/bin:/hsphere/shared/apache2/bin:/hsphere/local/var/vpopmail/bin:= /usr/local/bin:/usr/local/sbin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/bi= n:/bin:/root/bin make -C /lib/modules/2.6.18-448.16.1.el5.lve0.8.70xen/build M=3D/tmp/stapap= zfx9 modules ARCH=3Dx86_64 CONFIG_DEBUG_INFO=3D --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 =C3=A2=E2=82=AC=CB=9Cstap_utrace_detach_ops=C3=A2=E2=82=AC=E2=84=A2: /usr/share/systemtap/runtime/task_finder.c:391: error: implicit declaration= of function =C3=A2=E2=82=AC=CB=9Cdo_each_thread=C3=A2=E2=82=AC=E2=84=A2 /usr/share/systemtap/runtime/task_finder.c:391: error: expected =C3=A2=E2= =82=AC=CB=9C;=C3=A2=E2=82=AC=E2=84=A2 before =C3=A2=E2=82=AC=CB=9C{=C3=A2=E2=82=AC=E2=84=A2 token /usr/share/systemtap/runtime/task_finder.c: In function =C3=A2=E2=82=AC=CB=9Cstap_start_task_finder=C3=A2=E2=82=AC=E2=84=A2: /usr/share/systemtap/runtime/task_finder.c:1603: error: expected =C3=A2=E2= =82=AC=CB=9C;=C3=A2=E2=82=AC=E2=84=A2 before =C3=A2=E2=82=AC=CB=9C{=C3=A2=E2=82=AC=E2=84=A2 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" =3D=3D gcc -v =3D=3D Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=3D/usr --mandir=3D/usr/share/man --infodir=3D/usr/share/info --enable-shared --enable-threads=3Dposix --enable-checking=3Drelease --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=3Dc,c++,objc,obj-c++,java,fortran,ada --enable-java-awt= =3Dgtk --disable-dssi --disable-plugin --with-java-home=3D/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=3Dgen= eric --host=3Dx86_64-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-54) =3D=3D uname -a =3D=3D 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 =3D=3D dmesg | egrep 'stap|systemtap' | tail -n 10 =3D=3D =3D=3D cat /proc/cpuinfo | egrep 'processor|vendor_id|model name' =3D=3D processor : 0 vendor_id : GenuineIntel model name : Intel(R) Xeon(R) CPU E5620 @ 2.40GHz =3D=3D rpm -qa --qf '%{name}-%{version} %{release}.%{arch}\n' | egrep 'systemtap|elfutils|kernel|gcc' | sort =3D=3D 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 =3D=3D egrep 'PROBE|TRACE|MARKER|_DEBUG_|MODULE' /lib/modules/2.6.18-448.16.1.el5.lve0.8.70xen/build/.config | grep -v not.s= et | sort | fmt -w 80 =3D=3D CONFIG_AIC79XX_DEBUG_MASK=3D0 CONFIG_AIC7XXX_DEBUG_MASK=3D0 CONFIG_BLK_DEV_IO_TRACE=3Dy CONFIG_DEBUG_FS=3Dy CONFIG_DEBUG_INFO=3Dy CONFIG_DEBUG_KERNEL=3Dy CONFIG_DEBUG_LIST=3Dy CONFIG_DEBUG_RODATA=3Dy CONFIG_DEBUG_STACKOVERFLOW=3Dy CONFIG_GENERIC_IRQ_PROBE=3Dy CONFIG_HAVE_OPT= PROBES=3Dy CONFIG_HAVE_SYSCALL_TRACEPOINTS=3Dy CONFIG_INFINIBAND_SDP_DEBUG_DATA=3Dy CONFIG_KEYS_DEBUG_PROC_KEYS=3Dy CONFIG_KPROBES=3Dy CONFIG_MARKERS=3Dy CONFIG_MODULE_SIG=3Dy CONFIG_MODULE_SRCVERSION_ALL=3Dy CONFIG_MODULES=3Dy CONFIG_MODULE_UNLOAD=3Dy CONFIG_MTD_GEN_PROBE=3Dm CONFIG_MTD_JEDECPROBE=3Dm CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADDRESS=3D0 CONFIG_PTRACE=3Dy CONFIG_SAMPLE_MARKERS=3Dm CONFIG_SAMPLE_TRACEPOINTS=3Dm CONFIG_TRACE_IRQFLAGS_SUPPORT=3Dy CONFIG_TRACEPOINTS=3Dy CONFIG_UTRACE=3Dy =3D=3D find /debugfs /proc /sys /dev -name '*kprobes*' 2>/dev/null | xargs = grep . =3D=3D =3D=3D lsmod =3D=3D sh: lsmod: command not found =3D=3D avahi-browse -r -t _stap._tcp =3D=3D sh: avahi-browse: command not found =3D=3D ifconfig -a =3D=3D sh: ifconfig: command not found My apologies if I missed something in the documentation; I'm a relative nov= ice when it comes to kernel debugging. Any assistance would be most appreciate= d. Thanks. --=20 You are receiving this mail because: You are the assignee for the bug.