Debugging X11 Server

Kris Kennaway kris at obsecurity.org
Sat May 24 21:54:32 PDT 2003


On Sun, May 25, 2003 at 02:50:21PM +1000, Peter Jeremy wrote:
> [Please copy me in any followups]
> 
> I'm trying to locate a performance problem in the X server built via
> ports on -STABLE.  I thought that adding '-pg' would provide a simple
> way to locate the problematic code but whilst XFree86-4-Server
> compiles with '-pg', it won't run, dying with lots of unresolved
> '.mcount' symbols in /usr/X11R6/lib/modules/fonts/libbitmap.a (and I
> presume that's just the first archive it tries to load).  I presume
> the problem is that the runtime loader in XServer can't resolve the
> .mcount that is statically loaded in XFree86.
> 
> Does anyone have any suggestions on how to make this work?

You can try adding the missing symbols to xf86syms.c - XFree86 uses
its own runtime linker for modules.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030524/96967c7c/attachment.bin


More information about the freebsd-ports mailing list