http://bugs.winehq.org/show_bug.cgi?id=29514
Bug #: 29514 Summary: Wine does not build on FreeBSD-8.x AMD64: ASM error in libs/port/interlocked.c Product: Wine Version: 1.3.36 Platform: x86-64 OS/Version: FreeBSD Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: hardy.schumacher@gmx.de Classification: Unclassified
Created attachment 38223 --> http://bugs.winehq.org/attachment.cgi?id=38223 Logfile from Wine build
I've tried to build current version of Wine (v1.3.36) under FreeBSD AMD64. During build process an error related to assembler code in libs/port/interlocked.c occurs: Error: no such instruction: `cmpxchg16b (%rdi)'
For further information see attached logfile.
Used FreeBSD is 8.2 on AMD64 platform.
http://bugs.winehq.org/show_bug.cgi?id=29514
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2012-01-02 10:58:18 CST --- The platform should be detected as x86_64-*. It sounds like the port is passing the wrong platform. Please reopen if you can reproduce when building from pristine source.
http://bugs.winehq.org/show_bug.cgi?id=29514
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #38223|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=29514
--- Comment #2 from Hardy Schumacher hardy.schumacher@gmx.de 2012-01-02 13:16:44 CST --- Created attachment 38227 --> http://bugs.winehq.org/attachment.cgi?id=38227 Test program to validate platform detection
I've created a test program to validate the detection of the platform. Correct platform is detected at my FreeBSD.
So it might be that FreeBSD AMD64 is not supporting specific ASM directives. Please check this. A potential workaround for this issue might be to integrate an additional check for the OS. In case it's a x86_64 platform and OS is FreeBSD, then use default behavior instead,
http://bugs.winehq.org/show_bug.cgi?id=29514
Hardy Schumacher hardy.schumacher@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |
--- Comment #3 from Hardy Schumacher hardy.schumacher@gmx.de 2012-01-02 13:17:43 CST --- Reopened, see my last comment.
http://bugs.winehq.org/show_bug.cgi?id=29514
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2012-01-02 14:26:30 CST --- That's irrelevant. The platform needs to be detected by configure, which will then force a 32-bit build. Just run './configure && make' on an unmodified source.
http://bugs.winehq.org/show_bug.cgi?id=29514
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com 2012-01-12 20:59:08 CST --- FWIW, with wine-1.3.36-361-g5eecdc8 and a newer flex, Wine builds fine for me on FreeBSD 9.0.
Doesn't run, but that's a different bug..
http://bugs.winehq.org/show_bug.cgi?id=29514
--- Comment #6 from Austin English austinenglish@gmail.com 2012-01-13 11:22:06 CST --- Should've specified, I meant 64-bit wine (./configure --enable-win64) on FreeBSD9.