WineHQ
Wine Forums

Board index » WineHQ » Wine Help » Linux




 Page 1 of 1 [ 10 posts ] 



 
Author Message
 Post Posted: Fri Mar 29, 2013 5:50 am 
Offline
Newbie
Newbie

Joined: Fri Mar 29, 2013 5:44 am
Posts: 3
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?


Top 
 Post Posted: Sat Mar 30, 2013 9:05 am 
Offline
Level 1
Level 1

Joined: Sat Mar 30, 2013 9:02 am
Posts: 5
Location: Vienna
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:

Quote:
err: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...


that is with gcc 4.8 (hardened) and wine 1.5.26 on Gentoo ~amd64, 64bit wine

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


Top 
 Post Posted: Sat Mar 30, 2013 3:32 pm 
Offline
Level 1
Level 1

Joined: Sat Mar 30, 2013 9:02 am
Posts: 5
Location: Vienna
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


Top 
 Post Posted: Mon Apr 01, 2013 8:11 am 
Offline
Newbie
Newbie

Joined: Mon Apr 01, 2013 8:03 am
Posts: 2
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


Top 
 Post Posted: Mon Apr 01, 2013 8:46 pm 
Offline
Newbie
Newbie

Joined: Mon Apr 01, 2013 8:03 am
Posts: 2
Unfortunately -fno-optimize-strlen had no effect -O3 still fails to build and -O2 produces a binary that doesn't work correctly


Top 
 Post Posted: Mon Apr 01, 2013 8:46 pm 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 25, 2008 10:30 pm
Posts: 8311
Someone filed a bug: http://bugs.winehq.org/show_bug.cgi?id=33307.


Top 
 Post Posted: Tue Apr 02, 2013 4:10 am 
Offline
Newbie
Newbie

Joined: Fri Mar 29, 2013 5:44 am
Posts: 3
I tried -fno-aggressive-loop-optimizations, but to no avail. Interrestingly, it doesn't crash immediatly, but after 10 seconds or so.


Top 
 Post Posted: Fri May 03, 2013 3:41 pm 
Offline
Level 1
Level 1

Joined: Sat Mar 30, 2013 9:02 am
Posts: 5
Location: Vienna
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


Top 
 Post Posted: Fri May 03, 2013 9:07 pm 
Offline
Level 6
Level 6

Joined: Thu Aug 27, 2009 6:23 am
Posts: 599
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?


Top 
 Post Posted: Sat May 04, 2013 3:56 am 
Offline
Level 1
Level 1

Joined: Sat Mar 30, 2013 9:02 am
Posts: 5
Location: Vienna
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


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 10 posts ] 




Board index » WineHQ » Wine Help » Linux


Who is online

Users browsing this forum: qparis and 7 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: