i#5383: Fix macOS preload on a64#7170
Conversation
This fixes build issues and issues with the preload
|
It appears I broke the x86 macOS tests, not sure what's going on there yet |
If it helps: check out the "Debugging Tests on Github Actions Runner" section at https://dynamorio.org/page_test_suite.html, which documents a way to ssh into the failing test machine. |
|
Alright somehow adding
|
|
I don't think |
|
@edeiana I don't have permissions to merge it myself, actually |
|
You're right, apologies for the confusion, I'll merge this one then. |
This fixes several build and runtime issues under macOS on ARM64 on macOS 14.4.1 (Sonoma)
FEATURE_PAUTHis now detected on macOS using a sysctl (capability MSRs cannot be read in userspace on M3 at least)_initneeds__attribute__((constructor))to be run by dyldPLATFORM_SUPPORTS_SCATTER_GATHERis broken, disabled for now on a64 macOSsimdsize and was failing on an assertKnown issues that remain:
-vm_size 500Mseems to fix this. i#5383: Fix macOS arm64 test build/run #7171 adds this flag to tests on macOS+ARM64. Another option is to make this the default on macOS+ARM64.vmh_exitare reached upon process exitThe end result is that the
bbcounttool works on a simple toy program on macOS, in debug mode, without hitting any asserts:Issue #5383