https://bugs.winehq.org/show_bug.cgi?id=38380
Bug ID: 38380 Summary: OSX Wine64 compile hangs on /dlls/ntdll/relay.c with gcc4.9 Product: Wine Version: 1.7.40 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: jshpettus@gmail.com Distribution: ---
I attempted to compile wine with --win-64 bit enabled. I do realize support is preliminary.
Anyway I installed gcc49 via macports and attempted to compile wine with all the dependencies installed on macports.
./configure --without-alsa --without-capi --with-cms --with-coreaudio --with-cups --with-curses --with-fontconfig --with-freetype --without-gphoto --with-glu --with-gnutls --without-gsm --without-hal --with-jpeg --without-ldap --without-mpg123 --without-openal --with-opengl --without-oss --with-png --with-pthread --without-sane --with-tiff --without-v4l --with-xcomposite --with-xcursor --with-xinerama --with-xinput --with-xml --with-xrandr --with-xrender --with-xshape --with-xslt --with-xxf86vm --with-x --x-include=/opt/local/include --x-lib=/opt/local/lib --disable-wineqtdecoder --disable-win16 --enable-win64 CFLAGS="-I/opt/local/include -L/opt/local/lib" CC=/opt/local/bin/gcc-mp-4.9
I also had to make an alternate version of my /usr/include/dispatch/object.c for gcc's sake. changing: typedef void (^dispatch_block_t)(void); to: typedef void* dispatch_block_t;
Anyway, it got all the way to /dlls/ntdll/relay.c and it got caught up on some assembly stuff there.
opt/local/bin/gcc-mp-4.9 -m64 -c -o relay.o relay.c -I. -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall \ -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \ -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith \ -Wlogical-op -I/opt/local/include -L/opt/local/lib {standard input}:1406:suffix or operands invalid for `movq' {standard input}:1407:suffix or operands invalid for `movq' {standard input}:1408:suffix or operands invalid for `movq' {standard input}:1409:suffix or operands invalid for `movq' make[1]: *** [relay.o] Error 1
Is this a bug or is it user error? I'm fully inclined to believe the latter :)