Red Hat Bugzilla – Bug 598310
Hang compiling upstream wine directx.c (variable tracking)
Last modified: 2010-07-18 21:36:57 EDT
Created attachment 418453 [details]
Preprocessed code demonstrating the problem (xz compressed)
Description of problem:
When I try to compile the latest upstream wine (bbd93e535a3df9141cd9b028d2dfedae0c36eb5d), gcc appears to hang on dlls/wined3d/directx.c .
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Compile the attached preprocessed file as follows:
gcc -m32 -c -fPIC -fno-strict-aliasing -g -O2 -o directx-test.o directx.i
gcc ran for 3 minutes at 100% CPU, then I killed it.
Compilation finishes in a reasonable amount of time.
Created attachment 418454 [details]
Backtrace of cc1
I got a backtrace, and the compiler seems to be stuck in the "variable tracking" pass. Passing either -fno-var-tracking or -fno-var-tracking-assignments makes compilation finish in about 13 seconds.
Should be fixed in gcc-4.4.4-8.fc13.
Please push an update to Fedora 13.
I would appreciate an update for Fedora 13. If you don't wish to do that, the correct resolution is NEXTRELEASE as per https://fedoraproject.org/wiki/BugZappers/BugStatusWorkFlow .
Sorry, I didn't notice that an update had been pushed in the meantime.