Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2004 18:31:31 -0400
From:      Anish Mistry <mistry.7@osu.edu>
To:        freebsd-threads@freebsd.org
Cc:        Brian Rogers <burpmaster@truffula.net>
Subject:   Re: Wine and CURRENT
Message-ID:  <200408211831.39430.mistry.7@osu.edu>
In-Reply-To: <4126B8F4.4050809@truffula.net>
References:  <200408200300.43060.mistry.7@osu.edu> <4126B8F4.4050809@truffula.net>

next in thread | previous in thread | raw e-mail | index | archive | help
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 20 August 2004 10:52 pm, Brian Rogers wrote:
> Anish Mistry wrote:
> >I've managed to get the post May versions on wine to be able to mmap the=
ir
> > memory properly by patching our mmap implementation (see current mailli=
ng
> > list)
>
> Great!
>
> >but I'm having the following problem that I can't figure out:
> >
> >Fatal error 'Uninitialized mutex in pthread_mutex_trylock_basic' at line
> > 474 in file /usr/src/lib/libpthread/thread/thr_mutex.c (errno =3D 0)
>
> Wine doesn't like being linked to libpthread, and that happens through
> winearts.drv.so and the libraries that use OpenGL.  To deal with OpenGL,
> I mapped libpthread to libc (not libc_r, wine doesn't like that either)
> for libGL.so, effectively canceling it out.  You can avoid
> winearts.drv.so by disabling sound in the wine config or switching to a
> different audio driver.
>
Ok, using libmap seemed to work here on CURRENT.
> Alternatively, you can just use wine-pthread.  It actually works, and it
> doesn't have a problem with libpthread.  You just have to "cd loader &&
> gmake wine-pthread" to build it.
Wasn't able to make this work CURRENT, but works on 4-STABLE.  I kept getti=
ng:
=46atal error 'can not create signal daemon thread!
' at line 238 in file /usr/src/lib/libpthread/thread/thr_sig.c (errno =3D 1=
2)

I'm now getting this only on some apps (others work fine), which looks to b=
e=20
more mmap issues or something in wine.
err:virtual:map_image Image was mapped at 0x4c0000: standard load address f=
or=20
a Win32 program (0x00400000) not available
err:virtual:map_image Do you have exec-shield or prelink active?

Thanks, I think I'll be able to make some changes to get this stuff working.

=2D --=20
Anish Mistry
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBJ81KxqA5ziudZT0RAlJSAJ0akGg1417qwnV+1zC3tb0U8iq8YQCdF9cy
EAGFCwjApuWDf7FCBNlcUl0=3D
=3DlxAR
=2D----END PGP SIGNATURE-----


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