http://bugs.winehq.org/show_bug.cgi?id=9457
Summary: Problem compiling on FreeBSD amd64 Product: Wine Version: 0.9.34. Platform: Other OS/Version: FreeBSD Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-binary AssignedTo: wine-bugs@winehq.org ReportedBy: andy@t-2.net
Created an attachment (id=7789) --> (http://bugs.winehq.org/attachment.cgi?id=7789) Build trace
I have problem building on FreeBSD in amd64 (x64 mode). It seems like some problem with assembler code in wine-loader. Attached is full report from port build of FreeBSD.
http://bugs.winehq.org/show_bug.cgi?id=9457
--- Comment #1 from Roderick Colenbrander thunderbird2k@gmx.net 2007-08-25 14:40:14 --- Wine needs to be compiled as 32bit. It won't work as a 64bit program. In short windows programs are 32bit, a 64bit Wine would only be able to run 64bit programs and for which we don't have support (yet).
I have no FreeBSD experience but it means that you need to install 32bit libraries, compiler and so on. Further I believe that there are serious problems running Wine on FreeBSD. For proper Wine support on FreeBSD you need I think the latest kernel with 'thr_kill2' support. Further you need Wine 0.9.44 with some patches. I think I saw those on wine-patches but those haven't been committed yet. You would need to apply them yourself.
So get 32bit stuff and you also need to upgrade your kernel and more if you want to run Wine.
http://bugs.winehq.org/show_bug.cgi?id=9457
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2007-08-26 03:15:12 --- Looks like configure.ac in Wine has support for building a 32-bit binary under Linux (look for x86_64*linux*) but not under FreeBSD.
http://bugs.winehq.org/show_bug.cgi?id=9457
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2007-08-26 03:19:22 ---
checking build system type... amd64-portbld-freebsd7.0 checking host system type... amd64-portbld-freebsd7.0
Try to apply the following patch, and regenerate configure:
--- configure.ac Fri Aug 24 11:37:28 2007 +++ configure.ac Sun Aug 26 08:17:49 2007 @@ -21,6 +21,7 @@ AC_ARG_WITH(wine-tools,AS_HELP_STRING([- AC_CANONICAL_HOST case $host in x86_64*linux*) + amd64*freebsd*) if test "x$enable_win64" != "xyes" then test -n "$CC" || CC="gcc -m32"
http://bugs.winehq.org/show_bug.cgi?id=9457
--- Comment #4 from Aleksander (Andy) Rozman andy@t-2.net 2007-08-26 10:52:44 --- Hi guys !
This didn't help. I am still at same error.
Andy
http://bugs.winehq.org/show_bug.cgi?id=9457
Alexandre Julliard julliard@winehq.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #5 from Alexandre Julliard julliard@winehq.com 2007-08-26 12:02:38 --- It looks like the port is passing incorrect flags to configure, the cpu name should be x86_64, you should report this to the port maintainers. In any case building on 64-bit won't do what you want, and last I heard FreeBSD doesn't support 32-bit cross compilation.
http://bugs.winehq.org/show_bug.cgi?id=9457
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Dan Kegel dank@kegel.com 2008-01-28 05:32:56 --- Closing all RESOLVED INVALID bugs that haven't changed in over three months.
http://bugs.winehq.org/show_bug.cgi?id=9457
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|_obsolete_binary |-unknown