pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cliqz: Restored NOT_PAX_MPROTECT_SAFE flags based on leot's advice.



Module Name:	pkgsrc-wip
Committed By:	Santhosh Raju <fox%NetBSD.org@localhost>
Pushed By:	fox
Date:		Fri Jan 18 17:39:11 2019 +0530
Changeset:	88012a27a8a23f5e4590a0e3bddfab7baa10d84d

Modified Files:
	cliqz/Makefile

Log Message:
cliqz: Restored NOT_PAX_MPROTECT_SAFE flags based on leot's advice.

NOT_PAX_MPROTECT_SAFE is needed because there is memory mapped with RWX bit as
part of the JavaScript JIT with NOT_PAX_MPROTECT_SAFE commented out it will
crash at run-time with the message 'Assertion failure: [unhandlable oom] OOM in
createJitRuntime'. This behavior was tested and confirmed.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=88012a27a8a23f5e4590a0e3bddfab7baa10d84d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 cliqz/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diffs:
diff --git a/cliqz/Makefile b/cliqz/Makefile
index 4dd3513dbe..fe190606cd 100644
--- a/cliqz/Makefile
+++ b/cliqz/Makefile
@@ -63,9 +63,9 @@ REPLACE_BASH+=	magic_build_and_package.sh
 CFLAGS+=	-D_GLIBCXX_INCLUDE_NEXT_C_HEADERS
 LDFLAGS+=	${COMPILER_RPATH_FLAG}${PREFIX}/lib/cliqz ${COMPILER_RPATH_FLAG}${PREFIX}/lib
 
-#NOT_PAX_MPROTECT_SAFE+=	lib/cliqz/cliqz
-#NOT_PAX_MPROTECT_SAFE+=	lib/cliqz/cliqz-bin
-#NOT_PAX_MPROTECT_SAFE+=	lib/cliqz/plugin-container
+NOT_PAX_MPROTECT_SAFE+=	lib/cliqz/cliqz
+NOT_PAX_MPROTECT_SAFE+=	lib/cliqz/cliqz-bin
+NOT_PAX_MPROTECT_SAFE+=	lib/cliqz/plugin-container
 
 post-extract:
 	${CP} ${DISTDIR}/adult-domains.bin ${WRKSRC}


Home | Main Index | Thread Index | Old Index