[Webkit-unassigned] [Bug 236829] Can't run WebKit (local build & nightly build) with Safari on M1 Max

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 22 21:21:21 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=236829

--- Comment #13 from Lingyun Cai <clyun2002 at 126.com> ---
Thanks for the update!

I further checked the logs of run-safari script, seems that the failure was also caused by the arm64/arm64e architecture mismatch on below 7 frameworks/libraries:
- JavaScriptCore.framework
- WebKit.framework
- WebCore.framekwork
- WebKitLegacy.framework
- WebInspectorUI.framework
- libwebrtc.dylib
- libANGLE-shared.dylib

dyld[7213]: find path "/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore"
dyld[7213]:   possible path(DYLD_FRAMEWORK/LIBRARY_PATH): "/Users/lingyun/webkit-codebase/webkit/WebKitBuild/Debug/JavaScriptCore.framework/Versions/A/JavaScriptCore"
dyld[7213]:   found: dylib-from-disk-to-override-cache: "/Users/lingyun/webkit-codebase/webkit/WebKitBuild/Debug/JavaScriptCore.framework/Versions/A/JavaScriptCore"
dyld[7213]:   found: dylib-from-disk-to-override-cache-error: "/Users/lingyun/webkit-codebase/webkit/WebKitBuild/Debug/JavaScriptCore.framework/Versions/A/JavaScriptCore" => "mach-o file, but is an incompatible architecture (have 'arm64', need 'arm64e')"
dyld[7213]:   possible path(original path): "/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore"

As the required arch is arm64e rather than arm64 for these frameworks/libraries on Apple silicon MacOS, have you considered adding arm64e to the default building architecture target of WebKit? In this case, there should be no issue in running both local build and nightly build WebKit with Safari.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220223/44803344/attachment.htm>


More information about the webkit-unassigned mailing list