From owner-freebsd-ports@FreeBSD.ORG Sun Feb 8 18:20:12 2004 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 3BA4F16A4CF; Sun, 8 Feb 2004 18:20:12 -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 D7AE843D31; Sun, 8 Feb 2004 18:20:11 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i192GOsm057205; Sun, 8 Feb 2004 21:16:24 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Kris Kennaway In-Reply-To: <20040209021406.GA29647@xor.obsecurity.org> References: <20040209021406.GA29647@xor.obsecurity.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Q6D/nVBfNZL72dI5OBZq" Organization: MarcusCom, Inc. Message-Id: <1076293211.16832.51.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 08 Feb 2004 21:20:12 -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: ports@freebsd.org cc: current@freebsd.org Subject: Re: SDL uses incorrect thread flags 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: Mon, 09 Feb 2004 02:20:12 -0000 --=-Q6D/nVBfNZL72dI5OBZq Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2004-02-08 at 21:14, Kris Kennaway wrote: > It looks like the sdl12 port is telling other SDL ports to link > against -lc_r. This causes the infamous "spinlock called when not > threaded" problem: >=20 > kkenn@rot13:~ sdl11-config --libs > -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL-1.1 -lc_r >=20 > http://bento.freebsd.org/errorlogs/i386-5-latest/frozenbubble-0.9.3_3.log >=20 > =3D=3D=3D> Building for frozenbubble-0.9.3_3 > Fatal error 'Spinlock called when not threaded.' at line 83 in file /a/as= ami/portbuild/i386/5/src/lib/libpthread/thread/thr_spinlock.c (errno =3D 0) > Abort trap (core dumped) >=20 > *** I need perl-SDL installed > gmake: *** [dirs] Error 1 > *** Error code 2 >=20 > Can someone please investigate? I took a quick look at the sdl12 port, and it looks like it respects PTHREAD_{CFLAGS,LIBS}. Have you already rebuilt sdl12 under libpthread? One of the GNOME users said after doing the sdl12 forced update, it uses libpthread as it should. Joe >=20 > Kris --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-Q6D/nVBfNZL72dI5OBZq 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) iD8DBQBAJu5bb2iPiv4Uz4cRAoCaAJ4w71hw6aJOGWyeHhrU4YNt442NGACeK8UL zb8KuAUvfWsHd/qA4LlXrQU= =nnRZ -----END PGP SIGNATURE----- --=-Q6D/nVBfNZL72dI5OBZq--