RESOLVED FIXED286505
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 &)
https://bugs.webkit.org/show_bug.cgi?id=286505
Summary REGRESSION(289347@main): [Win Debug] error: duplicate symbol: public: static ...
Fujii Hironori
Reported 2025-01-24 14:08:38 PST
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
Fujii Hironori
Comment 1 2025-01-26 17:55:20 PST
Fujii Hironori
Comment 2 2025-01-26 18:00:35 PST
EWS
Comment 3 2025-01-28 05:57:51 PST
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
Comment 4 2025-01-28 05:58:14 PST
Note You need to log in before you can comment on or make changes to this bug.