[Bug 26357] New: Wine does not build on Mac OS X with Clang 2.8
http://bugs.winehq.org/show_bug.cgi?id=26357 Summary: Wine does not build on Mac OS X with Clang 2.8 Product: Wine Version: 1.3.14 Platform: x86-64 OS/Version: Mac OS X 10.6 Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: marvinx03(a)gmail.com I have Clang 2.8 on my macbook installed via MacPorts: $ which clang /opt/local/bin/clang $ clang -v clang version 2.8 (branches/release_28) Target: x86_64-apple-darwin10 Thread model: posix When wine is configured with Clang: $ export CC=/opt/local/bin/clang $ export CXX=/opt/local/bin/clang++ $ export CFLAGS="-g -O0" $ ./configure --x-include=/usr/X11/include --x-libraries=/usr/X11/lib Compilation fails with the following message: /opt/local/bin/clang -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -g -O0 -o hal.o hal.c ../../tools/wrc/wrc --nostdinc --po-dir=../../po -m32 -I. -I. -I../../include -I../../include -D__WINESRC__ -o version.res version.rc ../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -shared ./hal.spec hal.o version.res -o hal.dll.so ../../libs/port/libwine_port.a ./hal.spec:1: function 'ExAcquireFastMutex' not defined ./hal.spec:2: function 'ExReleaseFastMutex' not defined ./hal.spec:3: function 'ExTryToAcquireFastMutex' not defined ./hal.spec:16: function 'KfAcquireSpinLock' not defined ./hal.spec:17: function 'KfLowerIrql' not defined ./hal.spec:18: function 'KfRaiseIrql' not defined ./hal.spec:19: function 'KfReleaseSpinLock' not defined winegcc: ../../tools/winebuild/winebuild failed make[1]: *** [hal.dll.so] Error 2 make: *** [dlls/hal] Error 2 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26357 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source CC| |austinenglish(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26357 --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2011-05-04 17:13:39 CDT --- Does it worth with gcc and those same CFLAGS/configure options? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26357 --- Comment #2 from Calvin Loncaric <marvinx03(a)gmail.com> 2011-05-04 18:08:26 CDT --- (In reply to comment #1)
Does it worth with gcc and those same CFLAGS/configure options?
It does. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26357 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.6 |Mac OS X -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26357 --- Comment #3 from Austin English <austinenglish(a)gmail.com> 2013-04-18 15:57:08 CDT --- Could you please retest with current Wine/Clang? On Fedora 18 with Wine 1.5.20+ and Clang 3.2, Wine builds/runs fine with -O2 (all tests that pass with gcc pass with Clang). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26357 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Abandoned? CC| |nerv(a)dawncrow.de --- Comment #4 from André H. <nerv(a)dawncrow.de> 2013-07-01 17:24:14 CDT --- No updates? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26357 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WORKSFORME --- Comment #5 from Austin English <austinenglish(a)gmail.com> 2013-08-01 19:20:58 CDT --- wine-1.6 compiles with clang 3.1 on OSX. Not sure where the fix was, marking WORKSFORME. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26357 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|Abandoned? | Status|RESOLVED |CLOSED --- Comment #6 from Austin English <austinenglish(a)gmail.com> 2013-08-01 19:21:12 CDT --- Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org