Bug 11196 - Retrieving variables from marker locations in stap broken on x86_64 (cfa_ops not found)
Summary: Retrieving variables from marker locations in stap broken on x86_64 (cfa_ops ...
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: translator (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-19 22:10 UTC by Mark Wielaard
Modified: 2010-03-03 19:46 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Wielaard 2010-01-19 22:10:07 UTC
$  ./run-stap -ve 'probe process("./stap").mark("pass0__start") { println($s) }' -p2
Pass 1: parsed user script and 65 library script(s) using
83484virt/20204res/2252shr kb, in 100usr/10sys/100real ms.
semantic error: No cfa_ops supplied, but needed by DW_OP_call_frame_cfa:
identifier '$s' at <input>:1:56
        source: probe process("./stap").mark("pass0__start") { println($s) }
                                                                       ^
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s)
using 98296virt/22900res/3516shr kb, in 0usr/0sys/74real ms.
Pass 2: analysis failed.  Try again with another '--vp 01' option.

Compiled with gcc (GCC) 4.4.2 20091222 (Red Hat 4.4.2-20)

The same works fine on i386.
Comment 1 Mark Wielaard 2010-02-02 16:23:19 UTC
Tracked down to what looks like a typo in elfutils/libdwfl/fde.c:
https://fedorahosted.org/pipermail/elfutils-devel/2010-February/000816.html
Comment 2 Mark Wielaard 2010-03-03 19:46:05 UTC
Fixed in elfutils 0.145