[Bug 28050] llvm-gcc-4.5 fails to compile loader/preloader.c with optimizations enabled

wine-bugs at winehq.org wine-bugs at winehq.org
Mon May 6 17:29:02 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=28050

Austin English <austinenglish at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |UPSTREAM

--- Comment #7 from Austin English <austinenglish at gmail.com> 2013-05-06 17:29:02 CDT ---
(In reply to comment #6)
> Has the wine build been fixed to compile loader/preloader.c with -fno-builtins
> ?

With dragonegg from svn, wine builds fine, but crashes on start:
austin at aw25 ~/src/wine-dragonegg $ ./wine notepad
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr
0x7bc71be8
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr
0x7bc71be8

That should be a separate bug, of course.

For reference, this was with gcc-4.6.3:
gcc-4.6.3 -fplugin=/home/austin/src/dragonegg/dragonegg.so -m32 -c -I. -I.
-I../include -I../include  -D__WINESRC__   -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers
-Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings
-gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op 
-g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -fno-builtin -o main.o main.c

-- 
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.



More information about the wine-bugs mailing list