WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
249920
[Win] WebKit failed to build due to error C2061 and C2065 on windows with MSVC ARM64EC Target
https://bugs.webkit.org/show_bug.cgi?id=249920
Summary
[Win] WebKit failed to build due to error C2061 and C2065 on windows with MSV...
QuellaZhang
Reported
2022-12-27 22:36:49 PST
Created
attachment 464233
[details]
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]
Attachments
build_arm64ec_log
(202.97 KB, text/plain)
2022-12-27 22:36 PST
,
QuellaZhang
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2022-12-31 14:00:06 PST
WebKit doesn't have the plan to support ARM Windows now. Please propose patches if you want to maintain it.
Radar WebKit Bug Importer
Comment 2
2023-01-03 22:37:17 PST
<
rdar://problem/103862052
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug