Bug 230064 - REGRESSION(r282115): undefined reference to `IPC::messageArgumentDescriptions(IPC::MessageName)' in Debug build
Summary: REGRESSION(r282115): undefined reference to `IPC::messageArgumentDescriptions...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Fujii Hironori
URL:
Keywords: InRadar
Depends on: 229664
Blocks: 230081
  Show dependency treegraph
 
Reported: 2021-09-08 14:03 PDT by Fujii Hironori
Modified: 2021-09-08 21:27 PDT (History)
3 users (show)

See Also:


Attachments
WIP patch (2.28 KB, patch)
2021-09-08 14:42 PDT, Fujii Hironori
no flags Details | Formatted Diff | Diff
Patch (2.60 KB, patch)
2021-09-08 15:12 PDT, Fujii Hironori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2021-09-08 14:03:14 PDT
WinCairo and WPE Debug are failing to link WebKit library since r282115. 

Buildbot: builder WinCairo-64-bit-WKL-Debug-Build build 6912
https://build.webkit.org/#/builders/38/builds/6912

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.17763.0\x64\rc.exe" --mt="C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\mt.exe" --manifests  -- C:\MSVS\VC\Tools\MSVC\14.28.29910\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  /DELAYLOAD:d3d9.dll /DELAYLOAD:dxva2.dll /DELAYLOAD:evr.dll /DELAYLOAD:mf.dll /DELAYLOAD:mfplat.dll  && cd ."
LINK Pass 1: command "C:\MSVS\VC\Tools\MSVC\14.28.29910\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 /DELAYLOAD:d3d9.dll /DELAYLOAD:dxva2.dll /DELAYLOAD:evr.dll /DELAYLOAD:mf.dll /DELAYLOAD:mfplat.dll /MANIFEST /MANIFESTFILE:Source\WebKit\CMakeFiles\WebKit.dir/intermediate.manifest Source\WebKit\CMakeFiles\WebKit.dir/manifest.res" failed (exit code 1120) with the following output:
   Creating library lib64\WebKit2.lib and object lib64\WebKit2.exp
UnifiedSource-3a52ce78-1.cpp.obj : error LNK2001: unresolved external symbol "class std::optional<class WTF::Vector<struct IPC::ArgumentDescription,0,class WTF::CrashOnOverflow,16,struct WTF::FastMalloc> > __cdecl IPC::messageArgumentDescriptions(enum IPC::MessageName)" (?messageArgumentDescriptions@IPC@@YA?AV?$optional@V?$Vector@UArgumentDescription@IPC@@$0A@VCrashOnOverflow@WTF@@$0BA@UFastMalloc@4@@WTF@@@std@@W4MessageName@1@@Z)
UnifiedSource-3a52ce78-2.cpp.obj : error LNK2001: unresolved external symbol "class std::optional<class WTF::Vector<struct IPC::ArgumentDescription,0,class WTF::CrashOnOverflow,16,struct WTF::FastMalloc> > __cdecl IPC::messageArgumentDescriptions(enum IPC::MessageName)" (?messageArgumentDescriptions@IPC@@YA?AV?$optional@V?$Vector@UArgumentDescription@IPC@@$0A@VCrashOnOverflow@WTF@@$0BA@UFastMalloc@4@@WTF@@@std@@W4MessageName@1@@Z)
UnifiedSource-88d1702b-2.cpp.obj : error LNK2001: unresolved external symbol "class std::optional<class WTF::Vector<struct IPC::ArgumentDescription,0,class WTF::CrashOnOverflow,16,struct WTF::FastMalloc> > __cdecl IPC::messageArgumentDescriptions(enum IPC::MessageName)" (?messageArgumentDescriptions@IPC@@YA?AV?$optional@V?$Vector@UArgumentDescription@IPC@@$0A@VCrashOnOverflow@WTF@@$0BA@UFastMalloc@4@@WTF@@@std@@W4MessageName@1@@Z)
EventDispatcherMessageReceiver.cpp.obj : error LNK2001: unresolved external symbol "class std::optional<class WTF::Vector<struct IPC::ArgumentDescription,0,class WTF::CrashOnOverflow,16,struct WTF::FastMalloc> > __cdecl IPC::messageArgumentDescriptions(enum IPC::MessageName)" (?messageArgumentDescriptions@IPC@@YA?AV?$optional@V?$Vector@UArgumentDescription@IPC@@$0A@VCrashOnOverflow@WTF@@$0BA@UFastMalloc@4@@WTF@@@std@@W4MessageName@1@@Z)
VisitedLinkTableControllerMessageReceiver.cpp.obj : error LNK2001: unresolved external symbol "class std::optional<class WTF::Vector<struct IPC::ArgumentDescription,0,class WTF::CrashOnOverflow,16,struct WTF::FastMalloc> > __cdecl IPC::messageArgumentDescriptions(enum IPC::MessageName)" (?messageArgumentDescriptions@IPC@@YA?AV?$optional@V?$Vector@UArgumentDescription@IPC@@$0A@VCrashOnOverflow@WTF@@$0BA@UFastMalloc@4@@WTF@@@std@@W4MessageName@1@@Z)
WebPageMessageReceiver.cpp.obj : error LNK2001: unresolved external symbol "class std::optional<class WTF::Vector<struct IPC::ArgumentDescription,0,class WTF::CrashOnOverflow,16,struct WTF::FastMalloc> > __cdecl IPC::messageArgumentDescriptions(enum IPC::MessageName)" (?messageArgumentDescriptions@IPC@@YA?AV?$optional@V?$Vector@UArgumentDescription@IPC@@$0A@VCrashOnOverflow@WTF@@$0BA@UFastMalloc@4@@WTF@@@std@@W4MessageName@1@@Z)
StorageAreaMapMessageReceiver.cpp.obj : error LNK2001: unresolved external symbol "class std::optional<class WTF::Vector<struct IPC::ArgumentDescription,0,class WTF::CrashOnOverflow,16,struct WTF::FastMalloc> > __cdecl IPC::messageArgumentDescriptions(enum IPC::MessageName)" (?messageArgumentDescriptions@IPC@@YA?AV?$optional@V?$Vector@UArgumentDescription@IPC@@$0A@VCrashOnOverflow@WTF@@$0BA@UFastMalloc@4@@WTF@@@std@@W4MessageName@1@@Z)
(...)
bin64\WebKit2.dll : fatal error LNK1120: 2 unresolved externals
ninja: build stopped: subcommand failed.

Buildbot: builder WPE-Linux-64-bit-Debug-Build build 4463
https://build.webkit.org/#/builders/66/builds/4463

/usr/lib/gcc/x86_64-unknown-linux-gnu/10.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld: /app/webkit/WebKitBuild/Debug/lib/libWPEWebKit-1.1.so: undefined reference to `IPC::messageReplyArgumentDescriptions(IPC::MessageName)'
/usr/lib/gcc/x86_64-unknown-linux-gnu/10.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld: /app/webkit/WebKitBuild/Debug/lib/libWPEWebKit-1.1.so: undefined reference to `IPC::messageArgumentDescriptions(IPC::MessageName)'
Comment 1 Fujii Hironori 2021-09-08 14:42:18 PDT
Created attachment 437666 [details]
WIP patch

This WIP patch doesn't fix the all build problems.
I have to solve the problem of Bug 217688.
Comment 2 Fujii Hironori 2021-09-08 15:12:10 PDT
Created attachment 437667 [details]
Patch
Comment 3 Fujii Hironori 2021-09-08 15:54:53 PDT
Committed r282177 (241469@main): <https://commits.webkit.org/241469@main>
Comment 4 Radar WebKit Bug Importer 2021-09-08 15:55:23 PDT
<rdar://problem/82896115>