From owner-freebsd-ports@FreeBSD.ORG Sun Feb 8 18:14:08 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 011A316A4CE; Sun, 8 Feb 2004 18:14:08 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-165-226-221.dsl.lsan03.pacbell.net [64.165.226.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA08B43D1F; Sun, 8 Feb 2004 18:14:07 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EB02A66C8E; Sun, 8 Feb 2004 18:14:06 -0800 (PST) Date: Sun, 8 Feb 2004 18:14:06 -0800 From: Kris Kennaway To: ports@FreeBSD.org, current@FreeBSD.org Message-ID: <20040209021406.GA29647@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: 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:14:08 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: kkenn@rot13:~ sdl11-config --libs -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL-1.1 -lc_r http://bento.freebsd.org/errorlogs/i386-5-latest/frozenbubble-0.9.3_3.log ===> Building for frozenbubble-0.9.3_3 Fatal error 'Spinlock called when not threaded.' at line 83 in file /a/asami/portbuild/i386/5/src/lib/libpthread/thread/thr_spinlock.c (errno = 0) Abort trap (core dumped) *** I need perl-SDL installed gmake: *** [dirs] Error 1 *** Error code 2 Can someone please investigate? Kris --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAJuzuWry0BWjoQKURAmouAKDuQhsRr2GJJJSc8WvSbl22IRmyagCgkHjY W9x4jfbW2QOz+GE2In2YjEA= =Pmnw -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--