public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "mjw at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sources.redhat.com
Subject: [Bug translator/11735] similarly named executables/libraries get probed/detected wrongly
Date: Tue, 22 Jun 2010 01:27:00 -0000	[thread overview]
Message-ID: <20100621123457.25161.qmail@sourceware.org> (raw)
In-Reply-To: <20100621120229.11735.mjw@redhat.com>


------- Additional Comments From mjw at redhat dot com  2010-06-21 12:34 -------
After commit 23c2d7 [PR11722 user_long(uaddr) should fetch a user space long (in
case of 32-on-64)] make installcheck RUNTESTFLAGS=usymbols.exp should PASS on
x86_64.

But if you revert commit 2c8f96 from comment #1 it actually fails:

Host: Linux springer.wildebeest.org 2.6.32-36.el6.x86_64 #1 SMP Wed Jun 16
15:48:48 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
Snapshot: version 1.2/0.147 commit release-1.2-298-g23c2d7d + changes
GCC: 4.4.4 [gcc (GCC) 4.4.4 20100611 (Red Hat 4.4.4-8)]
Distro: Red Hat Enterprise Linux release 6.0 Beta (Santiago)

Running /usr/local/src/systemtap/testsuite/systemtap.context/usymbols.exp ...
FAIL: usymbols -m32

		=== systemtap Summary ===

# of expected passes		1
# of unexpected failures	1


End of testsuite/systemtap.log:

Executing on host: gcc
/usr/local/src/systemtap/testsuite/systemtap.context/usymbols_lib.c  -fPIC
-shared  -lm   -o /usr/local/build/systemtap-obj/testsuite/libusymbols.so   
(timeout = 300)
spawn -ignore SIGHUP gcc
/usr/local/src/systemtap/testsuite/systemtap.context/usymbols_lib.c -fPIC
-shared -lm -o /usr/local/build/systemtap-obj/testsuite/libusymbols.so
Executing on host: gcc
/usr/local/src/systemtap/testsuite/systemtap.context/usymbols.c  -g -O
-L/usr/local/build/systemtap-obj/testsuite -lusymbols
-Wl,-rpath,/usr/local/build/systemtap-obj/testsuite  -lm   -o
/usr/local/build/systemtap-obj/testsuite/usymbols    (timeout = 300)
spawn -ignore SIGHUP gcc
/usr/local/src/systemtap/testsuite/systemtap.context/usymbols.c -g -O
-L/usr/local/build/systemtap-obj/testsuite -lusymbols
-Wl,-rpath,/usr/local/build/systemtap-obj/testsuite -lm -o
/usr/local/build/systemtap-obj/testsuite/usymbols
cmd: stap -w -d /usr/local/build/systemtap-obj/testsuite/usymbols --ldd -c
/usr/local/build/systemtap-obj/testsuite/usymbols -e $script
cmd output: handler: main_handler (usymbols)
handler: lib_handler (libusymbols.so)
PASS: usymbols default
Executing on host: gcc
/usr/local/src/systemtap/testsuite/systemtap.context/usymbols_lib.c  -fPIC
-shared -m32  -lm   -o /usr/local/build/systemtap-obj/testsuite/libusymbols.so 
  (timeout = 300)
spawn -ignore SIGHUP gcc
/usr/local/src/systemtap/testsuite/systemtap.context/usymbols_lib.c -fPIC
-shared -m32 -lm -o /usr/local/build/systemtap-obj/testsuite/libusymbols.so
Executing on host: gcc
/usr/local/src/systemtap/testsuite/systemtap.context/usymbols.c  -g -O
-L/usr/local/build/systemtap-obj/testsuite -lusymbols
-Wl,-rpath,/usr/local/build/systemtap-obj/testsuite -m32  -lm   -o
/usr/local/build/systemtap-obj/testsuite/usymbols    (timeout = 300)
spawn -ignore SIGHUP gcc
/usr/local/src/systemtap/testsuite/systemtap.context/usymbols.c -g -O
-L/usr/local/build/systemtap-obj/testsuite -lusymbols
-Wl,-rpath,/usr/local/build/systemtap-obj/testsuite -m32 -lm -o
/usr/local/build/systemtap-obj/testsuite/usymbols
cmd: stap -w -d /usr/local/build/systemtap-obj/testsuite/usymbols --ldd -c
/usr/local/build/systemtap-obj/testsuite/usymbols -e $script
cmd output: handler: dtor_idx.6340 (usymbols)
handler: 0x00000000007e944c (libusymbols.so)
FAIL: usymbols -m32
line 1: expected "handler: main_handler (usymbols)", Got "handler: dtor_idx.6340
(usymbols)"


Note how it looks like the second -m32 testcase is using the symbol tables from
the default (64bit) testcase executables. How can that be?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11735

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

  parent reply	other threads:[~2010-06-21 12:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-21 13:11 [Bug translator/11735] New: " mjw at redhat dot com
2010-06-21 14:49 ` [Bug translator/11735] " mjw at redhat dot com
2010-06-22  1:27 ` mjw at redhat dot com [this message]
2010-06-22  1:44 ` fche at redhat dot com
     [not found] <bug-11735-1110@http.sourceware.org/bugzilla/>
2010-11-16  2:24 ` jistone 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=20100621123457.25161.qmail@sourceware.org \
    --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).