Bug 35429

Summary: Fail to build on 64-bit sparc
Product: WebKit Reporter: Aurelien Jarno <aurelien>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Linux   
Attachments:
Description Flags
Proposed patch to fix compilation on sparc64 none

Description Aurelien Jarno 2010-02-26 05:40:55 PST
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) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64)
-#if (PLATFORM(X86_64) && (PLATFORM(UNIX) || PLATFORM(WIN_OS))) || PLATFORM(IA64) || PLATFORM(ALPHA)
+#if (PLATFORM(X86_64) && (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
Comment 1 Alexey Proskuryakov 2010-02-26 19:36:02 PST
See also: bug 35326. 

Would you be willing to submit a patch for review, as documented in
<http://webkit.org/coding/contributing.html>?
Comment 2 Tom Callaway 2010-03-18 14:10:33 PDT
Created attachment 51090 [details]
Proposed patch to fix compilation on sparc64
Comment 3 WebKit Commit Bot 2010-03-18 23:29:27 PDT
Comment on attachment 51090 [details]
Proposed patch to fix compilation on sparc64

Clearing flags on attachment: 51090

Committed r56215: <http://trac.webkit.org/changeset/56215>
Comment 4 WebKit Commit Bot 2010-03-18 23:29:31 PDT
All reviewed patches have been landed.  Closing bug.