<?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>59927</bug_id>
          
          <creation_ts>2011-05-02 04:52:43 -0700</creation_ts>
          <short_desc>[SH4] AssemblerLabel does not name a type</short_desc>
          <delta_ts>2011-05-26 14:59:49 -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>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</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>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="thouraya">thouraya.andolsi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ademar</cc>
    
    <cc>barraclough</cc>
    
    <cc>commit-queue</cc>
    
    <cc>darin</cc>
    
    <cc>eric</cc>
    
    <cc>ggaren</cc>
    
    <cc>oliver</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>396330</commentid>
    <comment_count>0</comment_count>
    <who name="thouraya">thouraya.andolsi</who>
    <bug_when>2011-05-02 04:52:43 -0700</bug_when>
    <thetext>Hello,

Updating webkit, I have got the following error : error: AssemblerLabel does not name a type.

The issue is caused by the work done to Use AssemblerLabel throughout Assembler classes.

To fix the problem, I have to change the define order inf MacroAssemblerSH4.h as follow

#include &quot;SH4Assembler.h&quot;
#include &quot;AbstractMacroAssembler.h&quot;

But I&apos;ll get a webkit style problem :Alphabetical sorting problem.  [build/include_order] [4]


I have another solution which is to add:

# inculde AbstractMacroAssembler.h in AbstractMacroAssembler.h

What do you suggest as a solution? I&apos;m preparing  a patch.

I think there is the same issue in MIPS platforms.

Regards,
Thouraya</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>396338</commentid>
    <comment_count>1</comment_count>
      <attachid>91912</attachid>
    <who name="thouraya">thouraya.andolsi</who>
    <bug_when>2011-05-02 05:16:24 -0700</bug_when>
    <thetext>Created attachment 91912
fix issue</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>396339</commentid>
    <comment_count>2</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-05-02 05:17:30 -0700</bug_when>
    <thetext>Attachment 91912 did not pass style-queue:

Failed to run &quot;[&apos;Tools/Scripts/check-webkit-style&apos;, &apos;--diff-files&apos;, u&apos;Source/JavaScriptCore/ChangeLog&apos;, u&apos;Source...&quot; exit_code: 1

Source/JavaScriptCore/assembler/MacroAssemblerSH4.h:33:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>397105</commentid>
    <comment_count>3</comment_count>
    <who name="thouraya">thouraya.andolsi</who>
    <bug_when>2011-05-03 09:04:04 -0700</bug_when>
    <thetext>Hello,

Any update ?

Regards.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402600</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-05-11 20:32:50 -0700</bug_when>
    <thetext>There is a similar fix to this posted for MIPS somewher ein bugzilla.  Why do these headers have an ordering dependency?  That seems like the real bug!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402734</commentid>
    <comment_count>5</comment_count>
    <who name="thouraya">thouraya.andolsi</who>
    <bug_when>2011-05-12 00:47:46 -0700</bug_when>
    <thetext>
(In reply to comment #4)
&gt; There is a similar fix to this posted for MIPS somewher ein bugzilla.  Why do these headers have an ordering dependency?  That seems like the real bug!


Hello,

because AbstractMacroAssembler class needs AssemblerLabel struct which is defined in AssemblerBuffer.h file.

Or AssemblerBuffer.h is included in &quot;SH4Assembler.h&quot; and not in AbstractMacroAssembler.h.


Regards,
Thouraya.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>404946</commentid>
    <comment_count>6</comment_count>
      <attachid>91912</attachid>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2011-05-16 23:10:08 -0700</bug_when>
    <thetext>Comment on attachment 91912
fix issue

sorry! - tried to keep everything working :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>407933</commentid>
    <comment_count>7</comment_count>
    <who name="thouraya">thouraya.andolsi</who>
    <bug_when>2011-05-23 06:40:50 -0700</bug_when>
    <thetext>Hello

The patch was reviewed more than one week ago but it&apos;s not yet added to commit queue?


Rgards,
Thouraya.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>407963</commentid>
    <comment_count>8</comment_count>
      <attachid>91912</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-05-23 07:31:31 -0700</bug_when>
    <thetext>Comment on attachment 91912
fix issue

You may want to set cq? To convey your desire.  Why do we need to missort the headers like this? Can&apos;t We include the needed header in the other header?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>407975</commentid>
    <comment_count>9</comment_count>
      <attachid>94428</attachid>
    <who name="thouraya">thouraya.andolsi</who>
    <bug_when>2011-05-23 08:05:13 -0700</bug_when>
    <thetext>Created attachment 94428
fix issue</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408004</commentid>
    <comment_count>10</comment_count>
      <attachid>94428</attachid>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2011-05-23 09:09:53 -0700</bug_when>
    <thetext>Comment on attachment 94428
fix issue

Why do you need this change?  no other platforms require AssemblerBuffer to be included in this way.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408005</commentid>
    <comment_count>11</comment_count>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2011-05-23 09:11:53 -0700</bug_when>
    <thetext>(In reply to comment #10)
&gt; (From update of attachment 94428 [details])
&gt; Why do you need this change?  no other platforms require AssemblerBuffer to be included in this way.

Oh i see, eric is making a bad suggestion for the world of jsc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408007</commentid>
    <comment_count>12</comment_count>
    <who name="thouraya">thouraya.andolsi</who>
    <bug_when>2011-05-23 09:13:40 -0700</bug_when>
    <thetext>Hello,


(In reply to comment #10)
&gt; (From update of attachment 94428 [details])
&gt; Why do you need this change?  no other platforms require AssemblerBuffer to be included in this way.

MIPS requires changes: they suggested the same solution which is to swap the 2 include files and it was accepted in Bug 60283



Regards,
Thouraya.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408008</commentid>
    <comment_count>13</comment_count>
      <attachid>91912</attachid>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2011-05-23 09:14:09 -0700</bug_when>
    <thetext>Comment on attachment 91912
fix issue

Just set cq? on patches f you are unable to commit yourself.   Otherwise reviewers have no indication as to whether they should be using the commit bot or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408009</commentid>
    <comment_count>14</comment_count>
      <attachid>91912</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-05-23 09:40:20 -0700</bug_when>
    <thetext>Comment on attachment 91912
fix issue

Clearing flags on attachment: 91912

Committed r87076: &lt;http://trac.webkit.org/changeset/87076&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408010</commentid>
    <comment_count>15</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-05-23 09:40:26 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408011</commentid>
    <comment_count>16</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-05-23 09:41:30 -0700</bug_when>
    <thetext>This is not good. In our project we strive to not create includes that have to be included in a certain order. Each header file is supposed to include everything it depends on. Check-ins like this one go against that basic WebKit design principle.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>410413</commentid>
    <comment_count>17</comment_count>
    <who name="Ademar Reis">ademar</who>
    <bug_when>2011-05-26 07:21:46 -0700</bug_when>
    <thetext>(In reply to comment #16)
&gt; This is not good. In our project we strive to not create includes that have to be included in a certain order. Each header file is supposed to include everything it depends on. Check-ins like this one go against that basic WebKit design principle.

Any plans on fixing it any other way? (I don&apos;t have access to a SH4 environment to test)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>410756</commentid>
    <comment_count>18</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-05-26 12:54:46 -0700</bug_when>
    <thetext>This patch was already landed, so it should be fixed.

I do think someone should fix it another way.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>410882</commentid>
    <comment_count>19</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-05-26 14:59:49 -0700</bug_when>
    <thetext>There were a flurry of these patches for all the various ports.  This was a recent regression caused by some other Assembler refactor.  I never tracked down the change, but I would suspect that Gavin or Oliver or Geoff would know what change it might be.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>91912</attachid>
            <date>2011-05-02 05:16:24 -0700</date>
            <delta_ts>2011-05-23 09:40:20 -0700</delta_ts>
            <desc>fix issue</desc>
            <filename>0090-AssemblerLabel-does-not-name-a-type-issue.patch</filename>
            <type>text/plain</type>
            <size>1516</size>
            <attacher name="thouraya">thouraya.andolsi</attacher>
            
              <data encoding="base64">RnJvbSBkMTAxMzQwMDZlOTA5M2QwZTM3OWZhYWZmYjY2ZTMwOTU1NjQ0ODZiIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBUaG91cmF5YSBBTkRPTFNJ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2VtYmxlci5oLgorCisgICAgICAg
ICogYXNzZW1ibGVyL01hY3JvQXNzZW1ibGVyU0g0Lmg6CisKIDIwMTEtMDUtMDIgIEdhYm9yIExv
a2kgIDxsb2tpQHdlYmtpdC5vcmc+CiAKICAgICAgICAgQnVpbGRmaXggZm9yIEFSTSBhZnRlciBy
ODU0NDgKZGlmZiAtLWdpdCBhL1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9hc3NlbWJsZXIvTWFjcm9B
c3NlbWJsZXJTSDQuaCBiL1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9hc3NlbWJsZXIvTWFjcm9Bc3Nl
bWJsZXJTSDQuaAppbmRleCA1ZWY3YjIwLi45MDM2ZjBmIDEwMDY0NAotLS0gYS9Tb3VyY2UvSmF2
YVNjcmlwdENvcmUvYXNzZW1ibGVyL01hY3JvQXNzZW1ibGVyU0g0LmgKKysrIGIvU291cmNlL0ph
dmFTY3JpcHRDb3JlL2Fzc2VtYmxlci9NYWNyb0Fzc2VtYmxlclNINC5oCkBAIC0yOSw4ICsyOSw4
IEBACiAKICNpZiBFTkFCTEUoQVNTRU1CTEVSKSAmJiBDUFUoU0g0KQogCi0jaW5jbHVkZSAiQWJz
dHJhY3RNYWNyb0Fzc2VtYmxlci5oIgogI2luY2x1ZGUgIlNINEFzc2VtYmxlci5oIgorI2luY2x1
ZGUgIkFic3RyYWN0TWFjcm9Bc3NlbWJsZXIuaCIKICNpbmNsdWRlIDx3dGYvQXNzZXJ0aW9ucy5o
PgogCiBuYW1lc3BhY2UgSlNDIHsKLS0gCjEuNy4yLjMKCg==
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>94428</attachid>
            <date>2011-05-23 08:05:13 -0700</date>
            <delta_ts>2011-05-23 09:09:53 -0700</delta_ts>
            <desc>fix issue</desc>
            <filename>AssemblerLabel-does-not-name-a-type.patch</filename>
            <type>text/plain</type>
            <size>1429</size>
            <attacher name="thouraya">thouraya.andol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ud2Via2l0Lm9yZy9zaG93X2J1
Zy5jZ2k/aWQ9NTk5MjcKKworICAgICAgICAqIGFzc2VtYmxlci9BYnN0cmFjdE1hY3JvQXNzZW1i
bGVyLmg6CisKIDIwMTEtMDUtMjMgIFJ5dWFuIENob2kgIDxyeXVhbi5jaG9pQHNhbXN1bmcuY29t
PgogCiAgICAgICAgIFJ1YmJlciBzdGFtcGVkIGJ5IEVyaWMgU2VpZGVsLgpkaWZmIC0tZ2l0IGEv
U291cmNlL0phdmFTY3JpcHRDb3JlL2Fzc2VtYmxlci9BYnN0cmFjdE1hY3JvQXNzZW1ibGVyLmgg
Yi9Tb3VyY2UvSmF2YVNjcmlwdENvcmUvYXNzZW1ibGVyL0Fic3RyYWN0TWFjcm9Bc3NlbWJsZXIu
aAppbmRleCA1ZDdjNmU5Li40OWJlNzhmIDEwMDY0NAotLS0gYS9Tb3VyY2UvSmF2YVNjcmlwdENv
cmUvYXNzZW1ibGVyL0Fic3RyYWN0TWFjcm9Bc3NlbWJsZXIuaAorKysgYi9Tb3VyY2UvSmF2YVNj
cmlwdENvcmUvYXNzZW1ibGVyL0Fic3RyYWN0TWFjcm9Bc3NlbWJsZXIuaApAQCAtMjgsNiArMjgs
NyBAQAogCiAjaW5jbHVkZSAiQ29kZUxvY2F0aW9uLmgiCiAjaW5jbHVkZSAiTWFjcm9Bc3NlbWJs
ZXJDb2RlUmVmLmgiCisjaW5jbHVkZSA8QXNzZW1ibGVyQnVmZmVyLmg+CiAjaW5jbHVkZSA8d3Rm
L05vbmNvcHlhYmxlLmg+CiAjaW5jbHVkZSA8d3RmL1VudXNlZFBhcmFtLmg+CiAKLS0gCjEuNy4y
LjMKCg==
</data>
<flag name="review"
          id="87728"
          type_id="1"
          status="-"
          setter="oliver"
    />
          </attachment>
      

    </bug>

</bugzilla>