[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/45610: wine 1.2.3 doesn't run on NetBSD 5.0.1 or 5.1 (was PKGSRC 2011Q2 Wine Troubles)
After much mucking around with wine 1.2.3 and wine-devel I've fixed the
problem of wine not running under NetBSD 5.0.1 or 5.1 I've amended the bug
report I sent regarding the problem with the following:
> I have a fix for this bug.
> It seems the problem was that the main wine binary was linked against
> libpthread and contains no pthread code. Using gdb I found that it was
> getting stuck at TESTCANCEL(self) in libpthread before calls to read and
> write. The debug messages also reported of stack overruns for the wine and
> wineboot processes.
> So the solution was not to link the main wine binaries to libpthread. Wine
> is still pthreaded as ntdll links against libpthread and I can confirm this
> through top showing 200% cpu usage for broken windows programs.
> So here is the patch:
> --- loader/Makefile.in.orig 2011-04-08 17:09:51.000000000 +0000
> +++ loader/Makefile.in
> @@ -32,7 +32,7 @@ all: $(MAIN_BINARY) wine-installed $(EXT
> -LIBPTHREAD = @LIBPTHREAD@
> +LIBPTHREAD =
> LDEXECFLAGS = @LDEXECFLAGS@
> wine-preloader: preloader.o Makefile.in
> This patch was also applied to wine-devel and it would also work
> (wine-devel has other problems under NetBSD 5.0.1 and I will submit
> additional bug reports and fixes for them.)
> With the patch applied winecfg starts in about 2 seconds and all features
> work. I've tested it with firefox and built-in programs such as notepad
> and winmine and it works as expected.
Thank you to all that have posted. I hope this helps others.
Main Index |
Thread Index |