Date: Sun, 8 Feb 2004 18:14:06 -0800 From: Kris Kennaway <kris@obsecurity.org> To: ports@FreeBSD.org, current@FreeBSD.org Subject: SDL uses incorrect thread flags Message-ID: <20040209021406.GA29647@xor.obsecurity.org>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040209021406.GA29647>