WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
259119
clang-cl can't link WebCore.dll of Windows Release build
https://bugs.webkit.org/show_bug.cgi?id=259119
Summary
clang-cl can't link WebCore.dll of Windows Release build
Fujii Hironori
Reported
2023-07-11 13:43:34 PDT
clang-cl can't link WebCore.dll of Windows Release build. set CC=clang-cl set CXX=clang-cl perl .\Tools\Scripts\build-webkit --release --no-fatal-warnings FAILED: bin64/WebCore.dll lib64/WebCore.lib cmd.exe /C "cd . && "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_dll --intdir=Source\WebCore\CMakeFiles\WebCore.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests -- C:\PROGRA~1\LLVM\bin\lld-link.exe /nologo @CMakeFiles\WebCore.rsp /out:bin64\WebCore.dll /implib:lib64\WebCore.lib /pdb:bin64\WebCore.pdb /dll /version:0.0 /machine:x64 /DEBUG /OPT:ICF /OPT:REF /INCREMENTAL:NO /INCREMENTAL:NO /DELAYLOAD:d3d9.dll /DELAYLOAD:dxva2.dll /DELAYLOAD:evr.dll /DELAYLOAD:mf.dll /DELAYLOAD:mfplat.dll && cd ." LINK: command "C:\PROGRA~1\LLVM\bin\lld-link.exe /nologo @CMakeFiles\WebCore.rsp /out:bin64\WebCore.dll /implib:lib64\WebCore.lib /pdb:bin64\WebCore.pdb /dll /version:0.0 /machine:x64 /DEBUG /OPT:ICF /OPT:REF /INCREMENTAL:NO /INCREMENTAL:NO /DELAYLOAD:d3d9.dll /DELAYLOAD:dxva2.dll /DELAYLOAD:evr.dll /DELAYLOAD:mf.dll /DELAYLOAD:mfplat.dll /MANIFEST /MANIFESTFILE:bin64\WebCore.dll.manifest" failed (exit code 1) with the following output: lld-link: error: undefined symbol: public: static class JSC::Structure * __cdecl JSC::Structure::create(class JSC::VM &, class JSC::JSGlobalObject *, class JSC::JSValue, class JSC::TypeInfo const &, struct JSC::ClassInfo const *, unsigned char, unsigned int)
>>> referenced by Source\WebCore\CMakeFiles\WebCore.dir\page\UserMessageHandlerDescriptor.cpp.obj >>> referenced by Source\WebCore\CMakeFiles\WebCore.dir\page\UserMessageHandlersNamespace.cpp.obj >>> referenced by Source\WebCore\CMakeFiles\WebCore.dir\__\__\WebCore\DerivedSources\unified-sources\UnifiedSource-f8afad56-19.cpp.obj
Attachments
PerformanceTestsResults.html (localPath needs to adjust)
(1.13 MB, text/html)
2023-07-15 00:06 PDT
,
Fujii Hironori
no flags
Details
perf test result (--repeat=2)
(2.24 MB, text/html)
2023-07-17 00:23 PDT
,
Fujii Hironori
no flags
Details
perf results of 4e68a14 (266055@main) and patched
(2.24 MB, text/html)
2023-07-24 14:55 PDT
,
Fujii Hironori
no flags
Details
perf results of 4e68a14 (266055@main) and patched
(2.24 MB, text/html)
2023-07-27 12:56 PDT
,
Fujii Hironori
no flags
Details
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2023-07-11 18:56:42 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/15767
Fujii Hironori
Comment 2
2023-07-12 21:58:36 PDT
I fixed this problem in
206542@main
(
bug#191626
), but it was reverted by
213160@main
(
bug#196315
).
Fujii Hironori
Comment 3
2023-07-13 17:51:57 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/15827
Fujii Hironori
Comment 4
2023-07-13 17:54:09 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/15828
Fujii Hironori
Comment 5
2023-07-15 00:06:44 PDT
Created
attachment 467048
[details]
PerformanceTestsResults.html (localPath needs to adjust) perf test results of
266055@main
and the patched.
https://github.com/WebKit/WebKit/commit/b452a308b06b3789c14e95adbd4045b056700b6a
Fujii Hironori
Comment 6
2023-07-17 00:23:36 PDT
Created
attachment 467058
[details]
perf test result (--repeat=2) The perf test is too flaky to say anything.
Radar WebKit Bug Importer
Comment 7
2023-07-18 13:44:26 PDT
<
rdar://problem/112490125
>
Fujii Hironori
Comment 8
2023-07-18 23:24:42 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/15924
Fujii Hironori
Comment 9
2023-07-24 14:55:32 PDT
Created
attachment 467107
[details]
perf results of 4e68a14 (
266055@main
) and patched Patch:
https://github.com/WebKit/WebKit/commit/a4c9a727e28a869d97086499c25134f295e66178
Fujii Hironori
Comment 10
2023-07-26 18:25:47 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/16124
Fujii Hironori
Comment 11
2023-07-27 12:56:25 PDT
Created
attachment 467136
[details]
perf results of 4e68a14 (
266055@main
) and patched Patch:
https://github.com/WebKit/WebKit/commit/2d121324ea753ee0e1b2f30815867ff8270761b8
EWS
Comment 12
2023-08-15 17:36:56 PDT
Committed
266932@main
(5bd7a22a5bc3): <
https://commits.webkit.org/266932@main
> Reviewed commits have been landed. Closing PR #16124 and removing active labels.
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