Commit graph

5 commits

Author SHA1 Message Date
joerg
ef114fa03e Newer GCC and clang decided that global asm shouldn't be volatile. 2020-04-13 19:19:37 +00:00
jperkin
1e893164d1 spidermonkey185: Fix SunOS/x86_64 mmap handling.
The previous MAP_32BIT workaround was insufficient, SpiderMonkey still makes
certain assumptions about memory layout, requiring that the high 17 bits are
clear.  This was most noticeable with couchdb's couchjs process that would
reliably segfault.

Instead, apply a mixture of Debian and upstream patches to implement their
ia64 workaround on SunOS/x86_64, utilising both a fixed mmap range and
disabling static strings to workaround this issue.

Tested with the couchdb test suite which now runs to completion.

Bump PKGREVISION.
2018-05-02 12:42:50 +00:00
jperkin
d5cad60282 spidermonkey185: Fix build on SunOS 64-bit.
SpiderMonkey makes assumptions about memory layout that break in a 64-bit SunOS
environment, so limit mmap() to the lower 32-bit address space.  Provides a
workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=577056
2018-04-26 09:39:18 +00:00
joerg
9f70595714 Provide consistent visibility for forward declarations. 2016-12-18 21:54:05 +00:00
fhajny
b2b0de7fd3 Import lang/spidermonkey185 based on wip/spidermonkey185.
Versioned as 1.8.5 despite the distfile version, as that seemed like
a confusing misnomer (especially compared to other branches versioning).

SpiderMonkey is the code-name for the Mozilla's C implementation of JavaScript.
2016-11-16 13:13:43 +00:00