| Summary: | Plumb shape detection API to the GPU Process | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> |
| Component: | Images | Assignee: | Myles C. Maxfield <mmaxfield> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | Hironori.Fujii, sabouhallawa, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=255746 | ||
| Bug Depends on: | 255635 | ||
| Bug Blocks: | |||
|
Description
Myles C. Maxfield
2023-04-14 16:10:46 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12765 Committed 263094@main (f2195aa52bec): <https://commits.webkit.org/263094@main> Reviewed commits have been landed. Closing PR #12765 and removing active labels. It broke Windows port. https://build.webkit.org/#/builders/729/builds/4229 FAILED: bin64/WebKit2.dll lib64/WebKit2.lib cmd.exe /C "cd . && C:\tools\cmake\bin\cmake.exe -E vs_link_dll --intdir=Source\WebKit\CMakeFiles\WebKit.dir --rc="C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\rc.exe" --mt="C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\mt.exe" --manifests -- C:\MSVS\VC\Tools\MSVC\14.34.31933\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\WebKit.rsp /out:bin64\WebKit2.dll /implib:lib64\WebKit2.lib /pdb:bin64\WebKit2.pdb /dll /version:0.0 /machine:x64 /DEBUG /OPT:ICF /OPT:REF /OPT:NOREF /OPT:NOICF /INCREMENTAL:NO /debug /INCREMENTAL /INCREMENTAL:NO && cd ." LINK Pass 1: command "C:\MSVS\VC\Tools\MSVC\14.34.31933\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\WebKit.rsp /out:bin64\WebKit2.dll /implib:lib64\WebKit2.lib /pdb:bin64\WebKit2.pdb /dll /version:0.0 /machine:x64 /DEBUG /OPT:ICF /OPT:REF /OPT:NOREF /OPT:NOICF /INCREMENTAL:NO /debug /INCREMENTAL /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:Source\WebKit\CMakeFiles\WebKit.dir/intermediate.manifest Source\WebKit\CMakeFiles\WebKit.dir/manifest.res" failed (exit code 1120) with the following output: GeneratedSerializers.cpp.obj : error LNK2005: "bool __cdecl WTF::isValidEnum<enum WebCore::ShapeDetection::BarcodeFormat,void>(unsigned char)" (??$isValidEnum@W4BarcodeFormat@ShapeDetection@WebCore@@X@WTF@@YA_NE@Z) already defined in RemoteRenderingBackendMessageReceiver.cpp.obj Creating library lib64\WebKit2.lib and object lib64\WebKit2.exp UnifiedSource-54928a2b-27.cpp.obj : error LNK2019: unresolved external symbol "public: bool __cdecl IPC::MessageSender::send<class Messages::WebPageProxy::StartURLSchemeTask>(class Messages::WebPageProxy::StartURLSchemeTask &&)" (??$send@VStartURLSchemeTask@WebPageProxy@Messages@@@MessageSender@IPC@@QEAA_N$$QEAVStartURLSchemeTask@WebPageProxy@Messages@@@Z) referenced in function "public: void __cdecl WebKit::WebURLSchemeTaskProxy::startLoading(void)" (?startLoading@WebURLSchemeTaskProxy@WebKit@@QEAAXXZ) UnifiedSource-54928a2b-27.cpp.obj : error LNK2019: unresolved external symbol "public: bool __cdecl IPC::MessageSender::send<class Messages::WebPageProxy::StopURLSchemeTask>(class Messages::WebPageProxy::StopURLSchemeTask &&)" (??$send@VStopURLSchemeTask@WebPageProxy@Messages@@@MessageSender@IPC@@QEAA_N$$QEAVStopURLSchemeTask@WebPageProxy@Messages@@@Z) referenced in function "public: void __cdecl WebKit::WebURLSchemeTaskProxy::stopLoading(void)" (?stopLoading@WebURLSchemeTaskProxy@WebKit@@QEAAXXZ) bin64\WebKit2.dll : fatal error LNK1120: 2 unresolved externals This doesn't seem to be a simple problem. I'm going to revert. 263111@main reverted it. MessageSender::send problem is a simple problem. But, isValidEnum problem is so weird. diff --git a/Source/WebKit/WebProcess/WebPage/WebURLSchemeTaskProxy.cpp b/Source/WebKit/WebProcess/WebPage/WebURLSchemeTaskProxy.cpp index 0c1ef8d82b96..2429106c8c3c 100644 --- a/Source/WebKit/WebProcess/WebPage/WebURLSchemeTaskProxy.cpp +++ b/Source/WebKit/WebProcess/WebPage/WebURLSchemeTaskProxy.cpp @@ -27,6 +27,7 @@ #include "WebURLSchemeTaskProxy.h" #include "Logging.h" +#include "MessageSenderInlines.h" #include "URLSchemeTaskParameters.h" #include "WebCoreArgumentCoders.h" #include "WebFrame.h" clang-cl also fails to link:
[6396/6554] Linking CXX shared library bin64\WebKit2.dll
FAILED: bin64/WebKit2.dll lib64/WebKit2.lib
cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_dll --intdir=Source\WebKit\CMakeFiles\WebKit.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\WebKit.rsp /out:bin64\WebKit2.dll /implib:lib64\WebKit2.lib /pdb:bin64\WebKit2.pdb /dll /version:0.0 /machine:x64 /DEBUG /OPT:ICF /OPT:REF /OPT:NOREF /OPT:NOICF /INCREMENTAL:NO /debug /INCREMENTAL /INCREMENTAL:NO && cd ."
LINK Pass 1: command "C:\PROGRA~1\LLVM\bin\lld-link.exe /nologo @CMakeFiles\WebKit.rsp /out:bin64\WebKit2.dll /implib:lib64\WebKit2.lib /pdb:bin64\WebKit2.pdb /dll /version:0.0 /machine:x64 /DEBUG /OPT:ICF /OPT:REF /OPT:NOREF /OPT:NOICF /INCREMENTAL:NO /debug /INCREMENTAL /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:Source\WebKit\CMakeFiles\WebKit.dir/intermediate.manifest Source\WebKit\CMakeFiles\WebKit.dir/manifest.res" failed (exit code 1) with the following output:
lld-link: error: duplicate symbol: bool __cdecl WTF::isValidEnum<enum WebCore::ShapeDetection::BarcodeFormat, void>(unsigned char)
>>> defined at C:\home\webkit\gc\WebKitBuild\Debug\WTF\Headers\wtf\EnumTraits.h:57
>>> Source\WebKit\CMakeFiles\WebKit.dir\__\__\WebKit\DerivedSources\RemoteRenderingBackendMessageReceiver.cpp.obj
>>> defined at Source\WebKit\CMakeFiles\WebKit.dir\__\__\WebKit\DerivedSources\GeneratedSerializers.cpp.obj
Pull request: https://github.com/WebKit/WebKit/pull/12899 Committed 263115@main (5ecd8455a80d): <https://commits.webkit.org/263115@main> Reviewed commits have been landed. Closing PR #12899 and removing active labels. |