Bug#579472: webkit: FTBFS on sparc
Mike Hommey
mh at glandium.org
Wed Apr 28 07:16:40 UTC 2010
On Tue, Apr 27, 2010 at 06:03:50PM -0300, Gustavo Noronha Silva wrote:
> Package: webkit
> Severity: serious
>
> Build log:
>
> https://buildd.debian.org/fetch.cgi?&pkg=webkit&ver=1.2.0-1&arch=sparc&stamp=1270718635&file=log
>
> The problem seems to be with FastMalloc:
Try this:
diff --git a/JavaScriptCore/wtf/FastMalloc.cpp b/JavaScriptCore/wtf/FastMalloc.cpp
index e7d9efa..5979b2f 100644
--- a/JavaScriptCore/wtf/FastMalloc.cpp
+++ b/JavaScriptCore/wtf/FastMalloc.cpp
@@ -2336,7 +2336,7 @@ static TCMalloc_Central_FreeListPadded central_cache[kNumClasses];
// Page-level allocator
static SpinLock pageheap_lock = SPINLOCK_INITIALIZER;
-static void* pageheap_memory[(sizeof(TCMalloc_PageHeap) + sizeof(void*) - 1) / sizeof(void*)];
+static uint64_t pageheap_memory[(sizeof(TCMalloc_PageHeap) + sizeof(uint64_t) - 1) / sizeof(uint64_t)];
static bool phinited = false;
// Avoid extra level of indirection by making "pageheap" be just an alias
Mike
More information about the Pkg-webkit-maintainers
mailing list