-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AppleAppBuilder] Entitlements to run tests on catalyst using the JIT #50637
Conversation
to use the JIT on MacCatalyst we need the hardened runtime and the JIT entitlement. Otherwise mmap() with a MAP_JIT argument fails with EINVAL.
To load libSystem.Native.dylib from the Resources/ directory in the .app bundle. (And possibly to load libicu from homebrew)
Tagging subscribers to this area: @directhex Issue DetailsIt still doesn't pass tests 😄 But now it doesn't crash on startup
Now the tests fail like this:
the xml results file has stack traces like this one:
|
/cc @steveisok @directhex |
I build the runtime with
and run the System.Buffers testsuite with
Now the tests fail like this:
the xml results file has stack traces like this one:
|
Use a list in the builder instead of hardcoding in the template.
use `make run-catalyst`
1143a28
to
9239106
Compare
Hello @lambdageek! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
…shim_mono # By Aaron Robinson (10) and others # Via GitHub * upstream/main: (108 commits) [mbr] Add Apple sample (dotnet#50740) make EstablishProxyTunnelAsync throw on failure status code from proxy (dotnet#50763) Improve RGB Min Max evaluation performance by using 2 or 3 comparison… (dotnet#50622) [mono] More domain cleanups (dotnet#50479) Fix Crossgen2 of PlatformDefaultMemberFunction methods and calls. (dotnet#50754) Disable EventSource generator in design-time builds (dotnet#50741) Fix X509 test failures on Android (dotnet#50301) Do not confuse fgDispBasicBlocks in fgMorphBlocks (dotnet#50703) Enforce 64KB event payload size limit on EventPipe (dotnet#50600) Reorganize CoreCLR native build to reduce CMake reconfigures when the build system is untouched (dotnet#49906) [mbr] Turn on hot reload for iOS, tvOS and MacCatalyst (dotnet#50458) improve connection scavenge logic by doing zero-byte read (dotnet#50545) Resolve call mdtokens when making tier 1 inline observations (dotnet#50675) Annotate APIs in System.Private.Xml (dotnet#49682) Support compiling against OpenSSL 3 headers Change Configuration.Json to use a regular Dictionary. (dotnet#50611) Remove unused BigNumFromBinary P/Invoke (dotnet#50670) Make Ninja the default CMake generator on Windows for the repo (dotnet#49715) [AppleAppBuilder] Entitlements to run tests on catalyst using the JIT (dotnet#50637) [mono] Fix delegate invokes to dynamic methods in mixed mode. (dotnet#50547) ... # Conflicts: # src/mono/dlls/mscordbi/CMakeLists.txt
It still doesn't pass tests, but now it doesn't crash on startup
ICU_DAT_FILE_PATH
since we're not bundling a static ICU. Fixes interpreter runs.a. the JITing entitlement - without it, we can't mmap
MAP_JIT
pages in catalyst appsb. the "disable library validation" entitlement - without it, we can't load the system libicu, or the in-bundle (but unsigned) libSystem.Native.dylib
make run-catalyst