Subject: Re: Bug#827815: libmozjs-24-0: initialization
segfaults on sparc64

On 15 Jan 2017, at 18:26, Simon McVittie <[email protected]> wrote:
> On Sun, 15 Jan 2017 at 17:06:00 +0100, John Paul Adrian Glaubitz wrote:
>> For the time being, Firefox upstream is now using the arm64 workaround on
>> sparc64
>> as well which fixed Firefox on sparc64. Firefox will be fixed on sparc64 with
>> version 53.
> Can you point those interested in this bug to a patch/commit/something that
> describes "the arm64 workaround"? Is it related to #839050?

The upstream commit is 0cb0fe7e92f6[1]. Essentially, it loops over a range of
possible addresses, trying to mmap them until it finds a free one that's big
enough. Ugly, but there's not much alternative until they fix their tagging.
Perhaps we could get this patch included in Debian, if it's not going to be
included in an upstream release soon? I see it was already NMU'ed on arm64 to
fix it there.




Programming list archiving by: Enterprise Git Hosting