Trying to do a debug build of WebKitGTK+ (on r202623) with Clang and I get this build error:
[5825/6148] Linking CXX shared library lib/libwebkit2gtk-4.0.so.37.14.1
FAILED: : && /usr/bin/clang++ -fPIC -Wno-error -std=c++1y -fcolor-diagnostics -gsplit-dwarf -Qunused-arguments -g -Wl,--no-undefined -L/home/clopez/webkit/webkit/WebKitBuild/DependenciesGTK/Root/lib -fuse-ld=gold -Wl,--disable-new-dtags -Wl,--gdb-index -Wl,--gdb-index -shared -Wl,-soname,libwebkit2gtk-4.0.so.37 -o lib/libwebkit2gtk-4.0.so.37.14.1 @CMakeFiles/WebKit2.rsp && :
../../Source/WebKit2/NetworkProcess/cache/NetworkCacheSubresourcesEntry.cpp:76: error: undefined reference to 'WebKit::NetworkCache::Data::~Data()'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
However, the same build with GCC (gcc-4.9) works.
Created attachment 282350 [details]
This simple change seems to solve the issue, but I guess we should figure out why we need a destructor now and if that's the case, implement it properly instead of just an empty one.
The bug is only reproducible using clang versions above 3.5 .
I'm not totally sure, but perhaps bug #154885 is related to this one.
*** This bug has been marked as a duplicate of bug 159931 ***