From owner-freebsd-current@FreeBSD.ORG Wed Feb 4 16:19:49 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6C3F16A4CE; Wed, 4 Feb 2004 16:19:49 -0800 (PST) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EE5343D1F; Wed, 4 Feb 2004 16:19:10 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i150Fosm005038; Wed, 4 Feb 2004 19:15:50 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Alex Dupre In-Reply-To: <4021858D.2020503@FreeBSD.org> References: <4021858D.2020503@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Q35BngThWZEvK0otCG/n" Organization: MarcusCom, Inc. Message-Id: <1075940345.39782.3.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 04 Feb 2004 19:19:06 -0500 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on creme-brulee.marcuscom.com cc: Daniel Eischen cc: fjoe@freebsd.org cc: freebsd-current@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: wxgtk build error libpthred related X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2004 00:19:50 -0000 --=-Q35BngThWZEvK0otCG/n Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2004-02-04 at 18:51, Alex Dupre wrote: > Today I updated my ports, after the libpthread and bsd.port.mk=20 > changes....the only ports that don't compile is wxgtk-common....this=20 > happens when trying to configure it: >=20 > [...] > checking for GTK+ version... > checking for gtk-config... /usr/X11R6/bin/gtk12-config > checking for GTK - version >=3D 1.2.7... Segmentation fault (core dumped) > [...] >=20 > I looked in the config.log and tried to manually compile and execute the=20 > test program. It compiles but dumps with the following message: >=20 > Fatal error 'Spinlock called when not threaded.' at line 83 in file=20 > /usr/src/lib/libpthread/thread/thr_spinlock.c (errno =3D 0) The last time we saw this it was because the resulting binary had both libc_r and libpthread linked into it. First, make sure you've cvsup'd -CURRENT today and done the rebuild or world and kernel. Then rebuild all ports that depend on gtk12 (including gtk12). If you still have problems, use ldd to see if any of the gtk12 libraries have both libc_r and libpthread linked to them. You may want to run ldd on the test program first to see if that's the case, but I'm pretty sure it is based on a similar NSS problem last night. Joe >=20 > -- > Alex Dupre >=20 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-Q35BngThWZEvK0otCG/n Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAIYv5b2iPiv4Uz4cRAijhAJ9+oSwAqOZkJfx9hsCL1U0mrVMTPwCcCXYB OupCAv/UAxzk1PACYHxgarY= =NNtC -----END PGP SIGNATURE----- --=-Q35BngThWZEvK0otCG/n--