Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2004 19:19:06 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Alex Dupre <ale@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: wxgtk build error libpthred related
Message-ID:  <1075940345.39782.3.camel@shumai.marcuscom.com>
In-Reply-To: <4021858D.2020503@FreeBSD.org>
References:  <4021858D.2020503@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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--



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