This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/11751] New: on s390x, externalvar.exp gets libdwfl failures
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 24 Jun 2010 18:07:17 -0000
- Subject: [Bug translator/11751] New: on s390x, externalvar.exp gets libdwfl failures
- Reply-to: sourceware-bugzilla at sourceware dot org
Here's the output of the externalvar.exp testcase on a RHEL5 s390x machine
(running with elfutils-0.137-3.el5):
Host: Linux ibm-z10-03.rhts.eng.bos.redhat.com 2.6.18-194.el5 #1 SMP Tue Mar 16
22:05:06 EDT 2010 s390x s390x s390x GNU/Linux
Snapshot: version 1.2/0.137 non-git sources
GCC: 4.1.2 [gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)]
Distro: Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Running /root/src/testsuite/systemtap.base/externalvar.exp ...
Executing on host: gcc /root/src/testsuite/systemtap.base/externalvar_lib.c -g
-O0 -fPIC -shared -lm -o /root/s390x/testsuite/libexternalvar.so (timeout
= 300)
Executing on host: gcc /root/src/testsuite/systemtap.base/externalvar.c -g -O0
-L/root/s390x/testsuite -lexternalvar -Wl,-rpath,/root/s390x/testsuite -lm -o
/root/s390x/testsuite/externalvar (timeout = 300)
cmd: stap -d /root/s390x/testsuite/libexternalvar.so -d
/root/s390x/testsuite/externalvar -c /root/s390x/testsuite/externalvar
/root/src/testsuite/systemtap.base/externalvar.stp
cmd output: semantic error: libdwfl failure (dwfl_addrmodule): no error:
identifier '$libvar' at /root/src/testsuite/systemtap.base/externalvar.stp:24:27
source: printf("libvar = %d\n", $libvar);
^
semantic error: libdwfl failure (dwfl_addrmodule): no error: identifier '$lib_s'
at :26:29
source: printf("lib_s->i = %d\n", $lib_s->i);
^
semantic error: libdwfl failure (dwfl_addrmodule): no error: identifier '$lib_s'
at :27:29
source: printf("lib_s->l = %d\n", $lib_s->l);
^
semantic error: libdwfl failure (dwfl_addrmodule): no error: identifier '$lib_s'
at :28:29
source: printf("lib_s->c = %d\n", $lib_s->c);
^
semantic error: libdwfl failure (dwfl_addrmodule): no error: identifier '$lib_s'
at :30:7
source: if ($lib_s == $lib_s->s1)
^
semantic error: libdwfl failure (dwfl_addrmodule): no error: identifier '$lib_s'
at :38:32
source: printf("lib_s->s2 = 0x%x\n", $lib_s->s2);
^
Pass 2: analysis failed. Try again with another '--vp 01' option.
FAIL: externalvar
line 1: expected "exevar_c = 42", Got "semantic error: libdwfl failure
(dwfl_addrmodule): no error: identifier '$libvar' at
/root/src/testsuite/systemtap.base/externalvar.stp:24:27"
testcase /root/src/testsuite/systemtap.base/externalvar.exp completed in 1 seconds
(Note that this testcase doesn't pass on RHEL5 x86_64/ppc64 either, but because
systemtap can't find the variables in the shared library during pass 5, not
because of libdwfl errors in pass 2.)
--
Summary: on s390x, externalvar.exp gets libdwfl failures
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: dsmith at redhat dot com
GCC host triplet: s390x
http://sourceware.org/bugzilla/show_bug.cgi?id=11751
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.