** Description changed:

- [ Test Case ]
+ [Impact]
+ * When using systemtap on Precise with a hwe kernel (3.5/3.8) systemtap 
probes runtime compiles fail.
  
+ [Test Case]
  # echo 'probe timer.s(1) {exit();}' | stap -
  
- [ Expected Result ]
+ * Expected Result:
  
  script compiles and starts running. exits with 0.
  
- [ Actual Result ]
+ * 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.
  
+ [Regression Potential]
+ * All three patches used to fix this: e14ac0e2, 52dea427, 56111fdc are in 
upsteam systemtap.
+ * I've tested this package on 3.5/3.8 and again on 3.2 to ensure it didn't 
break.
+ 
+ --
+ 
  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)

-- 
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.5/3.8 kernels in precise

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to