<?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>35429</bug_id>
          
          <creation_ts>2010-02-26 05:40:55 -0800</creation_ts>
          <short_desc>Fail to build on 64-bit sparc</short_desc>
          <delta_ts>2010-03-18 23:29:31 -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="Aurelien Jarno">aurelien</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>194066</commentid>
    <comment_count>0</comment_count>
    <who name="Aurelien Jarno">aurelien</who>
    <bug_when>2010-02-26 05:40:55 -0800</bug_when>
    <thetext>webkit fails to build on 64-bit sparc. It needs a small tweak in the Platform.h file:

--- a/src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h
+++ b/src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h
@@ -740,7 +740,7 @@
 #endif

 #if !defined(WTF_USE_JSVALUE64) &amp;&amp; !defined(WTF_USE_JSVALUE32) &amp;&amp; !defined(WTF_USE_JSVALUE32_64)
-#if (PLATFORM(X86_64) &amp;&amp; (PLATFORM(UNIX) || PLATFORM(WIN_OS))) || PLATFORM(IA64) || PLATFORM(ALPHA)
+#if (PLATFORM(X86_64) &amp;&amp; (PLATFORM(UNIX) || PLATFORM(WIN_OS))) || PLATFORM(IA64) || PLATFORM(ALPHA) || PLATFORM(SPARC64)
 #define WTF_USE_JSVALUE64 1
 #elif PLATFORM(ARM) || PLATFORM(PPC64)
 #define WTF_USE_JSVALUE32 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>194411</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-02-26 19:36:02 -0800</bug_when>
    <thetext>See also: bug 35326. 

Would you be willing to submit a patch for review, as documented in
&lt;http://webkit.org/coding/contributing.html&gt;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201551</commentid>
    <comment_count>2</comment_count>
      <attachid>51090</attachid>
    <who name="Tom Callaway">tcallawa</who>
    <bug_when>2010-03-18 14:10:33 -0700</bug_when>
    <thetext>Created attachment 51090
Proposed patch to fix compilation on sparc64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201723</commentid>
    <comment_count>3</comment_count>
      <attachid>51090</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-03-18 23:29:27 -0700</bug_when>
    <thetext>Comment on attachment 51090
Proposed patch to fix compilation on sparc64

Clearing flags on attachment: 51090

Committed r56215: &lt;http://trac.webkit.org/changeset/56215&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201724</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-03-18 23:29:31 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>51090</attachid>
            <date>2010-03-18 14:10:33 -0700</date>
            <delta_ts>2010-03-18 23:29:27 -0700</delta_ts>
            <desc>Proposed patch to fix compilation on sparc64</desc>
            <filename>webkit-fix-sparc64.patch</filename>
            <type>text/plain</type>
            <size>1163</size>
            <attacher name="Tom Callaway">tcallawa</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBKYXZhU2NyaXB0
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDU2MTg5KQorKysgSmF2YVNjcmlwdENvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTIgQEAKKzIwMTAtMDMtMTggIFRvbSBDYWxs
YXdheSAgPHRjYWxsYXdhQHJlZGhhdC5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZ
IChPT1BTISkuCisKKyAgICAgICAgQnVnIDM1NDI5OiBGaXggY29tcGlsZSBvbiBTUEFSQzY0Cisg
ICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0zNTQyOQorCisg
ICAgICAgICogd3RmL1BsYXRmb3JtLmg6IFNldCBXVEZfVVNFX0pTVkFMVUU2NCBmb3IgU1BBUkM2
NAorCiAyMDEwLTAzLTE4ICBPbGl2ZXIgSHVudCAgPG9saXZlckBhcHBsZS5jb20+CiAKICAgICAg
ICAgUmV2aWV3ZWQgYnkgU2FtIFdlaW5pZy4KSW5kZXg6IEphdmFTY3JpcHRDb3JlL3d0Zi9QbGF0
Zm9ybS5oCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT0KLS0tIEphdmFTY3JpcHRDb3JlL3d0Zi9QbGF0Zm9ybS5oCShyZXZp
c2lvbiA1NjE1OCkKKysrIEphdmFTY3JpcHRDb3JlL3d0Zi9QbGF0Zm9ybS5oCSh3b3JraW5nIGNv
cHkpCkBAIC04NjAsNy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