From owner-freebsd-ports@FreeBSD.ORG Sat May 24 21:54:31 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDDD637B401 for ; Sat, 24 May 2003 21:54:31 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-169-104-32.dsl.lsan03.pacbell.net [64.169.104.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EE7143F85 for ; Sat, 24 May 2003 21:54:31 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id F14E466D74; Sat, 24 May 2003 21:54:30 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id DE008AB8; Sat, 24 May 2003 21:54:30 -0700 (PDT) Date: Sat, 24 May 2003 21:54:30 -0700 From: Kris Kennaway To: Peter Jeremy Message-ID: <20030525045430.GA25151@rot13.obsecurity.org> References: <20030525045021.GA41260@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <20030525045021.GA41260@cirb503493.alcatel.com.au> User-Agent: Mutt/1.4i cc: freebsd-ports@freebsd.org Subject: Re: Debugging X11 Server X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2003 04:54:32 -0000 --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--