This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/7045] user-space probe x86 on x86-64 host


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]