View | Details | Raw Unified | Return to bug 242002 | Differences between
and this patch

Collapse All | Expand All

(-)mongodb42/Makefile (+99 lines)
Line 0 Link Here
1
# $FreeBSD: head/databases/mongodb40/Makefile 507372 2019-07-26 20:46:53Z gerald $
2
3
PORTNAME=	mongodb
4
DISTVERSIONPREFIX=	r
5
DISTVERSION=	4.2.1
6
CATEGORIES=	databases net
7
MASTER_SITES=	https://fastdl.mongodb.org/src/ \
8
		http://fastdl.mongodb.org/src/ \
9
		http://download.mongodb.org/src/
10
PKGNAMESUFFIX=	${PORTVERSION:R:S/.//}
11
DISTNAME=	mongodb-src-${DISTVERSIONPREFIX}${DISTVERSION}
12
13
MAINTAINER=	dev.ashevchuk@gmail.com
14
COMMENT=	Distributed document-oriented "NoSQL" database
15
16
# mongodb is AGPLv3, C++ driver is APACHE20
17
LICENSE=	AGPLv3 APACHE20
18
LICENSE_COMB=	multi
19
20
ONLY_FOR_ARCHS=	aarch64 amd64
21
ONLY_FOR_ARCHS_REASON=	"Only supported on amd64 and aarch64 (i386 deprecated in v3)"
22
23
#GCC_VER=	9
24
#LLVM_VER=	60
25
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cheetah3>0:devel/py-cheetah3@${PY_FLAVOR} \
26
		${PY_TYPING} \
27
		${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} \
28
		${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \
29
		${LOCALBASE}/bin/gcc:lang/gcc \
30
		${LOCALBASE}/bin/ar:devel/binutils
31
LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
32
		libpcre.so:devel/pcre \
33
		libcurl.so:ftp/curl \
34
		libsnappy.so:archivers/snappy
35
36
#USES=		compiler:c++17-lang cpe python:3.5+,build scons:py36 shebangfix
37
USES=		cpe python:3.5+,build scons:py36 shebangfix
38
USE_RC_SUBR=	mongod
39
USE_GCC=	yes
40
41
CONFLICTS_BUILD=	mongo-cxx-driver
42
CONFLICTS_INSTALL=	mongodb3[46] mongodb40
43
44
# clang 7.0 or newer is expected (or some gcc, didn't test that)
45
#CC=		clang${LLVM_VER}
46
#CXX=		clang++${LLVM_VER}
47
CC=		${LOCALBASE}/gcc
48
CCX=		${LOCALBASE}/g++
49
50
SHEBANG_FILES=	src/mongo/installer/compass/install_compass.in
51
python_OLD_CMD=	@python_interpreter@
52
MAKE_ARGS=	--prefix=${STAGEDIR}${PREFIX} \
53
		--use-system-pcre --use-system-snappy \
54
		--use-system-boost --use-system-zlib \
55
		--cxx-std=17 \
56
		--runtime-hardening=on \
57
		-j ${MAKE_JOBS_NUMBER} \
58
		--disable-warnings-as-errors \
59
		VERBOSE=on AR=${PREFIX}/bin/ar
60
61
#		--libc++ \
62
63
USERS=		mongodb
64
GROUPS=		mongodb
65
66
OPTIONS_DEFINE=		SASL SSL
67
OPTIONS_DEFAULT=	SASL SSL
68
69
SASL_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
70
SASL_MAKE_ARGS=		--use-sasl-client
71
72
SSL_USES=	ssl
73
SSL_MAKE_ARGS=	--ssl
74
75
.include <bsd.port.options.mk>
76
77
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057
78
SUB_LIST+=	LEGACY_LIMITS="@comment " MODERN_LIMITS=""
79
.else
80
SUB_LIST+=	LEGACY_LIMITS="" MODERN_LIMITS="@comment "
81
.endif
82
83
.if ${ARCH} == aarch64
84
EXTRA_PATCHES=	${FILESDIR}/aarch64
85
.endif
86
87
ALL_TARGET=	core
88
89
PORTSCOUT=	limitw:1,even
90
91
CPE_PRODUCT=	mongodb
92
93
post-install:
94
.for f in mongo mongod mongos
95
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}
96
.endfor
97
	${CP} ${WRKSRC}/rpm/mongod.conf ${STAGEDIR}${PREFIX}/etc/mongodb.conf.sample
98
99
.include <bsd.port.mk>
(-)mongodb42/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1571682282
2
SHA256 (mongodb-src-r4.2.1.tar.gz) = 6d0e82e70b6940698ed464e11894c441db5f07c98a0e16e1607283277553683a
3
SIZE (mongodb-src-r4.2.1.tar.gz) = 60922510
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_gen-config.sh (+24 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/gen-config.sh.orig	2019-10-11 03:28:57 UTC
2
+++ src/third_party/mozjs-60/gen-config.sh
3
@@ -28,6 +28,9 @@ _xcode_setup() {
4
 }
5
 
6
 case "$_Path" in
7
+    "platform/aarch64/freebsd")
8
+        _CONFIG_OPTS="--host=aarch64-freebsd"
9
+	;;
10
     "platform/aarch64/linux")
11
         _CONFIG_OPTS="--host=aarch64-linux"
12
 	;;
13
@@ -82,9 +85,9 @@ esac
14
 cd mozilla-release/js/src
15
 rm config.cache || true
16
 
17
-PYTHON=python ./configure --without-intl-api --enable-posix-nspr-emulation --disable-trace-logging --disable-js-shell --disable-tests "$_CONFIG_OPTS"
18
+PYTHON=python2.7 ./configure --without-intl-api --enable-posix-nspr-emulation --disable-trace-logging --disable-js-shell --disable-tests "$_CONFIG_OPTS"
19
 
20
-make recurse_export
21
+gmake recurse_export
22
 
23
 cd ../../..
24
 
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src0.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src0.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src0.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "builtin/AtomicsObject.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "builtin/AtomicsObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "builtin/AtomicsObject.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "builtin/DataViewObject.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "builtin/DataViewObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "builtin/DataViewObject.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "builtin/Eval.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "builtin/Eval.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "builtin/Eval.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "builtin/JSON.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "builtin/JSON.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "builtin/JSON.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "builtin/MapObject.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "builtin/MapObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "builtin/MapObject.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "builtin/ModuleObject.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "builtin/ModuleObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "builtin/ModuleObject.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src1.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src1.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src1.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "builtin/Object.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "builtin/Object.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "builtin/Object.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "builtin/Profilers.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "builtin/Profilers.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "builtin/Profilers.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "builtin/Promise.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "builtin/Promise.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "builtin/Promise.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "builtin/Reflect.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "builtin/Reflect.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "builtin/Reflect.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "builtin/ReflectParse.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "builtin/ReflectParse.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "builtin/ReflectParse.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "builtin/SIMD.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "builtin/SIMD.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "builtin/SIMD.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src10.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src10.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src10.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "irregexp/RegExpParser.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "irregexp/RegExpParser.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "irregexp/RegExpParser.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "irregexp/RegExpStack.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "irregexp/RegExpStack.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "irregexp/RegExpStack.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/AliasAnalysis.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/AliasAnalysis.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/AliasAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/AliasAnalysisShared.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/AliasAnalysisShared.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/AliasAnalysisShared.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/AlignmentMaskAnalysis.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/AlignmentMaskAnalysis.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/AlignmentMaskAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/BacktrackingAllocator.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/BacktrackingAllocator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/BacktrackingAllocator.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src11.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src11.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src11.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/Bailouts.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/Bailouts.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/Bailouts.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/BaselineBailouts.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/BaselineBailouts.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/BaselineBailouts.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/BaselineCacheIRCompiler.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/BaselineCacheIRCompiler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/BaselineCacheIRCompiler.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/BaselineCompiler.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/BaselineCompiler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/BaselineCompiler.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/BaselineDebugModeOSR.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/BaselineDebugModeOSR.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/BaselineDebugModeOSR.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/BaselineFrame.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/BaselineFrame.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/BaselineFrame.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src12.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src12.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src12.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/BaselineFrameInfo.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/BaselineFrameInfo.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/BaselineFrameInfo.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/BaselineIC.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/BaselineIC.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/BaselineIC.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/BaselineInspector.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/BaselineInspector.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/BaselineInspector.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/BaselineJIT.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/BaselineJIT.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/BaselineJIT.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/BitSet.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/BitSet.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/BitSet.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/BytecodeAnalysis.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/BytecodeAnalysis.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/BytecodeAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src13.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src13.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src13.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/C1Spewer.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/C1Spewer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/C1Spewer.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/CacheIR.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/CacheIR.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/CacheIR.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/CacheIRCompiler.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/CacheIRCompiler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/CacheIRCompiler.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/CacheIRSpewer.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/CacheIRSpewer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/CacheIRSpewer.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/CodeGenerator.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/CodeGenerator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/CodeGenerator.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/CompileWrappers.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/CompileWrappers.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/CompileWrappers.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src14.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src14.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src14.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/Disassembler.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/Disassembler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/Disassembler.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/EagerSimdUnbox.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/EagerSimdUnbox.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/EagerSimdUnbox.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/EdgeCaseAnalysis.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/EdgeCaseAnalysis.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/EdgeCaseAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/EffectiveAddressAnalysis.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/EffectiveAddressAnalysis.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/EffectiveAddressAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/ExecutableAllocator.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/ExecutableAllocator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/ExecutableAllocator.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/FlowAliasAnalysis.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/FlowAliasAnalysis.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/FlowAliasAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src15.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src15.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src15.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/FoldLinearArithConstants.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/FoldLinearArithConstants.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/FoldLinearArithConstants.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/InstructionReordering.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/InstructionReordering.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/InstructionReordering.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/Ion.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/Ion.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/Ion.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/IonAnalysis.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/IonAnalysis.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/IonAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/IonBuilder.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/IonBuilder.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/IonBuilder.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/IonCacheIRCompiler.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/IonCacheIRCompiler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/IonCacheIRCompiler.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src16.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src16.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src16.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/IonControlFlow.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/IonControlFlow.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/IonControlFlow.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/IonIC.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/IonIC.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/IonIC.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/IonOptimizationLevels.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/IonOptimizationLevels.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/IonOptimizationLevels.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/JSJitFrameIter.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/JSJitFrameIter.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/JSJitFrameIter.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/JSONSpewer.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/JSONSpewer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/JSONSpewer.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/Jit.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/Jit.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/Jit.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src17.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src17.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src17.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/JitFrames.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/JitFrames.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/JitFrames.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/JitOptions.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/JitOptions.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/JitOptions.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/JitSpewer.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/JitSpewer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/JitSpewer.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/JitcodeMap.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/JitcodeMap.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/JitcodeMap.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/LICM.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/LICM.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/LICM.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/LIR.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/LIR.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/LIR.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src18.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src18.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src18.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/Linker.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/Linker.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/Linker.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/LoopUnroller.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/LoopUnroller.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/LoopUnroller.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/Lowering.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/Lowering.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/Lowering.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/MCallOptimize.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/MCallOptimize.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/MCallOptimize.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/MIR.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/MIR.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/MIR.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/MIRGraph.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/MIRGraph.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/MIRGraph.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src19.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src19.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src19.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/MacroAssembler.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/MacroAssembler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/MacroAssembler.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/MoveResolver.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/MoveResolver.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/MoveResolver.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/OptimizationTracking.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/OptimizationTracking.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/OptimizationTracking.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/PerfSpewer.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/PerfSpewer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/PerfSpewer.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/ProcessExecutableMemory.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/ProcessExecutableMemory.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/ProcessExecutableMemory.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/RangeAnalysis.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/RangeAnalysis.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/RangeAnalysis.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src2.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src2.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src2.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "builtin/Stream.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "builtin/Stream.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "builtin/Stream.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "builtin/String.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "builtin/String.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "builtin/String.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "builtin/Symbol.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "builtin/Symbol.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "builtin/Symbol.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "builtin/TestingFunctions.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "builtin/TestingFunctions.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "builtin/TestingFunctions.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "builtin/TypedObject.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "builtin/TypedObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "builtin/TypedObject.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "builtin/WeakMapObject.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "builtin/WeakMapObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "builtin/WeakMapObject.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src20.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src20.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src20.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/Recover.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/Recover.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/Recover.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/RegisterAllocator.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/RegisterAllocator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/RegisterAllocator.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/RematerializedFrame.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/RematerializedFrame.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/RematerializedFrame.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/Safepoints.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/Safepoints.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/Safepoints.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/ScalarReplacement.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/ScalarReplacement.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/ScalarReplacement.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/SharedIC.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/SharedIC.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/SharedIC.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src21.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src21.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src21.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/Sink.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/Sink.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/Sink.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/Snapshots.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/Snapshots.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/Snapshots.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/StupidAllocator.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/StupidAllocator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/StupidAllocator.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/TypePolicy.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/TypePolicy.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/TypePolicy.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/TypedObjectPrediction.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/TypedObjectPrediction.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/TypedObjectPrediction.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/VMFunctions.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/VMFunctions.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/VMFunctions.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src22.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src22.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src22.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/ValueNumbering.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/ValueNumbering.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/ValueNumbering.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/WasmBCE.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/WasmBCE.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/WasmBCE.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/arm64/Architecture-arm64.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/arm64/Architecture-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/arm64/Architecture-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/arm64/Assembler-arm64.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/arm64/Assembler-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/arm64/Assembler-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/arm64/Bailouts-arm64.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/arm64/Bailouts-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/arm64/Bailouts-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/arm64/BaselineIC-arm64.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/arm64/BaselineIC-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/arm64/BaselineIC-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src23.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src23.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src23.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/arm64/CodeGenerator-arm64.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/arm64/CodeGenerator-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/arm64/CodeGenerator-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/arm64/Disassembler-arm64.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/arm64/Disassembler-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/arm64/Disassembler-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/arm64/Lowering-arm64.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/arm64/Lowering-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/arm64/Lowering-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/arm64/MacroAssembler-arm64.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/arm64/MacroAssembler-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/arm64/MacroAssembler-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/arm64/MoveEmitter-arm64.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/arm64/MoveEmitter-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/arm64/MoveEmitter-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/arm64/SharedIC-arm64.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/arm64/SharedIC-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/arm64/SharedIC-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src24.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src24.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src24.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/arm64/Trampoline-arm64.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/arm64/Trampoline-arm64.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/arm64/Trampoline-arm64.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/arm64/vixl/Assembler-vixl.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/arm64/vixl/Assembler-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/arm64/vixl/Assembler-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/arm64/vixl/Cpu-vixl.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/arm64/vixl/Cpu-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/arm64/vixl/Cpu-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/arm64/vixl/Decoder-vixl.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/arm64/vixl/Decoder-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/arm64/vixl/Decoder-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/arm64/vixl/Disasm-vixl.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/arm64/vixl/Disasm-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/arm64/vixl/Disasm-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/arm64/vixl/Instructions-vixl.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/arm64/vixl/Instructions-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/arm64/vixl/Instructions-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src25.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src25.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src25.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/arm64/vixl/Instrument-vixl.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/arm64/vixl/Instrument-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/arm64/vixl/Instrument-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/arm64/vixl/MacroAssembler-vixl.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/arm64/vixl/MacroAssembler-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/arm64/vixl/MacroAssembler-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/arm64/vixl/MozAssembler-vixl.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/arm64/vixl/MozAssembler-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/arm64/vixl/MozAssembler-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/arm64/vixl/MozInstructions-vixl.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/arm64/vixl/MozInstructions-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/arm64/vixl/MozInstructions-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jit/arm64/vixl/Utils-vixl.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jit/arm64/vixl/Utils-vixl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jit/arm64/vixl/Utils-vixl.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jit/shared/Assembler-shared.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jit/shared/Assembler-shared.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jit/shared/Assembler-shared.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src26.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src26.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src26.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jit/shared/BaselineCompiler-shared.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jit/shared/BaselineCompiler-shared.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jit/shared/BaselineCompiler-shared.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jit/shared/CodeGenerator-shared.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jit/shared/CodeGenerator-shared.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jit/shared/CodeGenerator-shared.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jit/shared/Disassembler-shared.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jit/shared/Disassembler-shared.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jit/shared/Disassembler-shared.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jit/shared/Lowering-shared.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jit/shared/Lowering-shared.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jit/shared/Lowering-shared.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "jsapi.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "jsapi.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "jsapi.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "jsbool.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "jsbool.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "jsbool.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src27.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src27.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src27.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "jsdate.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "jsdate.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "jsdate.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "jsexn.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "jsexn.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "jsexn.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "jsfriendapi.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "jsfriendapi.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "jsfriendapi.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "jsnum.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "jsnum.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "jsnum.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "perf/jsperf.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "perf/jsperf.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "perf/jsperf.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "proxy/BaseProxyHandler.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "proxy/BaseProxyHandler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "proxy/BaseProxyHandler.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src28.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src28.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src28.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "proxy/CrossCompartmentWrapper.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "proxy/CrossCompartmentWrapper.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "proxy/CrossCompartmentWrapper.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "proxy/DeadObjectProxy.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "proxy/DeadObjectProxy.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "proxy/DeadObjectProxy.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "proxy/OpaqueCrossCompartmentWrapper.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "proxy/OpaqueCrossCompartmentWrapper.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "proxy/OpaqueCrossCompartmentWrapper.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "proxy/Proxy.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "proxy/Proxy.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "proxy/Proxy.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "proxy/ScriptedProxyHandler.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "proxy/ScriptedProxyHandler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "proxy/ScriptedProxyHandler.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "proxy/SecurityWrapper.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "proxy/SecurityWrapper.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "proxy/SecurityWrapper.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src29.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src29.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src29.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "proxy/Wrapper.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "proxy/Wrapper.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "proxy/Wrapper.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "threading/Mutex.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "threading/Mutex.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "threading/Mutex.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "threading/ProtectedData.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "threading/ProtectedData.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "threading/ProtectedData.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "threading/posix/CpuCount.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "threading/posix/CpuCount.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "threading/posix/CpuCount.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "threading/posix/Thread.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "threading/posix/Thread.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "threading/posix/Thread.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "util/AllocPolicy.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "util/AllocPolicy.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "util/AllocPolicy.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src3.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src3.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src3.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "builtin/WeakSetObject.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "builtin/WeakSetObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "builtin/WeakSetObject.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "builtin/intl/Collator.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "builtin/intl/Collator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "builtin/intl/Collator.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "builtin/intl/CommonFunctions.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "builtin/intl/CommonFunctions.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "builtin/intl/CommonFunctions.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "builtin/intl/DateTimeFormat.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "builtin/intl/DateTimeFormat.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "builtin/intl/DateTimeFormat.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "builtin/intl/IntlObject.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "builtin/intl/IntlObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "builtin/intl/IntlObject.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "builtin/intl/NumberFormat.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "builtin/intl/NumberFormat.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "builtin/intl/NumberFormat.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src30.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src30.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src30.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "util/NativeStack.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "util/NativeStack.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "util/NativeStack.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "util/Printf.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "util/Printf.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "util/Printf.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "util/StringBuffer.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "util/StringBuffer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "util/StringBuffer.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "util/Text.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "util/Text.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "util/Text.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "util/Unicode.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "util/Unicode.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "util/Unicode.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/ArgumentsObject.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/ArgumentsObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/ArgumentsObject.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src31.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src31.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src31.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/ArrayBufferObject.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/ArrayBufferObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/ArrayBufferObject.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/AsyncFunction.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/AsyncFunction.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/AsyncFunction.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/AsyncIteration.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/AsyncIteration.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/AsyncIteration.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/BytecodeUtil.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/BytecodeUtil.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/BytecodeUtil.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/Caches.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/Caches.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/Caches.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/CallNonGenericMethod.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/CallNonGenericMethod.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/CallNonGenericMethod.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src32.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src32.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src32.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/CharacterEncoding.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/CharacterEncoding.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/CharacterEncoding.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/CodeCoverage.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/CodeCoverage.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/CodeCoverage.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/Compression.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/Compression.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/Compression.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/DateTime.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/DateTime.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/DateTime.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/Debugger.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/Debugger.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/Debugger.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/DebuggerMemory.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/DebuggerMemory.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/DebuggerMemory.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src33.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src33.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src33.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/EnvironmentObject.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/EnvironmentObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/EnvironmentObject.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/ErrorObject.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/ErrorObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/ErrorObject.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/ErrorReporting.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/ErrorReporting.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/ErrorReporting.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/ForOfIterator.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/ForOfIterator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/ForOfIterator.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/GeckoProfiler.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/GeckoProfiler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/GeckoProfiler.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/GeneratorObject.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/GeneratorObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/GeneratorObject.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src34.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src34.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src34.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/GlobalObject.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/GlobalObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/GlobalObject.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/HelperThreads.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/HelperThreads.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/HelperThreads.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/Id.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/Id.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/Id.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/Initialization.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/Initialization.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/Initialization.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/Iteration.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/Iteration.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/Iteration.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/JSCompartment.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/JSCompartment.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/JSCompartment.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src35.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src35.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src35.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/JSContext.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/JSContext.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/JSContext.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/JSFunction.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/JSFunction.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/JSFunction.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/JSONParser.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/JSONParser.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/JSONParser.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/JSONPrinter.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/JSONPrinter.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/JSONPrinter.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/JSObject.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/JSObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/JSObject.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/JSScript.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/JSScript.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/JSScript.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src36.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src36.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src36.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/MemoryMetrics.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/MemoryMetrics.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/MemoryMetrics.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/NativeObject.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/NativeObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/NativeObject.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/ObjectGroup.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/ObjectGroup.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/ObjectGroup.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/PIC.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/PIC.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/PIC.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/PosixNSPR.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/PosixNSPR.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/PosixNSPR.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/Printer.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/Printer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/Printer.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src37.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src37.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src37.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/Probes.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/Probes.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/Probes.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/ProxyObject.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/ProxyObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/ProxyObject.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/Realm.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/Realm.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/Realm.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/ReceiverGuard.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/ReceiverGuard.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/ReceiverGuard.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/RegExpObject.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/RegExpObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/RegExpObject.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/RegExpStatics.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/RegExpStatics.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/RegExpStatics.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src38.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src38.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src38.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/Runtime.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/Runtime.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/Runtime.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/SavedStacks.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/SavedStacks.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/SavedStacks.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/Scope.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/Scope.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/Scope.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/SelfHosting.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/SelfHosting.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/SelfHosting.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/Shape.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/Shape.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/Shape.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/SharedArrayObject.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/SharedArrayObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/SharedArrayObject.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src39.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src39.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src39.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/SharedImmutableStringsCache.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/SharedImmutableStringsCache.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/SharedImmutableStringsCache.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/Stack.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/Stack.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/Stack.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/Stopwatch.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/Stopwatch.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/Stopwatch.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/StringType.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/StringType.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/StringType.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/StructuredClone.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/StructuredClone.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/StructuredClone.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/SymbolType.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/SymbolType.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/SymbolType.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src4.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src4.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src4.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "builtin/intl/PluralRules.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "builtin/intl/PluralRules.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "builtin/intl/PluralRules.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "builtin/intl/RelativeTimeFormat.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "builtin/intl/RelativeTimeFormat.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "builtin/intl/RelativeTimeFormat.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "builtin/intl/SharedIntlData.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "builtin/intl/SharedIntlData.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "builtin/intl/SharedIntlData.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "devtools/sharkctl.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "devtools/sharkctl.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "devtools/sharkctl.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "ds/Bitmap.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "ds/Bitmap.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "ds/Bitmap.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "ds/LifoAlloc.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "ds/LifoAlloc.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "ds/LifoAlloc.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src40.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src40.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src40.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/TaggedProto.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/TaggedProto.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/TaggedProto.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/Time.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/Time.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/Time.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/TypeInference.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/TypeInference.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/TypeInference.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/TypedArrayObject.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/TypedArrayObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/TypedArrayObject.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "vm/UbiNode.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "vm/UbiNode.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "vm/UbiNode.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "vm/UbiNodeCensus.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "vm/UbiNodeCensus.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "vm/UbiNodeCensus.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src41.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src41.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src41.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "vm/UbiNodeShortestPaths.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "vm/UbiNodeShortestPaths.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "vm/UbiNodeShortestPaths.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "vm/UnboxedObject.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "vm/UnboxedObject.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "vm/UnboxedObject.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "vm/Value.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "vm/Value.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "vm/Value.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "vm/Xdr.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "vm/Xdr.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "vm/Xdr.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "wasm/AsmJS.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "wasm/AsmJS.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "wasm/AsmJS.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "wasm/WasmBaselineCompile.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "wasm/WasmBaselineCompile.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "wasm/WasmBaselineCompile.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src42.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src42.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src42.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "wasm/WasmBinaryIterator.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "wasm/WasmBinaryIterator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "wasm/WasmBinaryIterator.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "wasm/WasmBinaryToAST.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "wasm/WasmBinaryToAST.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "wasm/WasmBinaryToAST.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "wasm/WasmBinaryToText.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "wasm/WasmBinaryToText.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "wasm/WasmBinaryToText.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "wasm/WasmBuiltins.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "wasm/WasmBuiltins.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "wasm/WasmBuiltins.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "wasm/WasmCode.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "wasm/WasmCode.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "wasm/WasmCode.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "wasm/WasmCompartment.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "wasm/WasmCompartment.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "wasm/WasmCompartment.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src43.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src43.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src43.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "wasm/WasmCompile.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "wasm/WasmCompile.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "wasm/WasmCompile.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "wasm/WasmDebug.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "wasm/WasmDebug.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "wasm/WasmDebug.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "wasm/WasmFrameIter.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "wasm/WasmFrameIter.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "wasm/WasmFrameIter.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "wasm/WasmGenerator.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "wasm/WasmGenerator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "wasm/WasmGenerator.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "wasm/WasmInstance.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "wasm/WasmInstance.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "wasm/WasmInstance.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "wasm/WasmIonCompile.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "wasm/WasmIonCompile.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "wasm/WasmIonCompile.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src44.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src44.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src44.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "wasm/WasmJS.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "wasm/WasmJS.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "wasm/WasmJS.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "wasm/WasmModule.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "wasm/WasmModule.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "wasm/WasmModule.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "wasm/WasmProcess.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "wasm/WasmProcess.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "wasm/WasmProcess.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "wasm/WasmSignalHandlers.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "wasm/WasmSignalHandlers.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "wasm/WasmSignalHandlers.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "wasm/WasmStubs.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "wasm/WasmStubs.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "wasm/WasmStubs.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "wasm/WasmTable.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "wasm/WasmTable.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "wasm/WasmTable.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src45.cpp (+41 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src45.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src45.cpp
3
@@ -0,0 +1,37 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "wasm/WasmTextToBinary.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "wasm/WasmTextToBinary.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "wasm/WasmTextToBinary.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "wasm/WasmTextUtils.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "wasm/WasmTextUtils.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "wasm/WasmTextUtils.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "wasm/WasmTypes.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "wasm/WasmTypes.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "wasm/WasmTypes.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "wasm/WasmValidate.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "wasm/WasmValidate.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "wasm/WasmValidate.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src5.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src5.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src5.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "ds/MemoryProtectionExceptionHandler.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "ds/MemoryProtectionExceptionHandler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "ds/MemoryProtectionExceptionHandler.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "frontend/BytecodeCompiler.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "frontend/BytecodeCompiler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "frontend/BytecodeCompiler.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "frontend/BytecodeEmitter.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "frontend/BytecodeEmitter.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "frontend/BytecodeEmitter.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "frontend/FoldConstants.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "frontend/FoldConstants.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "frontend/FoldConstants.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "frontend/NameFunctions.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "frontend/NameFunctions.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "frontend/NameFunctions.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "frontend/ParseNode.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "frontend/ParseNode.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "frontend/ParseNode.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src6.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src6.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src6.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "frontend/TokenStream.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "frontend/TokenStream.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "frontend/TokenStream.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "gc/Allocator.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "gc/Allocator.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "gc/Allocator.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "gc/AtomMarking.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "gc/AtomMarking.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "gc/AtomMarking.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "gc/Barrier.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "gc/Barrier.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "gc/Barrier.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "gc/GC.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "gc/GC.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "gc/GC.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "gc/GCTrace.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "gc/GCTrace.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "gc/GCTrace.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src7.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src7.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src7.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "gc/Marking.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "gc/Marking.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "gc/Marking.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "gc/Memory.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "gc/Memory.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "gc/Memory.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "gc/Nursery.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "gc/Nursery.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "gc/Nursery.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "gc/PublicIterators.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "gc/PublicIterators.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "gc/PublicIterators.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "gc/RootMarking.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "gc/RootMarking.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "gc/RootMarking.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "gc/Statistics.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "gc/Statistics.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "gc/Statistics.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src8.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src8.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src8.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "gc/Tracer.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "gc/Tracer.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "gc/Tracer.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "gc/Verifier.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "gc/Verifier.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "gc/Verifier.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "gc/WeakMap.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "gc/WeakMap.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "gc/WeakMap.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "gc/WeakMapPtr.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "gc/WeakMapPtr.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "gc/WeakMapPtr.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "gc/Zone.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "gc/Zone.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "gc/Zone.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "gc/ZoneGroup.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "gc/ZoneGroup.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "gc/ZoneGroup.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_Unified__cpp__js__src9.cpp (+59 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src9.cpp.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/Unified_cpp_js_src9.cpp
3
@@ -0,0 +1,55 @@
4
+#define MOZ_UNIFIED_BUILD
5
+#include "irregexp/NativeRegExpMacroAssembler.cpp"
6
+#ifdef PL_ARENA_CONST_ALIGN_MASK
7
+#error "irregexp/NativeRegExpMacroAssembler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
8
+#undef PL_ARENA_CONST_ALIGN_MASK
9
+#endif
10
+#ifdef INITGUID
11
+#error "irregexp/NativeRegExpMacroAssembler.cpp defines INITGUID, so it cannot be built in unified mode."
12
+#undef INITGUID
13
+#endif
14
+#include "irregexp/RegExpAST.cpp"
15
+#ifdef PL_ARENA_CONST_ALIGN_MASK
16
+#error "irregexp/RegExpAST.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
17
+#undef PL_ARENA_CONST_ALIGN_MASK
18
+#endif
19
+#ifdef INITGUID
20
+#error "irregexp/RegExpAST.cpp defines INITGUID, so it cannot be built in unified mode."
21
+#undef INITGUID
22
+#endif
23
+#include "irregexp/RegExpCharacters.cpp"
24
+#ifdef PL_ARENA_CONST_ALIGN_MASK
25
+#error "irregexp/RegExpCharacters.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
26
+#undef PL_ARENA_CONST_ALIGN_MASK
27
+#endif
28
+#ifdef INITGUID
29
+#error "irregexp/RegExpCharacters.cpp defines INITGUID, so it cannot be built in unified mode."
30
+#undef INITGUID
31
+#endif
32
+#include "irregexp/RegExpEngine.cpp"
33
+#ifdef PL_ARENA_CONST_ALIGN_MASK
34
+#error "irregexp/RegExpEngine.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
35
+#undef PL_ARENA_CONST_ALIGN_MASK
36
+#endif
37
+#ifdef INITGUID
38
+#error "irregexp/RegExpEngine.cpp defines INITGUID, so it cannot be built in unified mode."
39
+#undef INITGUID
40
+#endif
41
+#include "irregexp/RegExpInterpreter.cpp"
42
+#ifdef PL_ARENA_CONST_ALIGN_MASK
43
+#error "irregexp/RegExpInterpreter.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
44
+#undef PL_ARENA_CONST_ALIGN_MASK
45
+#endif
46
+#ifdef INITGUID
47
+#error "irregexp/RegExpInterpreter.cpp defines INITGUID, so it cannot be built in unified mode."
48
+#undef INITGUID
49
+#endif
50
+#include "irregexp/RegExpMacroAssembler.cpp"
51
+#ifdef PL_ARENA_CONST_ALIGN_MASK
52
+#error "irregexp/RegExpMacroAssembler.cpp uses PL_ARENA_CONST_ALIGN_MASK, so it cannot be built in unified mode."
53
+#undef PL_ARENA_CONST_ALIGN_MASK
54
+#endif
55
+#ifdef INITGUID
56
+#error "irregexp/RegExpMacroAssembler.cpp defines INITGUID, so it cannot be built in unified mode."
57
+#undef INITGUID
58
+#endif
59
\ No newline at end of file
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_build_js-confdefs.h (+79 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/build/js-confdefs.h.orig	2019-11-14 10:50:10 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/build/js-confdefs.h
3
@@ -0,0 +1,76 @@
4
+/* List of defines generated by configure. Included with preprocessor flag,
5
+ * -include, to avoid long list of -D defines on the compile command-line.
6
+ * Do not edit.
7
+ */
8
+
9
+#ifndef js_confdefs_h
10
+#define js_confdefs_h
11
+
12
+// Expands to all the defines from configure.
13
+#define CPP_THROW_NEW throw()
14
+#define CROSS_COMPILE 
15
+#define EDITLINE 1
16
+#define HAVE_64BIT_BUILD 1
17
+#define HAVE_CLOCK_MONOTONIC 1
18
+#define HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR 1
19
+#define HAVE_DIRENT_H 1
20
+#define HAVE_DLOPEN 1
21
+#define HAVE_GETC_UNLOCKED 1
22
+#define HAVE_GETOPT_H 1
23
+#define HAVE_GMTIME_R 1
24
+#define HAVE_INTTYPES_H 1
25
+#define HAVE_LANGINFO_CODESET 1
26
+#define HAVE_LIBM 1
27
+#define HAVE_LOCALECONV 1
28
+#define HAVE_LOCALTIME_R 1
29
+#define HAVE_MALLOC_USABLE_SIZE 1
30
+#define HAVE_NETINET_IN_H 1
31
+#define HAVE_NL_TYPES_H 1
32
+#define HAVE_POSIX_FADVISE 1
33
+#define HAVE_POSIX_FALLOCATE 1
34
+#define HAVE_POSIX_MEMALIGN 1
35
+#define HAVE_RES_NINIT 1
36
+#define HAVE_SINCOS 1
37
+#define HAVE_SSIZE_T 1
38
+#define HAVE_STDINT_H 1
39
+#define HAVE_STRNDUP 1
40
+#define HAVE_SYS_MOUNT_H 1
41
+#define HAVE_SYS_QUEUE_H 1
42
+#define HAVE_SYS_STATVFS_H 1
43
+#define HAVE_SYS_TYPES_H 1
44
+#define HAVE_THREAD_TLS_KEYWORD 1
45
+#define HAVE_TM_ZONE_TM_GMTOFF 1
46
+#define HAVE_UNISTD_H 1
47
+#define HAVE_VALLOC 1
48
+#define HAVE_VA_COPY 1
49
+#define HAVE_VISIBILITY_ATTRIBUTE 1
50
+#define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1
51
+#define HAVE___CXA_DEMANGLE 1
52
+#define JS_64BIT 1
53
+#define JS_CODEGEN_ARM64 1
54
+#define JS_DEFAULT_JITREPORT_GRANULARITY 3
55
+#define JS_POSIX_NSPR 1
56
+#define JS_PUNBOX64 1
57
+#define JS_STANDALONE 1
58
+#define MALLOC_H <malloc_np.h>
59
+#define MALLOC_USABLE_SIZE_CONST_PTR const
60
+#define MOZILLA_UAVERSION "60.0"
61
+#define MOZILLA_VERSION "60.3.0"
62
+#define MOZILLA_VERSION_U 60.3.0
63
+#define MOZJS_MAJOR_VERSION 60
64
+#define MOZJS_MINOR_VERSION 3
65
+#define MOZ_BUILD_APP js
66
+#define MOZ_DLL_SUFFIX ".so"
67
+#define MOZ_UPDATE_CHANNEL default
68
+#define NO_NSPR_10_SUPPORT 1
69
+#define RELEASE_OR_BETA 1
70
+#define STDC_HEADERS 1
71
+#define VA_COPY va_copy
72
+#define XP_UNIX 1
73
+#define X_DISPLAY_MISSING 1
74
+#define _REENTRANT 1
75
+#define _THREAD_SAFE 1
76
+
77
+#include "js/RequiredDefines.h"
78
+
79
+#endif /* js_confdefs_h */
(-)mongodb42/files/aarch64/patch-src_third__party_mozjs-60_platform_aarch64_freebsd_include_js-config.h (+64 lines)
Line 0 Link Here
1
--- src/third_party/mozjs-60/platform/aarch64/freebsd/include/js-config.h.orig	2019-11-14 10:50:21 UTC
2
+++ src/third_party/mozjs-60/platform/aarch64/freebsd/include/js-config.h
3
@@ -0,0 +1,61 @@
4
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
5
+ * vim: set ts=8 sw=4 et tw=78:
6
+ *
7
+ * This Source Code Form is subject to the terms of the Mozilla Public
8
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
9
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
10
+
11
+#ifndef js_config_h
12
+#define js_config_h
13
+
14
+/* Definitions set at build time that affect SpiderMonkey's public API.
15
+   This header file is generated by the SpiderMonkey configure script,
16
+   and installed along with jsapi.h.  */
17
+
18
+/* Define to 1 if SpiderMonkey is in debug mode. */
19
+/* #undef JS_DEBUG */
20
+
21
+/*
22
+ * NB: We have a special case for rust-bindgen, which wants to be able to
23
+ * generate both debug and release bindings on a single objdir.
24
+ */
25
+#ifdef JS_DEBUG
26
+#if !defined(DEBUG) && !defined(RUST_BINDGEN)
27
+#  error "SpiderMonkey was configured with --enable-debug, so DEBUG must be defined when including this header"
28
+# endif
29
+#else
30
+# if defined(DEBUG) && !defined(RUST_BINDGEN)
31
+#  error "SpiderMonkey was configured with --disable-debug, so DEBUG must be not defined when including this header"
32
+# endif
33
+#endif
34
+
35
+/* Define to 1 if SpiderMonkey should not use struct types in debug builds. */
36
+/* #undef JS_NO_JSVAL_JSID_STRUCT_TYPES */
37
+
38
+/* Define to 1 if SpiderMonkey should support multi-threaded clients.  */
39
+/* #undef JS_THREADSAFE */
40
+
41
+/* Define to 1 if SpiderMonkey should include ctypes support.  */
42
+/* #undef JS_HAS_CTYPES */
43
+
44
+/* Define to 1 if SpiderMonkey should support the ability to perform
45
+   entirely too much GC.  */
46
+/* #undef JS_GC_ZEAL */
47
+
48
+/* Define to 1 if SpiderMonkey should use small chunks. */
49
+/* #undef JS_GC_SMALL_CHUNK_SIZE */
50
+
51
+/* Define to 1 to perform extra assertions and heap poisoning. */
52
+/* #undef JS_CRASH_DIAGNOSTICS */
53
+
54
+/* Define to 1 if SpiderMonkey is in NUNBOX32 mode. */
55
+/* #undef JS_NUNBOX32 */
56
+
57
+/* Define to 1 if SpiderMonkey is in PUNBOX64 mode. */
58
+#define JS_PUNBOX64 1
59
+
60
+/* MOZILLA JSAPI version number components */
61
+#define MOZJS_MAJOR_VERSION 60
62
+#define MOZJS_MINOR_VERSION 3
63
+
64
+#endif /* js_config_h */
(-)mongodb42/files/mongod.in (+62 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
# PROVIDE: mongod
4
# REQUIRE: NETWORK ldconfig
5
# KEYWORD: shutdown
6
#
7
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
8
# to enable this service:
9
#
10
# mongod_enable (bool):  Set to "NO" by default.
11
#                        Set it to "YES" to enable mongod.
12
%%LEGACY_LIMITS%%# mongod_limits (bool):  Set to "NO" by default.
13
%%LEGACY_LIMITS%%#                        Set it to yes to run `limits -e -U mongodb`
14
%%LEGACY_LIMITS%%#                        just before mongod starts.
15
# mongod_dbpath (str):   Default to "/var/db/mongodb"
16
#                        Base database directory.
17
# mongod_flags (str):    Custom additional arguments to be passed to mongod.
18
#                        Default to "--logpath ${mongod_dbpath}/mongod.log --logappend".
19
# mongod_config (str):	 Default to "%%PREFIX%%/etc/mongodb.conf"
20
#                        Path to config file
21
#
22
23
. /etc/rc.subr
24
25
name="mongod"
26
rcvar=mongod_enable
27
28
load_rc_config $name
29
30
: ${mongod_enable="NO"}
31
%%LEGACY_LIMITS%%: ${mongod_limits="NO"}
32
: ${mongod_dbpath="/var/db/mongodb"}
33
: ${mongod_flags="--logpath ${mongod_dbpath}/mongod.log --logappend --setParameter=disabledSecureAllocatorDomains=\*"}
34
: ${mongod_user="mongodb"}
35
: ${mongod_group="mongodb"}
36
: ${mongod_config="%%PREFIX%%/etc/mongodb.conf"}
37
38
pidfile="${mongod_dbpath}/mongod.lock"
39
command=%%PREFIX%%/bin/${name}
40
command_args="--config $mongod_config --dbpath $mongod_dbpath --fork >/dev/null 2>/dev/null"
41
start_precmd="${name}_prestart"
42
43
mongod_create_dbpath()
44
{
45
        mkdir ${mongod_dbpath} >/dev/null 2>/dev/null
46
        [ $? -eq 0 ] && chown -R ${mongod_user}:${mongod_group} ${mongod_dbpath}
47
}
48
49
mongod_prestart()
50
{
51
        if [ ! -d ${mongod_dbpath} ]; then
52
                mongod_create_dbpath || return 1
53
        fi
54
%%LEGACY_LIMITS%%        if checkyesno mongod_limits; then
55
%%LEGACY_LIMITS%%                eval `/usr/bin/limits -e -U ${mongod_user}` 2>/dev/null
56
%%LEGACY_LIMITS%%        else
57
%%LEGACY_LIMITS%%                return 0
58
%%LEGACY_LIMITS%%        fi
59
%%MODERN_LIMITS%%        return 0
60
}
61
62
run_rc_command "$1"
(-)mongodb42/files/patch-SConstruct (+33 lines)
Line 0 Link Here
1
--- SConstruct.orig	2019-08-08 20:06:23 UTC
2
+++ SConstruct
3
@@ -1068,9 +1068,9 @@ if has_option('variables-help'):
4
     print((env_vars.GenerateHelpText(env)))
5
     Exit(0)
6
 
7
-unknown_vars = env_vars.UnknownVariables()
8
-if unknown_vars:
9
-    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
10
+#unknown_vars = env_vars.UnknownVariables()
11
+#if unknown_vars:
12
+#    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
13
 
14
 def set_config_header_define(env, varname, varval = 1):
15
     env['CONFIG_HEADER_DEFINES'][varname] = varval
16
@@ -1851,7 +1851,7 @@ if env.TargetOSIs('posix'):
17
             # If runtime hardening is requested, then build anything
18
             # destined for an executable with the necessary flags for PIE.
19
             env.AppendUnique(
20
-                PROGCCFLAGS=['-fPIE'],
21
+                PROGCCFLAGS=['-fpic'],
22
                 PROGLINKFLAGS=['-pie'],
23
             )
24
 
25
@@ -1865,7 +1865,7 @@ if env.TargetOSIs('posix'):
26
                          "-Wno-unknown-pragmas",
27
                          "-Winvalid-pch"] )
28
     # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
29
-    if env.TargetOSIs('linux', 'darwin', 'solaris'):
30
+    if env.TargetOSIs('linux', 'darwin', 'solaris', 'freebsd'):
31
         if not has_option("disable-warnings-as-errors"):
32
             env.Append( CCFLAGS=["-Werror"] )
33
 
(-)mongodb42/files/patch-rpm_mongod.conf (+25 lines)
Line 0 Link Here
1
--- rpm/mongod.conf.orig	2019-08-08 20:06:23 UTC
2
+++ rpm/mongod.conf
3
@@ -7,11 +7,11 @@
4
 systemLog:
5
   destination: file
6
   logAppend: true
7
-  path: /var/log/mongodb/mongod.log
8
+  path: /var/db/mongodb/mongod.log 
9
 
10
 # Where and how to store data.
11
 storage:
12
-  dbPath: /var/lib/mongo
13
+  dbPath: /var/db/mongodb 
14
   journal:
15
     enabled: true
16
 #  engine:
17
@@ -20,7 +20,7 @@ storage:
18
 # how the process runs
19
 processManagement:
20
   fork: true  # fork and run in background
21
-  pidFilePath: /var/run/mongodb/mongod.pid  # location of pidfile
22
+  pidFilePath: /var/db/mongodb/mongod.lock  # location of pidfile
23
   timeZoneInfo: /usr/share/zoneinfo
24
 
25
 # network interfaces
(-)mongodb42/pkg-descr (+5 lines)
Line 0 Link Here
1
Mongo (from "humongous") is a high-performance, open source,
2
schema-free, document-oriented database. A common name in the
3
"NOSQL" community.
4
5
WWW: https://www.mongodb.com/
(-)mongodb42/pkg-plist (+5 lines)
Line 0 Link Here
1
bin/install_compass
2
bin/mongo
3
bin/mongod
4
bin/mongos
5
@sample etc/mongodb.conf.sample

Return to bug 242002