public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/11751] New: on s390x, externalvar.exp gets libdwfl failures
@ 2010-06-24 20:31 dsmith at redhat dot com
  2010-06-28 19:26 ` [Bug translator/11751] " dsmith at redhat dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: dsmith at redhat dot com @ 2010-06-24 20:31 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <bug-11751-6586@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2013-09-10 16:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-24 20:31 [Bug translator/11751] New: on s390x, externalvar.exp gets libdwfl failures dsmith at redhat dot com
2010-06-28 19:26 ` [Bug translator/11751] " dsmith at redhat dot com
2010-06-28 19:26 ` mjw 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
     [not found] <bug-11751-6586@http.sourceware.org/bugzilla/>
2011-09-23 17:57 ` fche at redhat dot com
2013-09-10 16:50 ` dsmith at redhat dot com

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).