This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/7045] user-space probe x86 on x86-64 host
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 5 Dec 2008 17:06:41 -0000
- Subject: [Bug translator/7045] user-space probe x86 on x86-64 host
- References: <20081124155752.7045.fche@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2008-12-05 17:06 -------
(In reply to comment #1)
> Could you elaborate it a little or provide some test cases?
On my fc9 x86-64 machine, I get this. Maybe your 'gcc -m32' doesn't work?
[12:03:46] % cat > hello.c
int main () {
}
[12:04:30] % gcc -g -m32 hello.c -o hello
[12:04:33] % file hello
hello: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
[12:04:34] % sudo ./stap -e 'probe process("./hello").function("*").call {}' -vwt
Pass 1: parsed user script and 47 library script(s) in 160usr/20sys/178real ms.
semantic error: ELF machine i?86 (code 3) mismatch with target x86_64 in
'/home/fche/Private/DEVEL/DEVEL-systemtap/git/BUILD/hello'
semantic error: no match while resolving probe point
process("./hello").function("*").call
semantic error: no probes found
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0 global(s) in
0usr/0sys/3real ms.
Pass 2: analysis failed. Try again with another '--vp 01' option.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=7045
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.