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.
http://bugs.winehq.org/show_bug.cgi?id=10130
--- Comment #1 from oiaohm oiaohm@users.sf.net 2007-10-21 22:03:22 --- http://wiki.winehq.org/WineOn64bit Not a bug.
Wine is a 32 bit application trying to build it with a 64 bit complier of course it breaks.
http://bugs.winehq.org/show_bug.cgi?id=10130
--- Comment #2 from oiaohm oiaohm@users.sf.net 2007-10-21 22:10:41 --- configure --with-x failing is a dependany problem.
May people get the 32 bit version to build without issue.
The 64 bit is still a work in progress. Sorry for being a big snappy. Sorting out people using 64 bit compliers to build wine all the time. Instead of solving the 32 bit dependancys.
http://bugs.winehq.org/show_bug.cgi?id=10130
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |RESOLVED Component|wine-ole |wine-misc OS/Version|other |Linux Resolution| |INVALID
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2007-10-22 01:31:41 --- You missing -m32 option to gcc and of course it tries to compile as 64-bit.
http://bugs.winehq.org/show_bug.cgi?id=10130
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Dan Kegel dank@kegel.com 2008-01-28 05:59:09 --- Closing all RESOLVED INVALID older than four weeks.
http://bugs.winehq.org/show_bug.cgi?id=10130
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
https://bugs.winehq.org/show_bug.cgi?id=10130
Phaase haasesaah@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |haasesaah@gmail.com