wine built with gcc-4.8.0
-
- Newbie
- Posts: 3
- Joined: Fri Mar 29, 2013 5:44 am
wine built with gcc-4.8.0
So, a new compiler version has appeared and I wanted to try it out on wine in the the hope to squeeze some more tenth of fps out of wine running World of Warcraft.
Wine builds fine, but unfortunately it crashes a few seconds after log in (or during) when trying to run WoW. Has somebody else tried gcc-4.8.0?
Wine builds fine, but unfortunately it crashes a few seconds after log in (or during) when trying to run WoW. Has somebody else tried gcc-4.8.0?
-
- Level 1
- Posts: 5
- Joined: Sat Mar 30, 2013 9:02 am
Re: wine built with gcc-4.8.0
yeah, tried running it with PDF-XChange but the program won't load
it only says: "the program winemenubuilder.exe has encountered a serious problem and needs to be closed. We are sorry for the inconvenience."
when running from console it says:
hardened 4.7 worked fine - I'll do so changed in the toolchain and see whether I can get it to work with gcc 4.8 ...
it only says: "the program winemenubuilder.exe has encountered a serious problem and needs to be closed. We are sorry for the inconvenience."
when running from console it says:
that is with gcc 4.8 (hardened) and wine 1.5.26 on Gentoo ~amd64, 64bit wineerr:seh:call_stack_handlers invalid frame 7fffcbfe3030 (0x142000-0x240000)
err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception.
wine: Unhandled page fault at address 0x7f5a9fba629e (thread 000d), starting debugger...
hardened 4.7 worked fine - I'll do so changed in the toolchain and see whether I can get it to work with gcc 4.8 ...
-
- Level 1
- Posts: 5
- Joined: Sat Mar 30, 2013 9:02 am
Re: wine built with gcc-4.8.0
weird - you can't edit your posts ?
anyway:
I switched back and forth between binutils, CFLAGS and gcc
and switching from gcc 4.8 to 4.7 "fixed" it:
PDF-XChange or all apps that I'm using with wine work fully again
so perhaps it's the same like with every few gcc releases:
it optimizes more and/or gets stricter with code
and that leads to breakage
anyway:
I switched back and forth between binutils, CFLAGS and gcc
and switching from gcc 4.8 to 4.7 "fixed" it:
PDF-XChange or all apps that I'm using with wine work fully again
so perhaps it's the same like with every few gcc releases:
it optimizes more and/or gets stricter with code
and that leads to breakage
Re: wine built with gcc-4.8.0
I too have found issues compiling wine with gcc 4.8
With -O3 I was getting compilation issues due to memset not being defined
At -O2 I was instead getting run time errors
I've got a feeling the errors are due to the new gcc optimisation -foptimize-strlen
Some details can be found here http://nickclifton.livejournal.com/9396.html
I'll do some experimentation with -fno-optimize-strlen and see if that improves anything
With -O3 I was getting compilation issues due to memset not being defined
At -O2 I was instead getting run time errors
I've got a feeling the errors are due to the new gcc optimisation -foptimize-strlen
Some details can be found here http://nickclifton.livejournal.com/9396.html
I'll do some experimentation with -fno-optimize-strlen and see if that improves anything
Re: wine built with gcc-4.8.0
Unfortunately -fno-optimize-strlen had no effect -O3 still fails to build and -O2 produces a binary that doesn't work correctly
Re: wine built with gcc-4.8.0
Someone filed a bug: http://bugs.winehq.org/show_bug.cgi?id=33307.
-
- Newbie
- Posts: 3
- Joined: Fri Mar 29, 2013 5:44 am
Re: wine built with gcc-4.8.0
I tried -fno-aggressive-loop-optimizations, but to no avail. Interrestingly, it doesn't crash immediatly, but after 10 seconds or so.
-
- Level 1
- Posts: 5
- Joined: Sat Mar 30, 2013 9:02 am
Re: wine built with gcc-4.8.0
I compiled a upstream gcc 4.8.1_pre9999 (gentoo live ebuild) with the applied patch from (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57003#c17)
and PDF-XChange / wine now starts but it crashes during attempt of saving the PDF file
so there either must be several more issues with gcc 4.8.0 or it's an app-specific issue
for completeness' sake I'll post a link to the error message here:
http://pastebin.com/DJ1VyZ4W
and PDF-XChange / wine now starts but it crashes during attempt of saving the PDF file
so there either must be several more issues with gcc 4.8.0 or it's an app-specific issue
for completeness' sake I'll post a link to the error message here:
http://pastebin.com/DJ1VyZ4W
-
- Level 7
- Posts: 823
- Joined: Thu Aug 27, 2009 6:23 am
Re: wine built with gcc-4.8.0
Regarding the issue with PDF-XChange, maybe http://appdb.winehq.org/objectManager.p ... &iId=23721 helps. There's a bug report for the 64bit version of PDF-XChange, see http://bugs.winehq.org/show_bug.cgi?id=30360 . Are you running 32 or 64bit version of PDF-XChange?
-
- Level 1
- Posts: 5
- Joined: Sat Mar 30, 2013 9:02 am
Re: wine built with gcc-4.8.0
thanks lahmbi5678, I'm currently running the 64bit version
I tried the steps mentioned in that bug report already but it didn't help so like posted in the last entry in the bugtracker - as a last resort installed the 64bit version - that one works (saving, overwriting, etc.)
32bit stopped working for me with as far as I know wine 1.4* (the version I had installed was 1.4_rc4 - didn't try newer versions since then) , wine 1.3.28 (worked, good with 32bit & saving)
so in summary: with all current wine versions and gcc 4.7* saving works with the 64bit version of PDF-XChange, whereas with even the "fixed" gcc 4.8.1_pre9999 saving (still) doesn't work (with 64bit) - now it at least starts up (before it crashed during startup, the app's GUI wasn't even visible), you can make annotations but during saving attempt it crashes
but that's a different issue
let's stay to the gcc 4.8 problem
once I have a chance to run other apps - I'll do it & see / report
I tried the steps mentioned in that bug report already but it didn't help so like posted in the last entry in the bugtracker - as a last resort installed the 64bit version - that one works (saving, overwriting, etc.)
32bit stopped working for me with as far as I know wine 1.4* (the version I had installed was 1.4_rc4 - didn't try newer versions since then) , wine 1.3.28 (worked, good with 32bit & saving)
so in summary: with all current wine versions and gcc 4.7* saving works with the 64bit version of PDF-XChange, whereas with even the "fixed" gcc 4.8.1_pre9999 saving (still) doesn't work (with 64bit) - now it at least starts up (before it crashed during startup, the app's GUI wasn't even visible), you can make annotations but during saving attempt it crashes
but that's a different issue
let's stay to the gcc 4.8 problem
once I have a chance to run other apps - I'll do it & see / report