Seen some problems with elfuitls-0.131 on x86_64

Srinivasa Ds srinivasa@in.ibm.com
Mon Dec 17 13:28:00 GMT 2007


Iam facing some problems with elfutils-0.131 on x86_64. 

   1) [root@llm42 obj]# ./stap -vvvvvv ../src/testsuite/buildok/seventeen.stp

SystemTap translator/driver (version 0.6/0.131 built 2007-12-17)
Copyright (C) 2005-2007 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Created temporary directory "/tmp/stap8sz4gd"
Searched '/home/systemtap/tmp/stap_testing_200712171145/install/share/systemtap/tapset/x86_64/*.stp', found 1
Searched '/home/systemtap/tmp/stap_testing_200712171145/install/share/systemtap/tapset/*.stp', found 37
Pass 1: parsed user script and 38 library script(s) in 510usr/10sys/526real ms.
control symbols: kts: 0xffffffff8046c570 kte: 0xffffffff8046f451 stext: 0xffffffff80209000
parsed 'pipe_write' -> func 'pipe_write'
pattern 'kernel' matches module 'kernel'
focused on module 'kernel = [0xffffffff80200000-0xffffffff809968a0, bias 0x0] file /boot/vmlinux-2.6.24-rc5 ELF machine x86_64 (code 62)
pattern 'pipe_write' matches function 'pipe_write'
selected function pipe_write
probe pipe_write@fs/pipe.c:396 kernel pc=0xffffffff8029b631
finding location for local 'write_fifo_fops' near address ffffffff8029b631, module bias 0
dwarf_builder releasing dwflpp
semantic error: cannot relocate user-space dso (?) address: identifier '$write_fifo_fops' at ../src/testsuite/buildok/seventeen.stp:8:19
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 230usr/60sys/288real ms.
Pass 2: analysis failed.  Try again with more '-v' (verbose) options.
Running rm -rf /tmp/stap8sz4gd

On debugging I found that mod->reloc_info(no relocation info) is NULL and hence the problem. 

So Am I missing something??

2) Same could be the reason for bug 5483. Where I could clearly see that elfutils fails to fetch the init section name and causing the problem.

Could somebody throw light on this

Thanks
 Srinivasa DS



More information about the Systemtap mailing list