<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>159264</bug_id>
          
          <creation_ts>2016-06-29 09:00:52 -0700</creation_ts>
          <short_desc>[GTK] Debug build broken with Clang</short_desc>
          <delta_ts>2016-07-20 13:20:22 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>159931</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cdumez</cc>
    
    <cc>cgarcia</cc>
    
    <cc>commit-queue</cc>
    
    <cc>jfernandez</cc>
    
    <cc>koivisto</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1206392</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-06-29 09:00:52 -0700</bug_when>
    <thetext>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: : &amp;&amp; /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  &amp;&amp; :
../../Source/WebKit2/NetworkProcess/cache/NetworkCacheSubresourcesEntry.cpp:76: error: undefined reference to &apos;WebKit::NetworkCache::Data::~Data()&apos;
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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1206395</commentid>
    <comment_count>1</comment_count>
      <attachid>282350</attachid>
    <who name="Javier Fernandez">jfernandez</who>
    <bug_when>2016-06-29 09:12:46 -0700</bug_when>
    <thetext>Created attachment 282350
Preliminary approach

This simple change seems to solve the issue, but I guess we should figure out why we need a destructor now and if that&apos;s the case, implement it properly instead of just an empty one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1211371</commentid>
    <comment_count>2</comment_count>
    <who name="Javier Fernandez">jfernandez</who>
    <bug_when>2016-07-15 02:53:48 -0700</bug_when>
    <thetext>The bug is only reproducible using clang versions above 3.5 .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1211413</commentid>
    <comment_count>3</comment_count>
    <who name="Javier Fernandez">jfernandez</who>
    <bug_when>2016-07-15 07:46:21 -0700</bug_when>
    <thetext>I&apos;m not totally sure, but perhaps bug #154885 is related to this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1212859</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-07-20 13:20:22 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 159931 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>282350</attachid>
            <date>2016-06-29 09:12:46 -0700</date>
            <delta_ts>2016-06-29 09:12:46 -0700</delta_ts>
            <desc>Preliminary approach</desc>
            <filename>patch.diff</filename>
            <type>text/plain</type>
            <size>469</size>
            <attacher name="Javier Fernandez">jfernandez</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQyL05ldHdvcmtQcm9jZXNzL2NhY2hlL05ldHdvcmtD
YWNoZURhdGEuaCBiL1NvdXJjZS9XZWJLaXQyL05ldHdvcmtQcm9jZXNzL2NhY2hlL05ldHdvcmtD
YWNoZURhdGEuaAppbmRleCAyMjU1ODk4Li40ZDhjODgxIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2Vi
S2l0Mi9OZXR3b3JrUHJvY2Vzcy9jYWNoZS9OZXR3b3JrQ2FjaGVEYXRhLmgKKysrIGIvU291cmNl
L1dlYktpdDIvTmV0d29ya1Byb2Nlc3MvY2FjaGUvTmV0d29ya0NhY2hlRGF0YS5oCkBAIC0xMDUs
NiArMTA1LDcgQEAgY2xhc3MgRGF0YSB7CiBwdWJsaWM6CiAgICAgRGF0YSgpIHsgfQogICAgIERh
dGEoY29uc3QgdWludDhfdCosIHNpemVfdCk7CisgICAgfkRhdGEoKSB7IH0KIAogICAgIHN0YXRp
YyBEYXRhIGVtcHR5KCk7CiAgICAgc3RhdGljIERhdGEgYWRvcHRNYXAodm9pZCogbWFwLCBzaXpl
X3QsIGludCBmZCk7Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>