Bug 669740 - [Errata testing] buildok/fortyfive.stp fails to compile in pass 4
Summary: [Errata testing] buildok/fortyfive.stp fails to compile in pass 4
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: systemtap
Version: 4.9
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Frank Ch. Eigler
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-14 15:34 UTC by Petr Muller
Modified: 2016-09-20 02:07 UTC (History)
3 users (show)

Fixed In Version: systemtap-1.3-4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-16 14:09:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0229 0 normal SHIPPED_LIVE systemtap enhancement update 2011-02-15 16:35:19 UTC

Description Petr Muller 2011-01-14 15:34:03 UTC
Description of problem:
# stap -p4 -v /usr/share/systemtap/testsuite/buildok/fortyfive.stp
Pass 1: parsed user script and 72 library script(s) using 19520virt/12080res/2004shr kb, in 530usr/20sys/548real ms.
Pass 2: analyzed script: 5 probe(s), 8 function(s), 3 embed(s), 1 global(s) using 62316virt/20548res/2952shr kb, in 440usr/260sys/696real ms.
Pass 3: translated to C into "/tmp/staph656NU/stap_e92c7152931f26eba30648e7e6a7578e_7473.c" using 62176virt/22280res/4736shr kb, in 920usr/40sys/967real ms.
/tmp/staph656NU/stap_e92c7152931f26eba30648e7e6a7578e_7473.c: In function `systemtap_module_init':
/tmp/staph656NU/stap_e92c7152931f26eba30648e7e6a7578e_7473.c:2129: error: structure has no member named `symbol_name'
/tmp/staph656NU/stap_e92c7152931f26eba30648e7e6a7578e_7473.c:2151: error: structure has no member named `symbol_name'
make[1]: *** [/tmp/staph656NU/stap_e92c7152931f26eba30648e7e6a7578e_7473.o] Error 1
make: *** [_module_/tmp/staph656NU] Error 2
Pass 4: compiled C into "stap_e92c7152931f26eba30648e7e6a7578e_7473.ko" in 3360usr/260sys/3508real ms.
Pass 4: compilation failed.  Try again with another '--vp 0001' option.

Version-Release number of selected component (if applicable):
systemtap-1.3-4.el4
the testcase if present only in systemtap-testsuite-1.3-4, but systemtap-0.6.2-2.el4_8.3 (4.8) compiles the identical script, so it is a regression

How reproducible:
always on i386 and x86_64, I don't have results from different architectures

Steps to Reproduce:
1. # stap -p4 -v /usr/share/systemtap/testsuite/buildok/fortyfive.stp
2.
3.
  
Actual results:
fail in pass 4

Expected results:
no fail

Additional info:

Comment 2 David Smith 2011-01-18 20:19:38 UTC
I've duplicated this bug.  After some investigation, the problem was a change in the target_set.stp tapset.  This tapset was changed to use dwarfless probes ('nd_syscall' probes, which map to 'kprobe.function' probes), which 2.6.9 kernels don't support.

So, I changed the target_set.stp to use dwarf probes ('syscall' probes, which map to 'kernel.function' probes) for 2.6.9 kernels.

Upstream commit 4ec30a2 will need to be backported to fix this issue.

<http://sources.redhat.com/git/gitweb.cgi?p=systemtap.git;a=patch;h=4ec30a2e5dd462bddce36728de7332fd0942bd31>

Comment 5 errata-xmlrpc 2011-02-16 14:09:53 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0229.html


Note You need to log in before you can comment on or make changes to this bug.