Subject: CVS commit: pkgsrc/lang/spidermonkey185
From: Jonathan Perkin
Date: 2018-05-02 14:42:51
Message id: 20180502124251.3EA9FFBEC@cvs.NetBSD.org

Log Message:
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.

Files:
RevisionActionfile
1.5modifypkgsrc/lang/spidermonkey185/Makefile
1.5modifypkgsrc/lang/spidermonkey185/distinfo
1.2modifypkgsrc/lang/spidermonkey185/patches/patch-jsgcchunk.cpp
1.1addpkgsrc/lang/spidermonkey185/patches/patch-jsatom.cpp
1.1addpkgsrc/lang/spidermonkey185/patches/patch-jscntxt.cpp
1.1addpkgsrc/lang/spidermonkey185/patches/patch-jsiter.cpp
1.1addpkgsrc/lang/spidermonkey185/patches/patch-jsnum.cpp
1.1addpkgsrc/lang/spidermonkey185/patches/patch-jsstr.cpp
1.1addpkgsrc/lang/spidermonkey185/patches/patch-jsstr.h
1.1addpkgsrc/lang/spidermonkey185/patches/patch-jsstrinlines.h
1.1addpkgsrc/lang/spidermonkey185/patches/patch-jstracer.cpp
1.1addpkgsrc/lang/spidermonkey185/patches/patch-jstracer.h
1.1addpkgsrc/lang/spidermonkey185/patches/patch-tracejit_Writer.cpp