[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
Mon Feb 21 23:26:12 PST 2022


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

--- Comment #9 from Lingyun Cai <clyun2002 at 126.com> ---
> I see two issues:
> 1. DYLD_ variables are ignored when System Integrity Protection is enabled.
> Disabling SIP shouldn't be required to use SafariForWebKitDevelopment in
> principle, but it is at this time.
> 2. Frameworks aren't getting used because of arm64/arm64e mismatch.
> 
> I don't understand why #2 is not happening on one of your machines.

I've tried below two ways of running WebKit Build Archive on my machines (SIP was disabled for both).
- On my M1 MBP, #1 succeeded but #2 failed with "arm64/arm64e mismatch"
- On my M1 Max MBP, both #1 and #2 failed with "arm64/arm64e mismatch"

#1 - set the env in terminal and execute run-webkit-archive
cd /Users/lingyun/Downloads/290089/Release
export DYLD_FRAMEWORK_PATH=$PWD
export DYLD_LIBRARY_PATH=$PWD
export __XPC_DYLD_FRAMEWORK_PATH=$PWD
export __XPC_DYLD_LIBRARY_PATH=$PWD
export WEBKIT_UNSET_DYLD_FRAMEWORK_PATH=YES
export DYLD_PRINT_LIBRARIES=YES
export DYLD_PRINT_SEARCHING=YES
cd ..
python run-webkit-archive

#2 - invoke SafariForWebKitDevelopment directly
cd /Users/lingyun/Downloads/290089/Release
DYLD_FRAMEWORK_PATH=$PWD DYLD_LIBRARY_PATH=$PWD __XPC_DYLD_FRAMEWORK_PATH=$PWD __XPC_DYLD_LIBRARY_PATH=$PWD WEBKIT_UNSET_DYLD_FRAMEWORK_PATH=YES DYLD_PRINT_LIBRARIES=YES DYLD_PRINT_SEARCHING=YES /Applications/Safari.app/Contents/MacOS/SafariForWebKitDevelopment

Please let me know if there is anything I can do on my machines to help.

-- 
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/20220222/ffcb4c8c/attachment.htm>


More information about the webkit-unassigned mailing list