<?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>151620</bug_id>
          
          <creation_ts>2015-11-26 05:35:36 -0800</creation_ts>
          <short_desc>Fix the ENABLE(B3_JIT) build with GCC in B3Procedure.h</short_desc>
          <delta_ts>2015-12-14 04:56:13 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>152248</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Csaba Osztrogonác">ossy</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>fpizlo</cc>
    
    <cc>ggaren</cc>
    
    <cc>keith_miller</cc>
    
    <cc>mark.lam</cc>
    
    <cc>msaboff</cc>
    
    <cc>ossy</cc>
    
    <cc>saam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1144493</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-11-26 05:35:36 -0800</bug_when>
    <thetext>build log:
-----------
In file included from /usr/include/c++/4.9/memory:81:0,
                 from ../../Source/WTF/wtf/StdLibExtras.h:31,
                 from ../../Source/WTF/wtf/FastMalloc.h:26,
                 from ../../Source/JavaScriptCore/config.h:54,
                 from ../../Source/JavaScriptCore/b3/B3LowerMacros.cpp:26:
/usr/include/c++/4.9/bits/unique_ptr.h: In instantiation of &apos;void std::default_delete&lt;_Tp&gt;::operator()(_Tp*) const [with _Tp = JSC::B3::OpaqueByproducts]&apos;:
/usr/include/c++/4.9/bits/unique_ptr.h:236:16:   required from &apos;std::unique_ptr&lt;_Tp, _Dp&gt;::~unique_ptr() [with _Tp = JSC::B3::OpaqueByproducts; _Dp = std::default_delete&lt;JSC::B3::OpaqueByproducts&gt;]&apos;
../../Source/JavaScriptCore/b3/B3Procedure.h:222:87:   required from here
/usr/include/c++/4.9/bits/unique_ptr.h:74:22: error: invalid application of &apos;sizeof&apos; to incomplete type &apos;JSC::B3::OpaqueByproducts&apos;
ninja: build stopped: subcommand failed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1144494</commentid>
    <comment_count>1</comment_count>
      <attachid>266180</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-11-26 05:38:40 -0800</bug_when>
    <thetext>Created attachment 266180
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1144511</commentid>
    <comment_count>2</comment_count>
      <attachid>266180</attachid>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2015-11-26 06:50:25 -0800</bug_when>
    <thetext>Comment on attachment 266180
Patch

I don&apos;t see any use of OpaqueByproducts in B3Procedure.h other than as a pointer.  Which files are failing to build without this change?  Should they be #including B3OpaqueByproducts.h themselves?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1144515</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-11-26 07:03:34 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Comment on attachment 266180 [details]
&gt; Patch
&gt; 
&gt; I don&apos;t see any use of OpaqueByproducts in B3Procedure.h other than as a
&gt; pointer.  Which files are failing to build without this change?  Should they
&gt; be #including B3OpaqueByproducts.h themselves?

I got the cited error for almost all cpp files. I don&apos;t think 
if we should include this header everywhere explicitly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1144516</commentid>
    <comment_count>4</comment_count>
      <attachid>266180</attachid>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2015-11-26 07:04:35 -0800</bug_when>
    <thetext>Comment on attachment 266180
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1144576</commentid>
    <comment_count>5</comment_count>
      <attachid>266180</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-11-27 05:01:31 -0800</bug_when>
    <thetext>Comment on attachment 266180
Patch

Clearing flags on attachment: 266180

Committed r192777: &lt;http://trac.webkit.org/changeset/192777&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1144577</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-11-27 05:01:36 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>266180</attachid>
            <date>2015-11-26 05:38:40 -0800</date>
            <delta_ts>2015-11-27 05:01:31 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-151620-20151126143822.patch</filename>
            <type>text/plain</type>
            <size>1252</size>
            <attacher name="Csaba Osztrogonác">ossy</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTkyNzcyCmRpZmYgLS1naXQgYS9Tb3VyY2UvSmF2YVNjcmlw
dENvcmUvQ2hhbmdlTG9nIGIvU291cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwppbmRleCA2
NDRkNzZiNzBkZjdhNGIyN2Q0YmI4OTVhYTg1ZTM5NWE5MWE3MDNlLi4yY2YzYzQzZTUwZmYwMmE3
Y2NlYjUwMDZiZWIzZmU1NjVmM2U2MTUyIDEwMDY0NAotLS0gYS9Tb3VyY2UvSmF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