GCC 4.0.1 / WINE bug?

Marcus Meissner meissner at suse.de
Tue Nov 15 07:53:30 CST 2005


On Tue, Nov 15, 2005 at 07:32:37AM -0600, Evil wrote:
> I've been doing some tests with the odd Dreamweaver problem that I
> originally thought was a regression and discovered the following:
> 
> 1)  If I compile the current CVS on my Mandriva 2005LE machine with gcc
> v.3.4.3, then install it to my Mandriva 2006 desktop, Dreamweaver works
> fine.
> 
> 2)  If I compile the current CVS on my Mandriva 2006 desktop with gcc
> v.4.0.1, then install it to that same machine,  Dreamweaver hangs at the
> splash screen (with the app window in background).  Other apps, like
> Steam and Counter-Strike: Source work fine under this install.
> 
> This is using the same .wine config directory and everything.  I used
> "make clean" and "wineserver -k" between compiles.
> 
> When I was originally troubleshooting it as a Dreamweaver problem, I
> recall checking out a fresh copy of CVS and getting the same hangup
> symptoms under 4.0.1.
> 
> So, it appears that this might be caused by either a gcc 4.0.1 bug, or a
> bug in the WINE source that only becomes evident when compiled under gcc
> 4.0.1.
> 
> When I get home from work tonight I can do some traces to try to narrow
> the scope of investigation.  Are there any trace options that would be
> particularly helpful to you devs?

Such a miscompilation is either found by debugging the problem
(which might be difficult here), or by reducing the testcase.

You could compile parts of WINE with gcc 4.0.1 and parts of it
with gcc 3.4.3 and try to find out which part of WINE is miscompiled.

For instance, try to compilere everything with 3.4.3, except:
dlls/ntdll and then check again.

Prime suspects: dlls/ntddl, server/, dlls/kernel, dlls/user 

If you spotted it to one directory, you can reduce it to a file level.

Ciao, Marcus



More information about the wine-devel mailing list