From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17261 invoked by alias); 10 Jul 2013 14:46:56 -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 17232 invoked by uid 48); 10 Jul 2013 14:46:51 -0000 From: "dsmith at redhat dot com" To: systemtap@sourceware.org Subject: [Bug dyninst/15724] New: stapdyn looking for libdyninstAPI_RT.a Date: Wed, 10 Jul 2013 14:46:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: dyninst X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dsmith at redhat 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: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q3/txt/msg00006.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15724 Bug ID: 15724 Summary: stapdyn looking for libdyninstAPI_RT.a Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: dyninst Assignee: systemtap at sourceware dot org Reporter: dsmith at redhat dot com Here's a fairly normal stapdyn command: ==== # stap -v --runtime=dyninst -e 'probe process.function("main") { println("hi from dyninst!") }' -c 'ls' Pass 1: parsed user script and 32 library script(s) using 191164virt/9356res/2996shr/6204data kb, in 10usr/10sys/14real ms. Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) using 193172virt/11740res/3860shr/7604data kb, in 0usr/40sys/148real ms. Pass 3: using cached /home/dsmith/.systemtap/cache/d9/stap_d901300581675708014e456630b46d12_1056.c Pass 4: using cached /home/dsmith/.systemtap/cache/d9/stap_d901300581675708014e456630b46d12_1056.so Pass 5: starting run. stap.txt Pass 5: run completed in 2500usr/390sys/3184real ms. ==== Notice the probe didn't hit (perhaps "main" is too early in the process' life?), but that isn't the problem here. Now I run the same command, using ldconfig instead of ls: ==== # stap -v --runtime=dyninst -e 'probe process.function("main") { println("hi from dyninst!") }' -c 'ldconfig --help' Pass 1: parsed user script and 32 library script(s) using 191164virt/8824res/2464shr/6204data kb, in 20usr/10sys/40real ms. Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) using 197384virt/12652res/4680shr/8064data kb, in 30usr/30sys/126real ms. Pass 3: using cached /home/dsmith/.systemtap/cache/55/stap_550473d97fe423f6c58bcbdf4e19de73_1121.c Pass 4: using cached /home/dsmith/.systemtap/cache/55/stap_550473d97fe423f6c58bcbdf4e19de73_1121.so Pass 5: starting run. --SERIOUS-- #101: Runtime library /usr/lib64/dyninst/libdyninstAPI_RT.a does not exist or cannot be accessed! --FATAL-- #68: Dyninst was unable to create the specified process --FATAL-- #68: create process failed bootstrap stapdyn: ERROR: Couldn't create the target process WARNING: /usr/local/bin/stapdyn exited with status: 1 Pass 5: run completed in 20usr/150sys/1058real ms. Pass 5: run failed. [man error::pass5] ==== For some reason stapdyn is looking for libdyninstAPI_RT.a instead of libdyninstAPI_RT.so. Very odd. This is on rawhide - 3.11.0-0.rc0.git2.1.fc20.x86_64. -- You are receiving this mail because: You are the assignee for the bug.