[GNC-dev] Porting to Apple silicon
Sherlock
sh025622 at gmail.com
Tue Apr 23 21:08:02 EDT 2024
I have a webkitgtk-2.32.0 patch that enables reports to work (included below).
The crash reported in https://bugs.webkit.org/show_bug.cgi?id=248802
occurs because Apple Silicon builds enforces their Hardened Runtime by default (see https://developer.apple.com/documentation/apple-silicon/porting-just-in-time-compilers-to-apple-silicon).
*** PlatformUse.h.orig Tue Apr 23 13:54:25 2024
--- PlatformUse.h Tue Apr 23 14:15:31 2024
***************
*** 313,320 ****
--- 313,323 ----
#define USE_LEGACY_CFNETWORK_DOWNLOADS 1
#endif
+ /*
#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000) \
|| (PLATFORM(MACCATALYST) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140000)
+ */
+ #if OS(MAC_OS_X)
#if USE(APPLE_INTERNAL_SDK)
/* Always use the macro on internal builds */
#define USE_PTHREAD_JIT_PERMISSIONS_API 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20240423/8c59d612/attachment.htm>
More information about the gnucash-devel
mailing list