[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wine startup problems
I have a solution to your problem.
Below is what I sent to pkgsrc users and amended to bug report pkg/4560 . wine
1.2.3 doesn't run on NetBSD 5.0.1 or 5.1.
I hope this helps
> 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:
> > Hi,
> > 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:
> > $NetBSD$
> > --- 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
> > @MAKE_RULES@
> > -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.
> > Regards,
> > Nat.
> Thank you to all that have posted. I hope this helps others.
Main Index |
Thread Index |