View | Details | Raw Unified | Return to bug 261332
Collapse All | Expand All

(-)lang/mono/Makefile (+1 lines)
Lines 66-71 OPTIONS_SLAVE= MONOLITE Link Here
66
.include <bsd.port.options.mk>
66
.include <bsd.port.options.mk>
67
67
68
.if ${ARCH} == aarch64
68
.if ${ARCH} == aarch64
69
EXTRA_PATCHES= ${FILESDIR}/extra-patch-aarch64-race-workaround
69
PLIST=	${.CURDIR}/pkg-plist.aarch64
70
PLIST=	${.CURDIR}/pkg-plist.aarch64
70
.endif
71
.endif
71
72
(-)lang/mono/files/extra-patch-aarch64-race-workaround (+26 lines)
Added Link Here
1
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195063&action=diff#i/lang/mono/files/extra-patch-aarch64-race-workaround_sec1
2
3
Workaround for Roslyn crash: https://github.com/mono/mono/issues/7017
4
5
--- mcs/build/profiles/basic.make.orig	2021-11-08 19:42:34.845483000 +0100
6
+++ mcs/build/profiles/basic.make	2021-11-08 19:43:00.996003000 +0100
7
@@ -47,7 +47,7 @@ LIBRARY_COMPILE = $(BOOT_COMPILE)
8
 #
9
 # Copy from rules.make because I don't know how to unset MCS_FLAGS
10
 #
11
-USE_MCS_FLAGS = /codepage:$(CODEPAGE) /nologo /noconfig /deterministic $(LOCAL_MCS_FLAGS) $(PLATFORM_MCS_FLAGS) $(PROFILE_MCS_FLAGS) $(MCS_FLAGS)
12
+USE_MCS_FLAGS = /codepage:$(CODEPAGE) /parallel- /nologo /noconfig /deterministic $(LOCAL_MCS_FLAGS) $(PLATFORM_MCS_FLAGS) $(PROFILE_MCS_FLAGS) $(MCS_FLAGS)
13
 
14
 .PHONY: profile-check do-profile-check
15
 profile-check:
16
--- mcs/build/rules.make.orig	2021-11-08 19:43:05.777570000 +0100
17
+++ mcs/build/rules.make	2021-11-08 19:43:20.886314000 +0100
18
@@ -34,7 +34,7 @@ BUILD_TOOLS_PROFILE = build
19
 endif
20
 endif
21
 
22
-USE_MCS_FLAGS = /codepage:$(CODEPAGE) /nologo /noconfig /deterministic $(LOCAL_MCS_FLAGS) $(PLATFORM_MCS_FLAGS) $(PROFILE_MCS_FLAGS) $(MCS_FLAGS)
23
+USE_MCS_FLAGS = /codepage:$(CODEPAGE) /parallel- /nologo /noconfig /deterministic $(LOCAL_MCS_FLAGS) $(PLATFORM_MCS_FLAGS) $(PROFILE_MCS_FLAGS) $(MCS_FLAGS)
24
 USE_MBAS_FLAGS = /codepage:$(CODEPAGE) $(LOCAL_MBAS_FLAGS) $(PLATFORM_MBAS_FLAGS) $(PROFILE_MBAS_FLAGS) $(MBAS_FLAGS)
25
 USE_CFLAGS = $(LOCAL_CFLAGS) $(CFLAGS) $(CPPFLAGS)
26
 CSCOMPILE = $(Q_MCS) $(MCS) $(USE_MCS_FLAGS)

Return to bug 261332