Date: 24 May 2003 22:33:15 -0700 From: Eric Anholt <eta@lclark.edu> To: Peter Jeremy <peterjeremy@optushome.com.au> Cc: freebsd-ports@freebsd.org Subject: Re: Debugging X11 Server Message-ID: <1053840795.731.212.camel@leguin> In-Reply-To: <20030525045021.GA41260@cirb503493.alcatel.com.au> References: <20030525045021.GA41260@cirb503493.alcatel.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2003-05-24 at 21:50, 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 could compile all the modules into the server by adding "#define DoLoadableServer NO" to your host.conf when you compile XFree86-4-Server (see scripts/configure for other defines that are added). -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1053840795.731.212.camel>