[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: oprofile on Xorg HOWTO ?



On Thu, 2005-10-27 at 21:45 -0400, David Nusinow wrote:
> On Thu, Oct 27, 2005 at 01:40:58PM +0200, Michel Dänzer wrote:
> > The symbols are in /usr/lib/debug/usr/X11R6/lib/modules/libfb.so .
> > opreport picks up symbols from other libraries
> > in /usr/lib/debug/usr/lib/ automatically here, but others have reported
> > gdb not picking up the X server symbols either. If anyone has any idea
> > about what's going on here, please speak up!
> 
> So I've spent the past hour or two hammering away at this. Here's what I've
> found:
> 
>  1) The files all appear to be correctly compiled with -g in the build_tree
>     dir
>  2) None of the files are stripped in this dir after the build is done.
>     "file" confirms this, as does the size of the thing (libX11 is 9 megs
> 	in build_tree but the stripped version on my system is 860k or so).
>  3) The file with the debugging symbols is only 4k. Where'd those 8 megs
>     go?
>  4) objdump -g on any of the files in build_tree can't find the debugging
>     info.

Note that this is true for the working libg* files in /usr/lib/debug/
here as well. The difference seems to be that those
in /usr/lib/debug/usr/X11R6/lib/modules/ are missing the symbols as
well.

daenzer@thor> file /usr/lib/debug/usr/X11R6/lib/modules/libfb.so
/usr/lib/debug/usr/X11R6/lib/modules/libfb.so: ELF 32-bit MSB shared
object, PowerPC or cisco 4500, version 1 (SYSV), stripped

This looks like some kind of strip acted on this file at some point, but
I can't seem to find anything in build logs... Is it like this right
after running dh_strip?


-- 
Earthling Michel Dänzer      |     Debian (powerpc), X and DRI developer
Libre software enthusiast    |   http://svcs.affero.net/rm.php?r=daenzer



Reply to: