http://bugs.winehq.org/show_bug.cgi?id=10130
Summary: Wine does not compile on x86_64 Product: Wine Version: CVS/GIT Platform: PC-x86-64 OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-ole AssignedTo: wine-bugs@winehq.org ReportedBy: garry.hurley.jr@gmail.com CC: posta10100@yahoo.it, garry.hurley.jr@gmail.com
+++ This bug was initially created as a clone of Bug #4594 +++
gcc -c -I. -I. -I../include -I../include -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o preloader.o preloader.c preloader.c: In function ‘wld_mmap’: preloader.c:259: warning: cast to pointer from integer of different size preloader.c: In function ‘map_so_lib’: preloader.c:680: warning: cast to pointer from integer of different size preloader.c: In function ‘wld_start’: preloader.c:910: warning: cast from pointer to integer of different size preloader.c:910: warning: cast to pointer from integer of different size {standard input}: Assembler messages: {standard input}:434: Error: suffix or operands invalid for `push' {standard input}:435: Error: suffix or operands invalid for `push' {standard input}:437: Error: suffix or operands invalid for `pop' {standard input}:438: Error: suffix or operands invalid for `pop' {standard input}:439: Error: suffix or operands invalid for `push' {standard input}:524: Error: suffix or operands invalid for `push' {standard input}:524: Error: suffix or operands invalid for `mov' {standard input}:524: Error: suffix or operands invalid for `pop' {standard input}:927: Error: suffix or operands invalid for `push' {standard input}:927: Error: suffix or operands invalid for `pop' {standard input}:1016: Error: suffix or operands invalid for `push' {standard input}:1016: Error: suffix or operands invalid for `pop' {standard input}:1030: Error: suffix or operands invalid for `push' {standard input}:1030: Error: suffix or operands invalid for `pop' {standard input}:1130: Error: suffix or operands invalid for `push' {standard input}:1130: Error: suffix or operands invalid for `mov' {standard input}:1130: Error: suffix or operands invalid for `pop' {standard input}:1153: Error: suffix or operands invalid for `push' {standard input}:1153: Error: suffix or operands invalid for `pop' {standard input}:1356: Error: suffix or operands invalid for `push' {standard input}:1356: Error: suffix or operands invalid for `pop' {standard input}:1550: Error: suffix or operands invalid for `push' {standard input}:1550: Error: suffix or operands invalid for `mov' {standard input}:1550: Error: suffix or operands invalid for `pop' {standard input}:1585: Error: suffix or operands invalid for `push' {standard input}:1585: Error: suffix or operands invalid for `mov' {standard input}:1585: Error: suffix or operands invalid for `pop' {standard input}:1668: Error: suffix or operands invalid for `push' {standard input}:1668: Error: suffix or operands invalid for `mov' {standard input}:1668: Error: suffix or operands invalid for `pop' make[1]: *** [preloader.o] Error 1 make[1]: Leaving directory `/files/awjb/BUILD/wine-0.9.8-fe/loader' make: *** [loader] Error 2
Additional information:
As I stated in bug 4594, which was ignored, the current git tree refused to build WITHOUT using the --enable-win64 option. configure --with-x fails. Bug is valid regardless of the --enable-win64 switch. Actual output is similar to the following:
/usr/lib64/gcc/x86_64-slamd64-linux/4.1.2/../../../../x86_64-slamd64-linux/bin/ld: i386:x86-64 architecture of input file `c_28606.o' is incompatible with i386 output make[2]: *** [libwine.so.1.0] Error 1 make[2]: Leaving directory `/wine-current/wine/libs/wine' make[1]: *** [wine] Error 2 make[1]: Leaving directory `/wine-current/wine/libs' make: *** [libs] Error 2
This is only the last of such messages. This also occurs when doing ./configure with no options, make depend, and then make.