From: "dsmith at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sources.redhat.com
Subject: [Bug translator/11751] New: on s390x, externalvar.exp gets libdwfl failures
Date: Thu, 24 Jun 2010 20:31:00 -0000 [thread overview]
Message-ID: <20100624180716.11751.dsmith@redhat.com> (raw)
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.
next reply other threads:[~2010-06-24 18:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-24 20:31 dsmith at redhat dot com [this message]
2010-06-28 19:26 ` [Bug translator/11751] " mjw at redhat dot com
2010-06-28 19:26 ` dsmith at redhat dot com
2010-06-28 20:36 ` dsmith at redhat dot com
2010-06-30 16:26 ` mjw at redhat dot com
2010-06-30 16:33 ` dsmith at redhat dot com
2010-06-30 16:44 ` mjw at redhat dot com
2010-06-30 17:02 ` dsmith at redhat dot com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100624180716.11751.dsmith@redhat.com \
--to=sourceware-bugzilla@sourceware.org \
--cc=systemtap@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).