[Webkit-unassigned] [Bug 249920] New: [AppleWin] WebKit failed to build due to error C2061 and C2065 on windows with MSVC ARM64EC Target

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 27 22:36:49 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=249920

            Bug ID: 249920
           Summary: [AppleWin] WebKit failed to build due to error C2061
                    and C2065 on windows with MSVC ARM64EC Target
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Windows 10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: 1998zhangyi at gmail.com

Created attachment 464233

  --> https://bugs.webkit.org/attachment.cgi?id=464233&action=review

build_arm64ec_log

Issue description:

We tried to build WebKit using VS2019 on Windows Server 2016. WebKit AppleWin port failed to build due to error C2061: syntax error: identifier 'opeqneoneg' and error C2065: 'src': undeclared identifier on windows with MSVC ARM64EC Target. It can be reproduced on master branch 257fc87 commit. Could you please help take a look at this? Thanks in advance!

Repro steps:
1. git clone https://github.com/WebKit/webkit F:\WebKit
2. open a VS 2019 x64 command prompt as admin and browse to F:\WebKit
3. git -C "F:\gitP\WebKit\webkit" reset --hard 257fc87
4."C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -host_arch=amd64 -arch=arm64
5. set path=F:\tools\WebKit\tools;%path%
6. mkdir build_arm64ec_AppleWin && cd F:\gitP\WebKit\webkit\build_arm64ec_AppleWin
7. xcopy F:\tools\WebKit\WebKitAuxiliaryLibrary\win F:\gitP\WebKit\webkit\WebKitLibraries\win /k/r/e/i/s/c/h/f/y
8. xcopy F:\tools\WebKit\WebKitSupportLibrary\win F:\gitP\WebKit\webkit\WebKitLibraries\win /k/r/e/i/s/c/h/f/y
9. cmake -G "Visual Studio 16 2019" -A ARM64EC -DCMAKE_SYSTEM_VERSION=10.0.22618.0 -DCMAKE_BUILD_TYPE=Release -DRUBY_LIBRARY=C:\tools\ruby26\lib -DPORT="AppleWin" ..
10. set _CL_=/Zc:lambda /wd4003
11. msbuild /m /p:Platform=ARM64EC /p:Configuration=Release WebKit.sln /t:Rebuild

Actual result:
    65>F:\gitP\WebKit\webkit\Source\JavaScriptCore\assembler\MacroAssembler.h(534,10): error C2061: syntax error: identifier 'opeqneoneg' [F:\gitP\WebKit\webkit\build_arm64ec_AppleWin\Source\JavaScriptCore\LLIntOffsetsExtractor.vcxproj]
    65>F:\gitP\WebKit\webkit\Source\JavaScriptCore\assembler\MacroAssembler.h(536,16): error C2065: 'src': undeclared identifier [F:\gitP\WebKit\webkit\build_arm64ec_AppleWin\Source\JavaScriptCore\LLIntOffsetsExtractor.vcxproj]
    65>F:\gitP\WebKit\webkit\Source\JavaScriptCore\assembler\MacroAssembler.h(536,21): error C2065: 'scratch': undeclared identifier [F:\gitP\WebKit\webkit\build_arm64ec_AppleWin\Source\JavaScriptCore\LLIntOffsetsExtractor.vcxproj]
    65>F:\gitP\WebKit\webkit\Source\JavaScriptCore\assembler\MacroAssembler.h(537,17): error C2065: 'scratch': undeclared identifier [F:\gitP\WebKit\webkit\build_arm64ec_AppleWin\Source\JavaScriptCore\LLIntOffsetsExtractor.vcxproj]
    65>F:\gitP\WebKit\webkit\Source\JavaScriptCore\assembler\MacroAssembler.h(537,26): error C2065: 'dest': undeclared identifier [F:\gitP\WebKit\webkit\build_arm64ec_AppleWin\Source\JavaScriptCore\LLIntOffsetsExtractor.vcxproj]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221228/7c243dc4/attachment.htm>


More information about the webkit-unassigned mailing list