http://bugs.winehq.org/show_bug.cgi?id=28030
Summary: wine fails to run when compiled with llvm-gcc Product: Wine Version: 1.3.26 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
austin@atialien:~/wine-git$ ./wine notepad wine: created the configuration directory '/home/austin/.wine' wine: Unhandled page fault on execute access to 0x0033efe8 at address 0x33efe8 (thread 0012), starting debugger... wine: Unhandled page fault on execute access to 0x7eccbe78 at address 0x7eccbe78 (thread 0014), starting debugger... wine: Unhandled page fault on execute access to 0x7edaae78 at address 0x7edaae78 (thread 0010), starting debugger... wine: Unhandled page fault on execute access to 0x7ed44e78 at address 0x7ed44e78 (thread 000b), starting debugger... wine: Unhandled page fault on execute access to 0x0033efe8 at address 0x33efe8 (thread 001e), starting debugger... wine: Unhandled page fault on execute access to 0x7ea30e78 at address 0x7ea30e78 (thread 0009), starting debugger... winedbg: Internal crash at 0x7ec92e78 austin@atialien:~/wine-git$ llvm-gcc --version llvm-gcc (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
http://bugs.winehq.org/show_bug.cgi?id=28030
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=28030
Sorin Sbarnea sorin.sbarnea@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sorin.sbarnea@gmail.com
--- Comment #1 from Sorin Sbarnea sorin.sbarnea@gmail.com 2011-10-09 04:55:44 CDT --- I confirm the same bug on OS X 10.7 with Xcode 4.2, both being GM builds. Several people reported this to brew https://github.com/mxcl/homebrew/issues/7874
http://bugs.winehq.org/show_bug.cgi?id=28030
damian.stewart@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damian.stewart@gmail.com
--- Comment #2 from damian.stewart@gmail.com 2011-11-26 09:21:53 CST --- also confirmed here. until wine works when compiled with LLVM-GCC, it is going to be remain unusable for everyone on OSX, as Apple have removed vanilla GCC from Xcode 4.2 onwards under OSX 10.7 (both GM).
http://bugs.winehq.org/show_bug.cgi?id=28030
--- Comment #3 from damian.stewart@gmail.com 2011-11-26 09:22:15 CST --- also confirmed here. until wine works when compiled with LLVM-GCC, it is going to be remain unusable for everyone on OSX, as Apple have removed vanilla GCC from Xcode 4.2 onwards under OSX 10.7 (both GM).
http://bugs.winehq.org/show_bug.cgi?id=28030
Christopher Harrington ironiridis@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ironiridis@gmail.com
--- Comment #4 from Christopher Harrington ironiridis@gmail.com 2012-02-16 18:53:45 CST --- Xcode 4.3 was released recently.
$ gcc -v Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
(cross-posting to bug #28028)
http://bugs.winehq.org/show_bug.cgi?id=28030
--- Comment #5 from Christopher Harrington ironiridis@gmail.com 2012-03-20 20:12:25 CDT --- Just to confirm:
Manually built GCC (gcc (GCC) 4.6.4 20120316 (prerelease)) w/ gmp-4.3.2, mpc-0.8.1, and mpfr-2.4.2. Checked out from Wine git 7da070f9ca89a0204f587a5aa7bfb721e2c389a9 and built with
CC=(my snapshot GCC prefix)/bin/gcc ./configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib
CC=(my snapshot GCC prefix)/bin/gcc make -j5
with success. This bug can probably be marked as confirmed.
http://bugs.winehq.org/show_bug.cgi?id=28030
Jeremiah Flerchinger flerchjj@ieee.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |flerchjj@ieee.org
http://bugs.winehq.org/show_bug.cgi?id=28030
Gilles Depeyrot gsd@dolphin.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gsd@dolphin.fr
http://bugs.winehq.org/show_bug.cgi?id=28030
Joshua Ali ali_joshua@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ali_joshua@hotmail.com
--- Comment #6 from Joshua Ali ali_joshua@hotmail.com 2013-02-01 05:41:15 CST --- This affects even the latest development release (1.5.23).
Note that although llvm-gcc is not usable, clang works just fine.
http://bugs.winehq.org/show_bug.cgi?id=28030
Oscar van Vliet ovvldc@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ovvldc@gmail.com
--- Comment #7 from Oscar van Vliet ovvldc@gmail.com 2013-07-06 05:34:54 CDT --- This bug should probably be closed as llvm-gcc is no longer used and supplanted by dragonegg.
Unless, of course, the same occurs with dragonegg...
http://bugs.winehq.org/show_bug.cgi?id=28030
--- Comment #8 from Austin English austinenglish@gmail.com 2013-08-19 11:56:15 CDT --- (In reply to comment #7)
This bug should probably be closed as llvm-gcc is no longer used and supplanted by dragonegg.
Unless, of course, the same occurs with dragonegg...
Yes, it does: austin@austin-VirtualBox:~/wine-dragonegg$ ./wine notepad Segmentation fault (core dumped) austin@austin-VirtualBox:~/wine-dragonegg$ dpkg -l | grep dragon ii dragonegg 3.2-1~exp1ubuntu2 i386 GCC plugin that uses LLVM for optimization and code generation ii dragonegg-4.7 3.2-1~exp1ubuntu2 i386 GCC plugin that uses LLVM for optimization and code generation austin@austin-VirtualBox:~/wine-dragonegg$ git describe wine-1.7.0-73-ge3e1284 austin@austin-VirtualBox:~/wine-dragonegg$ uname -a Linux austin-VirtualBox 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:19:42 UTC 2013 i686 i686 i686 GNU/Linux
you'll have to remove -nodefaultlibs from loader/Makefile.in for wine to build, there's a llvm bug for that.
http://bugs.winehq.org/show_bug.cgi?id=28030
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|wine fails to run when |wine fails to run when |compiled with llvm-gcc |compiled with dragonegg
--- Comment #9 from Austin English austinenglish@gmail.com 2013-08-19 18:37:57 CDT --- Actually, -nodefaultlibs may be fixed, it is in clang: http://llvm.org/bugs/show_bug.cgi?id=11172
I'll have to try from svn.
http://bugs.winehq.org/show_bug.cgi?id=28030
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |UPSTREAM
--- Comment #10 from Austin English austinenglish@gmail.com 2013-08-21 04:06:18 CDT --- (In reply to comment #9)
Actually, -nodefaultlibs may be fixed, it is in clang: http://llvm.org/bugs/show_bug.cgi?id=11172
I'll have to try from svn.
Dragonegg from SVN can run notepad with no issues. I'll try to compare the test suite when I have more time.
https://bugs.winehq.org/show_bug.cgi?id=28030
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=28030
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |RESOLVED
--- Comment #12 from Austin English austinenglish@gmail.com --- This was inadvertently caught up in my unclosed bugs filter. NOTOURBUG should only be closed when fixed upstream.
Setting back to RESOLVED NOTOURBUG.
Sorry for the spam.