Skip to content

Commit 29cbfa1

Browse files
authored
Merge pull request #776 from Unity-Technologies/unity-master-staging
Mono Bleeding Edge for Trunk case 980742 - Fix 32-bit Windows Standalone failing to load Mono
2 parents 320954f + 37ff3f5 commit 29cbfa1

File tree

350 files changed

+8297
-4088
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

350 files changed

+8297
-4088
lines changed
File renamed without changes.

.github/ISSUE_TEMPLATE.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
## Steps to Reproduce
2+
3+
1.
4+
2.
5+
3.
6+
7+
## Current Behavior
8+
9+
What is the current behavior?
10+
11+
## Expected Behavior
12+
13+
Please describe the behavior you are expecting
14+
15+
### On which platforms did you notice this
16+
17+
- [ ] macOS
18+
- [ ] Linux
19+
- [ ] Windows
20+
21+
**Version Used**:
22+
23+
You can use `mono --version` or About dialog to obtain this information
24+
25+
### Stacktrace
26+
27+
```
28+
Please copy paste the Stacktrace here if available
29+
```
30+

README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,7 @@ section.
224224
Reporting bugs
225225
==============
226226

227-
To submit bug reports, please use [Xamarin's
228-
Bugzilla](https://bugzilla.xamarin.com/)
227+
To submit bug reports, please [open an issue on the mono GitHub repo](https://github.com/mono/mono/issues/new).
229228

230229
Please use the search facility to ensure the same bug hasn't already
231230
been submitted and follow our
@@ -358,16 +357,6 @@ should be used.
358357

359358
* Or you can specify a path to a libgdiplus.
360359

361-
* `--disable-shared-memory`
362-
363-
* Use this option to disable the use of shared memory in
364-
Mono (this is equivalent to setting the MONO_DISABLE_SHM
365-
environment variable, although this removes the feature
366-
completely).
367-
368-
* Disabling the shared memory support will disable certain
369-
features like cross-process named mutexes.
370-
371360
* `--enable-minimal=LIST`
372361

373362
* Use this feature to specify optional runtime

acceptance-tests/profiler-stress/runner.cs

Lines changed: 12 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,16 @@ static class Program {
6060
static readonly TimeSpan _timeout = TimeSpan.FromHours (9);
6161

6262
static readonly Dictionary<string, Predicate<Benchmark>> _filters = new Dictionary<string, Predicate<Benchmark>> {
63-
{ "ironjs-v8", FilterArmArchitecture },
63+
{ "ironjs-v8", FilterNotOnArm },
64+
{ "msbiology", FilterNever },
6465
};
6566

66-
static readonly Dictionary<string, Action<TestResult>> _processors = new Dictionary<string, Action<TestResult>> {
67-
{ "msbiology", Process32BitOutOfMemory },
68-
};
69-
70-
static string FilterInvalidXmlChars (string text) {
71-
return Regex.Replace (text, @"[^\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\u10000-\u10FFFF]", string.Empty);
67+
static bool FilterNever (Benchmark benchmark)
68+
{
69+
return false;
7270
}
7371

74-
static bool FilterArmArchitecture (Benchmark benchmark)
72+
static bool FilterNotOnArm (Benchmark benchmark)
7573
{
7674
#if ARCH_arm || ARCH_arm64
7775
return false;
@@ -80,23 +78,15 @@ static bool FilterArmArchitecture (Benchmark benchmark)
8078
#endif
8179
}
8280

83-
static void Process32BitOutOfMemory (TestResult result)
84-
{
85-
if (Environment.Is64BitProcess)
86-
return;
87-
88-
if (result.ExitCode == null || result.ExitCode == 0)
89-
return;
90-
91-
if (result.StandardError.Contains ("OutOfMemoryException"))
92-
result.ExitCode = 0;
93-
}
94-
9581
static bool IsSupported (Benchmark benchmark)
9682
{
9783
return _filters.TryGetValue (benchmark.Name, out var filter) ? filter (benchmark) : true;
9884
}
9985

86+
static string ReplaceInvalidXmlChars (string text) {
87+
return Regex.Replace (text, @"[^\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\u10000-\u10FFFF]", string.Empty);
88+
}
89+
10090
static int Main ()
10191
{
10292
var depDir = Path.Combine ("..", "external", "benchmarker");
@@ -227,9 +217,6 @@ static int Main ()
227217
Console.WriteLine (result.StandardError);
228218
}
229219

230-
if (_processors.TryGetValue (bench.Name, out var processor))
231-
processor (result);
232-
233220
results.Add (result);
234221
}
235222

@@ -307,11 +294,11 @@ static int Main ()
307294
writer.WriteStartElement ("failure");
308295

309296
writer.WriteStartElement ("message");
310-
writer.WriteCData (FilterInvalidXmlChars (result.StandardOutput));
297+
writer.WriteCData (ReplaceInvalidXmlChars (result.StandardOutput));
311298
writer.WriteEndElement ();
312299

313300
writer.WriteStartElement ("stack-trace");
314-
writer.WriteCData (FilterInvalidXmlChars (result.StandardError));
301+
writer.WriteCData (ReplaceInvalidXmlChars (result.StandardError));
315302
writer.WriteEndElement ();
316303

317304
writer.WriteEndElement ();

configure.ac

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Process this file with autoconf to produce a configure script.
22
#AC_PREREQ([2.62])
33

4-
AC_INIT(mono, [5.9.0],
4+
AC_INIT(mono, [5.11.0],
55
[http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono])
66

77
AC_CONFIG_SRCDIR([README.md])
@@ -123,6 +123,7 @@ CFLAGS="$CFLAGS -D_REENTRANT -D_GNU_SOURCE -DNO_UNALIGNED_ACCESS -s WASM=1"
123123
CPPFLAGS="$CPPFLAGS -D_REENTRANT -DUSE_MMAP -D_GNU_SOURCE -DNO_UNALIGNED_ACCESS -s WASM=1"
124124
libdl="-ldl"
125125
libgc_threads=pthreads
126+
platform_wasm=yes
126127

127128
else
128129

@@ -368,8 +369,6 @@ case "$host" in
368369
AC_DEFINE(PTHREAD_POINTER_ID)
369370
dnl Haiku does not support static TLS with __thread
370371
with_tls=pthread
371-
dnl Boehm is too much work to backport Haiku support for
372-
support_boehm=no
373372
libgc_threads=pthreads
374373
use_sigposix=yes
375374
;;
@@ -413,6 +412,7 @@ AM_CONDITIONAL(HOST_SIGPOSIX, test x$use_sigposix = xyes)
413412
AM_CONDITIONAL(HOST_ANDROID, test x$platform_android = xyes)
414413
AM_CONDITIONAL(HOST_TIZEN, test x$platform_tizen = xyes)
415414
AM_CONDITIONAL(HOST_IOS, test x$platform_ios = xyes)
415+
AM_CONDITIONAL(HOST_WASM, test x$platform_wasm = xyes)
416416

417417
if test -z "$HOST_DARWIN_TRUE"; then :
418418
PLATFORM_AOT_SUFFIX=.dylib

external/bockbuild

Submodule bockbuild updated 1 file

0 commit comments

Comments
 (0)