fernandocarvalho
2010-Feb-13 19:56 UTC
[Wine] Is there any known issue when compiling wine with gcc-4.4.3?
I had recently installed gentoo with the whole system compiled with gcc-4.4.3 and with the ACCEPT_KEYWORDS="~x86" flag enabled, so the system is with the most recent packages. I'm thinking that there should be some problem with gcc-4.4.3 because when I'm going to run Warcraft 3, I get a Code: err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr (nil) . I have another installation that was compiled with gcc-4.3.4 and has no trouble when running Warcraft 3. I haven't changed my USE flags, and my cflags are: Code: CFLAGS="-O3 -march=amdfam10 -pipe" CXXFLAGS=${CFLAGS} I know that is not recommended compile with -O3 but Portage use -O2 when it is compiling wine. Does anyone has a position about it?
James Huk
2010-Feb-13 20:54 UTC
[Wine] Is there any known issue when compiling wine with gcc-4.4.3?
On Sat, Feb 13, 2010 at 8:56 PM, fernandocarvalho <wineforum-user at winehq.org> wrote:> I had recently installed gentoo with the whole system compiled with gcc-4.4.3 and with the ACCEPT_KEYWORDS="~x86" flag enabled, so the system is with the most recent packages. > I'm thinking that there should be some problem with gcc-4.4.3 because when I'm going to run Warcraft 3, I get a > Code: > ?err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr (nil) > > . > I have another installation that was compiled with gcc-4.3.4 and has no trouble when running Warcraft 3. > I haven't changed my USE flags, and my cflags are: > > Code: > > CFLAGS="-O3 -march=amdfam10 -pipe" > CXXFLAGS=${CFLAGS} > > > > I know that is not recommended compile with -O3 but Portage use -O2 when it is compiling wine. > Does anyone has a position about it? > > > > > >"-O2" is consider safe for most software "-O3" is not - from my experience, wine will crush with most apps, when compiled with "-O3" - try recompiling with "-O2" and retest.
fernandocarvalho
2010-Feb-13 21:49 UTC
[Wine] Re: Is there any known issue when compiling wine with gcc-4.4.3?
It is compiled with -O2. Portage doesn't override wine's safe settings.
fernandocarvalho
2010-Feb-13 23:01 UTC
[Wine] Re: Is there any known issue when compiling wine with gcc-4.4.3?
I haven't tried it yet. But be sure that I checked that -O2 is being used on wine, because I watched the entire compilation process. I'm sorry to tell that I have being only testing the unstable tree of Gentoo, so I figured out that it should be consequence of the use of gcc 4.4.3. Now I've make a completely mess on my system and I had to reinstall it. Then, now, I can't test what happens if I compile without portage.