Public bug reported:

[ Test Case ]

# echo "probe timer.s(1) {exit()}" | stap -

[ Expected Result ]

script compiles and starts running.

[ Actual Result ]

In file included from /usr/share/systemtap/runtime/transport/transport.c:53:0,
                 from /usr/share/systemtap/runtime/print.c:18,
                 from /usr/share/systemtap/runtime/runtime.h:128,
                 from 
/tmp/stapEhR7Am/stap_17350b932f2d616d597e792fa8968eb5_720.c:59:
/usr/share/systemtap/runtime/transport/relay_v2.c:241:2: error: initialization 
from incompatible pointer type [-Werror]
/usr/share/systemtap/runtime/transport/relay_v2.c:241:2: error: (near 
initialization for ‘__stp_relay_callbacks.create_buf_file’) [-Werror]
In file included from /usr/share/systemtap/runtime/print.c:18:0,
                 from /usr/share/systemtap/runtime/runtime.h:128,
                 from 
/tmp/stapEhR7Am/stap_17350b932f2d616d597e792fa8968eb5_720.c:59:
/usr/share/systemtap/runtime/transport/transport.c: In function 
‘_stp_get_root_dir’:
/usr/share/systemtap/runtime/transport/transport.c:386:8: error: ‘struct 
hlist_head’ has no member named ‘next’
In file included from 
/tmp/stapEhR7Am/stap_17350b932f2d616d597e792fa8968eb5_720.c:61:0:
/usr/share/systemtap/runtime/stat.c: In function ‘_stp_stat_get’:
/usr/share/systemtap/runtime/stat.c:213:2: error: ‘cpu_possible_map’ undeclared 
(first use in this function)
/usr/share/systemtap/runtime/stat.c:213:2: note: each undeclared identifier is 
reported only once for each function it appears in
/usr/share/systemtap/runtime/stat.c: In function ‘_stp_stat_clear’:
/usr/share/systemtap/runtime/stat.c:248:2: error: ‘cpu_possible_map’ undeclared 
(first use in this function)
cc1: all warnings being treated as errors
make[1]: *** [/tmp/stapEhR7Am/stap_17350b932f2d616d597e792fa8968eb5_720.o] 
Error 1
make: *** [_module_/tmp/stapEhR7Am] Error 2
Warning: make exited with status: 2
Pass 4: compilation failed.  Try again with another '--vp 0001' option.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: systemtap 1.6-1ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-31.46~precise1-generic 3.8.13.8
Uname: Linux 3.8.0-31-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: amd64
Date: Wed Oct  9 07:55:33 2013
InstallationMedia: Ubuntu-Server 12.04.3 LTS "Precise Pangolin" - Release amd64 
(20130820.2)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: systemtap
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: systemtap (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: systemtap (Ubuntu Precise)
     Importance: Medium
     Assignee: Chris J Arges (arges)
         Status: In Progress


** Tags: amd64 apport-bug precise

** Also affects: systemtap (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Changed in: systemtap (Ubuntu Precise)
     Assignee: (unassigned) => Chris J Arges (arges)

** Changed in: systemtap (Ubuntu)
     Assignee: Chris J Arges (arges) => (unassigned)

** Changed in: systemtap (Ubuntu)
   Importance: Medium => Undecided

** Changed in: systemtap (Ubuntu)
       Status: In Progress => New

** Changed in: systemtap (Ubuntu Precise)
       Status: New => In Progress

** Changed in: systemtap (Ubuntu Precise)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1237390

Title:
  stap fails with 3.8 kernel in precise

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1237390/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to