http://bugs.winehq.org/show_bug.cgi?id=16695
Summary: Wine broken on PowerPC Product: Wine Version: 1.1.11 Platform: Macintosh OS/Version: Linux Status: NEW Keywords: source, testcase Severity: critical Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Next bug in line (and most major). Running all winelib apps fails:
austin@ubuntu-ppc:~/wine$ ./wine notepad wine: created the configuration directory '/home/austin/.wine' wineserver: request.c:745: open_master_socket: Assertion `sizeof(union generic_reply) == sizeof(struct request_max_size)' failed.
http://bugs.winehq.org/show_bug.cgi?id=16695
--- Comment #1 from Austin English austinenglish@gmail.com 2009-01-10 01:20:48 --- Seems to be related to this compiler error:
ccache gcc -c -I. -I. -I../include -I../include -D__WINESRC__ -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith -g -O2 -o context_powerpc.o context_powerpc.c context_powerpc.c:268: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_context_ip’ make: *** [context_powerpc.o] Error 1
This patch fixes it: diff --git a/server/context_powerpc.c b/server/context_powerpc.c index 9825a4a..d41b451 100644 --- a/server/context_powerpc.c +++ b/server/context_powerpc.c @@ -265,7 +265,7 @@ void copy_context( CONTEXT *to, const CONTEXT *from, unsigned int flags ) }
/* retrieve the current instruction pointer of a context */ -client_ptr_t get_context_ip( const CONTEXT *context ) +unsigned int get_context_ip( const CONTEXT *context ) { return context->Iar; }
and 'wine notepad' runs! :-)
This is pretty lowlevel stuff, and removing client_ptr_t doesn't seem quite right to me. Looking at the history of the file, Alexandre just added that a week ago, "server: Replace EXCEPTION_RECORD by an explicit definition in debug events." - 9f365e7705e137a9d6058abd6486cdf67e491eb0.
http://bugs.winehq.org/show_bug.cgi?id=16695
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|testcase |patch
http://bugs.winehq.org/show_bug.cgi?id=16695
--- Comment #2 from Austin English austinenglish@gmail.com 2009-08-30 19:27:50 --- wineserver compiles fine now, in git, but not sure if it works. Still compiling (anyone know how to speed up qemu for PPC emulation?)...
http://bugs.winehq.org/show_bug.cgi?id=16695
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|Macintosh |ppc32
http://bugs.winehq.org/show_bug.cgi?id=16695
Riccardo Loti contez@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |contez@gmail.com
--- Comment #3 from Riccardo Loti contez@gmail.com 2010-01-12 15:25:58 --- Bug 17203 seems to be referring to the same problem, which seems to have been fixed.
As pointed in the other bug report as soon as I have some spare time I'll setup a PPC test machine for compiling wine both under linux & Mac OS X.
http://bugs.winehq.org/show_bug.cgi?id=16695
--- Comment #4 from Austin English austinenglish@gmail.com 2010-01-12 15:39:09 --- (In reply to comment #3)
Bug 17203 seems to be referring to the same problem, which seems to have been fixed.
Does running wienlib apps work now? E.g., does 'wine notepad' run, out of the box?
http://bugs.winehq.org/show_bug.cgi?id=16695
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #5 from Austin English austinenglish@gmail.com 2011-02-11 17:30:29 CST --- Seems okay now, after you hack around bug 25744.
http://bugs.winehq.org/show_bug.cgi?id=16695
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2011-02-18 12:37:09 CST --- Closing bugs fixed in 1.3.14.