Bug#579472: webkit: FTBFS on sparc
Gustavo Noronha Silva
kov at debian.org
Wed Apr 28 13:12:56 UTC 2010
On Wed, 2010-04-28 at 09:16 +0200, Mike Hommey wrote:
> 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;
That seems to do it, yeah =)
I'm not sure, but that change seems to be cross-platform safe, do we
need to ifdef it, or not?
Thanks!
--
Gustavo Noronha Silva <kov at debian.org>
Debian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-webkit-maintainers/attachments/20100428/eeab75b6/attachment.pgp>
More information about the Pkg-webkit-maintainers
mailing list