Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2003 14:50:21 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        freebsd-ports@freebsd.org
Subject:   Debugging X11 Server
Message-ID:  <20030525045021.GA41260@cirb503493.alcatel.com.au>

next in thread | raw e-mail | index | archive | help
[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?

Peter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030525045021.GA41260>