From owner-freebsd-ports@FreeBSD.ORG Wed Dec 22 13:54:22 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 6961816A4CE for ; Wed, 22 Dec 2004 13:54:22 +0000 (GMT) Received: from mail.mdanderson.org (mail.mdanderson.org [143.111.251.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AD2E43D2F for ; Wed, 22 Dec 2004 13:54:22 +0000 (GMT) (envelope-from jonathan@fosburgh.org) Received: by jef-nt.mdacc.tmc.edu (Postfix, from userid 1001) id 262836F5; Wed, 22 Dec 2004 07:54:19 -0600 (CST) From: Jonathan Fosburgh To: freebsd-ports@freebsd.org Date: Wed, 22 Dec 2004 07:54:07 -0600 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart8121960.HaChco1Zyy"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200412220754.18671.jonathan@fosburgh.org> Subject: Wine on 5.3-STABLE and threading 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: Wed, 22 Dec 2004 13:54:22 -0000 --nextPart8121960.HaChco1Zyy Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I was very happy to find out that Wine is working again on FreeBSD. I see = the=20 note about being broken in 4.x due to threading support, but my problem is = on=20 current. If using libpthread wine applications (such as notepad) fail short= ly=20 after launch with the error: =46atal error 'Uninitialized mutex in pthread_mutex_trylock_basic' at line = 474=20 in file /usr/src/lib/libpthread/thread/thr_mutex.c (errno =3D 22) which is the same failure I was getting with the May snapshot. However, if= I=20 use libthr, wine works just fine. On further investigation, I found the=20 following files in /usr/local/lib/wine had dependencies on a threading=20 library:d3d8.dll.so, d3d9.dll.so, d3dx8.dll.so, glu32.dll.so, glut32.dll.so= ,=20 opengl32.dll.so, winearts.dll.so, and wined3d.dll.so. Except for=20 winearts.dll.so, all of these seem to be picking up their threading=20 dependency from /usr/X11R6/lib/libGL.so.1. If I setup libmap.conf to make= =20 that file use libthr, then wine works, though I also have to make other app= s=20 dependant on libGL use libthr as well in order to work. Presumably, wine=20 should work with GL enabled using libpthread. Any thought? I am trying to build wine without GL support right now to see if that chang= es=20 anything. =2D-=20 Jonathan Fosburgh AIX and Storage Administrator UT MD Anderson Cancer Center Houston, TX --nextPart8121960.HaChco1Zyy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBByXyKqUvQmqp7omYRAmSQAJ9Qa4VS3CTw8r8Fy3NxGeD8Lwb7NwCdEqG/ MKK2UXw9kwbQSBFALP8n7Ak= =4qCA -----END PGP SIGNATURE----- --nextPart8121960.HaChco1Zyy--