Bug 22704 - GCC 4.2 dies in a fire while trying to compile Interpreter.cpp.
Summary: GCC 4.2 dies in a fire while trying to compile Interpreter.cpp.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-05 20:34 PST by Gavin Barraclough
Modified: 2008-12-06 03:47 PST (History)
2 users (show)

See Also:


Attachments
The patch (2.16 KB, patch)
2008-12-05 20:35 PST, Gavin Barraclough
oliver: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Barraclough 2008-12-05 20:34:39 PST
Add "-fno-var-tracking" compiler flag to make this go away.
Comment 1 Gavin Barraclough 2008-12-05 20:35:49 PST
Created attachment 25806 [details]
The patch
Comment 2 Gavin Barraclough 2008-12-05 20:38:37 PST
bdash may want to revert this & land a smarter version of this patch, but right now I can't compile. :-/

Comment 3 Oliver Hunt 2008-12-05 20:41:35 PST
Comment on attachment 25806 [details]
The patch

In the ChangeLog
s/Please don't die in a fire while/Prevent GCC4.2 from hanging when/

We'll need to get mark to fix this better so we can debug interpreter.cpp in debug builds (which i think this will break)
Comment 4 Gavin Barraclough 2008-12-05 20:57:28 PST
Sending        JavaScriptCore/ChangeLog
Sending        JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
Transmitting file data ..
Committed revision 39062.

Comment 5 David Kilzer (:ddkilzer) 2008-12-06 03:47:41 PST
http://trac.webkit.org/changeset/39062

Did you really want to use -fno-var-tracking (due to the issue with missing symbols)?  (See <rdar://problem/6414738>.)