Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2003 21:54:30 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Debugging X11 Server
Message-ID:  <20030525045430.GA25151@rot13.obsecurity.org>
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

--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, May 25, 2003 at 02:50:21PM +1000, Peter Jeremy wrote:
> [Please copy me in any followups]
>=20
> 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.
>=20
> 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

--vtzGhvizbBRQ85DL
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+0EyGWry0BWjoQKURAty7AJ0axWYzEEDkFUjmCIFn/nDvH+3lZwCgoBCg
x0w6aoqQW5VJiiThvV5kwns=
=GbXe
-----END PGP SIGNATURE-----

--vtzGhvizbBRQ85DL--



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