RESOLVED DUPLICATE of bug 237617 230877
[Win] WebCore.dir\Debug\WebCore.lib : fatal error LNK1248: image size (1000309F0) exceeds maximum allowable size (FFFFFFFF)
https://bugs.webkit.org/show_bug.cgi?id=230877
Summary [Win] WebCore.dir\Debug\WebCore.lib : fatal error LNK1248: image size (100030...
Fujii Hironori
Reported 2021-09-27 19:32:34 PDT
[Win] WebCore.dir\Debug\WebCore.lib : fatal error LNK1248: image size (1000309F0) exceeds maximum allowable size (FFFFFFFF) WinCairo Debug fails to build with CMake Visual Studio generator. Ninja build has no problem. > perl .\Tools\Scripts\build-webkit --wincairo --debug --no-ninja > WebCore.dir\Debug\WebCore.lib : fatal error LNK1248: image size (1000309F0) exceeds maximum allowable size (FFFFFFFF) [C:\home\webkit\gb\WebKitBuild\Debug\Source\WebCore\WebCore.vcxproj]
Attachments
Fujii Hironori
Comment 1 2021-09-27 19:37:33 PDT
I'm using Microsoft Visual Studio Professional 2019 Version 16.11.3.
Fujii Hironori
Comment 2 2021-09-27 21:20:46 PDT
I tried MSBuild+Clang-cl, and it can build with zillions of compilation warnings. 1. Install required components https://docs.microsoft.com/en-us/cpp/build/clang-support-msbuild 2. perl .\Tools\Scripts\build-webkit --wincairo --debug --no-ninja --cmakeargs="-T ClangCL"
Fujii Hironori
Comment 3 2021-09-29 18:43:29 PDT
I successfully built the latest AppleWin Debug (r283156) without Ninja on my PC. šŸ˜µ > perl .\Tools\Scripts\build-webkit --debug --no-ninja
Radar WebKit Bug Importer
Comment 4 2021-10-04 19:33:41 PDT
Fujii Hironori
Comment 5 2021-10-19 23:36:54 PDT
Removing /Zc:lambda siwtch (reverting r283007) can compile WinCairo Debug.
Don Olmstead
Comment 6 2021-11-08 11:47:59 PST
Same issue occurs with VS 2022 17.0 that was released today.
Fujii Hironori
Comment 7 2022-03-08 13:25:30 PST
Bug 237617 seems to going to fix this issue. We should test WinCairo after it will land. Bug 237617 ā€“ Fix Windows debug build
Fujii Hironori
Comment 8 2022-03-09 05:16:16 PST
I confirmed it solved this issue for WinCairo too. *** This bug has been marked as a duplicate of bug 237617 ***
Note You need to log in before you can comment on or make changes to this bug.