<?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>145113</bug_id>
          
          <creation_ts>2015-05-17 19:00:02 -0700</creation_ts>
          <short_desc>Source/WTF/wtf/Platform.h: use _ABI64 instead of _MIPS_SIM_ABI64 for mips N64</short_desc>
          <delta_ts>2015-06-22 23:34:07 -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>Platform</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>1</everconfirmed>
          <reporter name="YunQiang Su">wzssyqa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>cgarcia</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>commit-queue</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1095537</commentid>
    <comment_count>0</comment_count>
    <who name="YunQiang Su">wzssyqa</who>
    <bug_when>2015-05-17 19:00:02 -0700</bug_when>
    <thetext>Index: webkit2gtk-2.8.1+dfsg1/Source/WTF/wtf/Platform.h
===================================================================
--- webkit2gtk-2.8.1+dfsg1.orig/Source/WTF/wtf/Platform.h       2015-05-03 00:05:21.000000000 +0800
+++ webkit2gtk-2.8.1+dfsg1/Source/WTF/wtf/Platform.h    2015-05-04 00:30:23.858545576 +0800
@@ -82,7 +82,7 @@

 /* CPU(MIPS) - MIPS 32-bit and 64-bit */
 #if (defined(mips) || defined(__mips__) || defined(MIPS) || defined(_MIPS_) || defined(__mips64))
-#if defined(_MIPS_SIM_ABI64) &amp;&amp; (_MIPS_SIM == _MIPS_SIM_ABI64)
+#if defined(_ABI64) &amp;&amp; (_MIPS_SIM == _ABI64)
 #define WTF_CPU_MIPS64 1
 #define WTF_MIPS_ARCH __mips64
 #else


Please replace _MIPS_SIM_ABI64 with _ABI64, as _ABI64 is much more widely used,
and is defined by compilers, while 
_MIPS_SIM_ABI64 is only defined by glibc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103778</commentid>
    <comment_count>1</comment_count>
    <who name="YunQiang Su">wzssyqa</who>
    <bug_when>2015-06-22 00:50:23 -0700</bug_when>
    <thetext>Any one worked on this ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103780</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-06-22 00:52:35 -0700</bug_when>
    <thetext>I don&apos;t think if anyone maintains MIPS specific code paths.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103782</commentid>
    <comment_count>3</comment_count>
    <who name="YunQiang Su">wzssyqa</who>
    <bug_when>2015-06-22 00:56:43 -0700</bug_when>
    <thetext>OK.
Can you help to commit this patch?

We tested this patch. It works well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103784</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-06-22 01:01:19 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; OK.
&gt; Can you help to commit this patch?
&gt; 
&gt; We tested this patch. It works well.

Please upload the patch for review (for trunk WebKit) 
with the necessary changelog entry. And then I can
review and commit it to WebKit trunk and Carlos can
land it to the GTK release branch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103885</commentid>
    <comment_count>5</comment_count>
      <attachid>255357</attachid>
    <who name="YunQiang Su">wzssyqa</who>
    <bug_when>2015-06-22 11:44:57 -0700</bug_when>
    <thetext>Created attachment 255357
Use _ABI64 instead of _MIPS_SIM_ABI64 to determine MIPS N64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1104037</commentid>
    <comment_count>6</comment_count>
      <attachid>255357</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-06-22 23:30:57 -0700</bug_when>
    <thetext>Comment on attachment 255357
Use _ABI64 instead of _MIPS_SIM_ABI64 to determine MIPS N64

r=me, but will land manually because of missing &quot;Reviewed by nobody&quot; line.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1104038</commentid>
    <comment_count>7</comment_count>
      <attachid>255357</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-06-22 23:32:10 -0700</bug_when>
    <thetext>Comment on attachment 255357
Use _ABI64 instead of _MIPS_SIM_ABI64 to determine MIPS N64

View in context: https://bugs.webkit.org/attachment.cgi?id=255357&amp;action=review

&gt; ChangeLog:5
&gt; +2015-06-22  YunQiang Su  &lt;wzssyqa@gmail.com&gt;
&gt; +
&gt; +        [WTF] Platform.h: use _ABI64 instead of _MIPS_SIM_ABI64 to determine MIPS N64
&gt; +        https://bugs.webkit.org/show_bug.cgi?id=145113
&gt; +

It should be in Source/WTF/ChangeLog.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1104039</commentid>
    <comment_count>8</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-06-22 23:34:07 -0700</bug_when>
    <thetext>Committed r185863: &lt;http://trac.webkit.org/changeset/185863&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>255357</attachid>
            <date>2015-06-22 11:44:57 -0700</date>
            <delta_ts>2015-06-22 23:30:57 -0700</delta_ts>
            <desc>Use _ABI64 instead of _MIPS_SIM_ABI64 to determine MIPS N64</desc>
            <filename>mips_ABI64_145113.diff</filename>
            <type>text/plain</type>
            <size>926</size>
            <attacher name="YunQiang Su">wzssyqa</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0NoYW5nZUxvZyBiL0NoYW5nZUxvZwppbmRleCBkZTA2ODBlLi5hOWE5ODhi
IDEwMDY0NAotLS0gYS9DaGFuZ2VMb2cKKysrIGIvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsOCBAQAor
MjAxNS0wNi0yMiAgWXVuUWlhbmcgU3UgIDx3enNzeXFhQGdtYWlsLmNvbT4KKworICAgICAgICBb
V1RGXSBQbGF0Zm9ybS5oOiB1c2UgX0FCSTY0IGluc3RlYWQgb2YgX01JUFNfU0lNX0FCSTY0IHRv
IGRldGVybWluZSBNSVBTIE42NAorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93
X2J1Zy5jZ2k/aWQ9MTQ1MTEzCisKIDIwMTUtMDYtMjIgIFphbiBEb2JlcnNlayAgPHpkb2JlcnNl
a0BpZ2FsaWEuY29tPgogCiAgICAgICAgIFtDTWFrZV0gQWRkIHN1cHBvcnQgZm9yIGJ1aWxkaW5n
IHdpdGggdmFyaW91cyBzYW5pdGl6ZXIgdG9vbHMKZGlmZiAtLWdpdCBhL1NvdXJjZS9XVEYvd3Rm
L1BsYXRmb3JtLmggYi9Tb3VyY2UvV1RGL3d0Zi9QbGF0Zm9ybS5oCmluZGV4IGMyMzRmNTAuLmI1
ZTk4NTkgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9XVEYvd3RmL1BsYXRmb3JtLmgKKysrIGIvU291cmNl
L1dURi93dGYvUGxhdGZvcm0uaApAQCAtODIsNyArODIsNyBAQAogCiAvKiBDUFUoTUlQUykgLSBN
SVBTIDMyLWJpdCBhbmQgNjQtYml0ICovCiAjaWYgKGRlZmluZWQobWlwcykgfHwgZGVmaW5lZChf
X21pcHNfXykgfHwgZGVmaW5lZChNSVBTKSB8fCBkZWZpbmVkKF9NSVBTXykgfHwgZGVmaW5lZChf
X21pcHM2NCkpCi0jaWYgZGVmaW5lZChfTUlQU19TSU1fQUJJNjQpICYmIChfTUlQU19TSU0gPT0g
X01JUFNfU0lNX0FCSTY0KQorI2lmIGRlZmluZWQoX0FCSTY0KSAmJiAoX01JUFNfU0lNID09IF9B
Qkk2NCkKICNkZWZpbmUgV1RGX0NQVV9NSVBTNjQgMQogI2RlZmluZSBXVEZfTUlQU19BUkNIIF9f
bWlwczY0CiAjZWxzZQo=
</data>
<flag name="review"
          id="280449"
          type_id="1"
          status="+"
          setter="ossy"
    />
    <flag name="commit-queue"
          id="280450"
          type_id="3"
          status="-"
          setter="ossy"
    />
          </attachment>
      

    </bug>

</bugzilla>