In https://codereview.chromium.org/2045683002/ I've tried to enable /LTCG:Incremental for the official builds of Chrome. The goal was to reduce the link time on the x64 perf bots (they build with the official bit set, which enable LTCG) but we've started to get some compiler ICE after a few builds, e.g.:
c:\b\build\slave\win_x64_builder\build\src\chrome\common\chrome_icon_resources_win.cc : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 249)
To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
link!InvokeCompilerPass()+0x2c741
link!InvokeCompilerPass()+0x2c741
link!DllGetC2Telemetry()+0xbe6bc
(See https://build.chromium.org/p/chromium.perf/builders/Win%20x64%20Builder/builds/9316/steps/compile/logs/stdio for a log with more failure like this, the location mentioned, in chrome_icon_resources_win.cc, seems irrelevant here).
We saw this issue for the first time in https://build.chromium.org/p/chromium.perf/builders/Win%20x64%20Builder/builds/9271/
The first build with this flag was https://build.chromium.org/p/chromium.perf/builders/Win%20x64%20Builder/builds/9269/ (succeed), the next one (9270) timed out and we hit this compiler error in 9271.
I've tried to repro locally but without success, I'll retry soon.
Comment 1 by brucedaw...@chromium.org
, Jul 1 2016