RESOLVED FIXED147114
[Win] Certain debug builds can take close to three hours to link
https://bugs.webkit.org/show_bug.cgi?id=147114
Summary [Win] Certain debug builds can take close to three hours to link
Brent Fulgham
Reported 2015-07-20 11:25:08 PDT
The DebugSuffix target on our Windows build seems to trigger a bug in the MSVC 2013 linker that causes explosive link times (on the order of three hours). It appears that this behavior is triggered by attempting to use the "/OPT:REF" and "/OPT:ICF" flags when building a debug target that is itself linking against other debug-targeted libraries. We do not encounter this on our release builds, or our debug target that does not reference debug support libraries. Our standard Debug build has these turned off “/OPT:NOREF, /OPT:NOICF”, which I think makes more sense for debug builds and should also be used on our "DebugSuffix" target.
Attachments
Patch (1.74 KB, patch)
2015-07-20 11:30 PDT, Brent Fulgham
no flags
Patch (1.74 KB, patch)
2015-07-20 11:31 PDT, Brent Fulgham
no flags
Patch (1.67 KB, patch)
2015-07-20 11:32 PDT, Brent Fulgham
thorton: review+
Brent Fulgham
Comment 1 2015-07-20 11:28:54 PDT
Brent Fulgham
Comment 2 2015-07-20 11:30:26 PDT
Brent Fulgham
Comment 3 2015-07-20 11:31:40 PDT
Brent Fulgham
Comment 4 2015-07-20 11:32:42 PDT
Tim Horton
Comment 5 2015-07-20 11:34:12 PDT
Comment on attachment 257110 [details] Patch rs=me
Brent Fulgham
Comment 6 2015-07-20 11:52:56 PDT
Note You need to log in before you can comment on or make changes to this bug.