Bug 286505
| Summary: | REGRESSION(289347@main): [Win Debug] error: duplicate symbol: public: static class WebCore::ThreadSafeDataBuffer __cdecl WTF::CrossThreadCopierBase<0, 0, class WebCore::ThreadSafeDataBuffer>::copy(class WebCore::ThreadSafeDataBuffer const &) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <fujii.hironori> |
| Component: | New Bugs | Assignee: | Fujii Hironori <fujii.hironori> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | 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=286393 | ||
Fujii Hironori
After 289347@main, Windows Debug can't link WebCore.dll.
Buildbot: builder Windows-64-bit-Debug-Build build 4416
https://build.webkit.org/#/builders/1189/builds/4416
FAILED: bin/WebCore.dll lib/WebCore.lib
C:\Windows\system32\cmd.exe /C "cd . && C:\tools\cmake\bin\cmake.exe -E vs_link_dll --msvc-ver=1942 --intdir=Source\WebCore\CMakeFiles\WebCore.dir --rc="C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\rc.exe" --mt=C:\LLVM\bin\llvm-mt.exe --manifests -- C:\LLVM\bin\lld-link.exe /nologo @CMakeFiles\WebCore.rsp /out:bin\WebCore.dll /implib:lib\WebCore.lib /pdb:bin\WebCore.pdb /dll /version:0.0 /machine:x64 /debug /INCREMENTAL /DEBUG /OPT:NOICF /OPT:REF /INCREMENTAL:NO /DELAYLOAD:d3d9.dll /DELAYLOAD:dxva2.dll /DELAYLOAD:evr.dll /DELAYLOAD:mf.dll /DELAYLOAD:mfplat.dll && cd ."
LINK: command "C:\LLVM\bin\lld-link.exe /nologo @CMakeFiles\WebCore.rsp /out:bin\WebCore.dll /implib:lib\WebCore.lib /pdb:bin\WebCore.pdb /dll /version:0.0 /machine:x64 /debug /INCREMENTAL /DEBUG /OPT:NOICF /OPT:REF /INCREMENTAL:NO /DELAYLOAD:d3d9.dll /DELAYLOAD:dxva2.dll /DELAYLOAD:evr.dll /DELAYLOAD:mf.dll /DELAYLOAD:mfplat.dll /MANIFEST:EMBED,ID=2" failed (exit code 1) with the following output:
lld-link: error: duplicate symbol: public: static class WebCore::ThreadSafeDataBuffer __cdecl WTF::CrossThreadCopierBase<0, 0, class WebCore::ThreadSafeDataBuffer>::copy(class WebCore::ThreadSafeDataBuffer const &)
>>> defined at C:\BW\Windows-64-bit-Debug-Build\build\WebKitBuild\Debug\WTF\Headers\wtf\CrossThreadCopier.h:96
>>> Source\WebCore\CMakeFiles\WebCore.dir\__\__\WebCore\DerivedSources\unified-sources\UnifiedSource-f8afad56-19.cpp.obj
>>> defined at Source\WebCore\CMakeFiles\WebCore.dir\__\__\WebCore\DerivedSources\unified-sources\UnifiedSource-3c72abbe-13.cpp.obj
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Fujii Hironori
Pull request: https://github.com/WebKit/WebKit-security/pull/78
Fujii Hironori
Pull request: https://github.com/WebKit/WebKit/pull/39579
EWS
Committed 289443@main (31fe560790f4): <https://commits.webkit.org/289443@main>
Reviewed commits have been landed. Closing PR #39579 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/143755325>