title: m1 mini bus err0r for webkit compile
body: <p>I installed m1 mini for the first time and am trying to compile webkit. It gives bus error after compiling. How can I solve this?</p>
  <p>Error log : <a href="https://pastebin.pl/view/52c2f4c8" rel="nofollow noreferrer">https://pastebin.pl/view/52c2f4c8</a></p>
  <p>Compile command</p>
  <pre><code>./Tools/Scripts/build-jsc --jsc-only --debug --cmakeargs=&quot;-DCMAKE_C_COMPILER='/opt/homebrew/opt/llvm@13/bin/clang' -DCMAKE_CXX_COMPILER='/opt/homebrew/opt/llvm@13/bin/clang++'&quot;
  </code></pre>
  <p>gcc -v</p>
  <pre><code>Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/4.2.1
  Apple clang version 13.0.0 (clang-1300.0.29.3)
  Target: arm64-apple-darwin21.2.0
  Thread model: posix
  InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  </code></pre>
  <p>g++ -v</p>
  <pre><code>Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/4.2.1
  Apple clang version 13.0.0 (clang-1300.0.29.3)
  Target: arm64-apple-darwin21.2.0
  Thread model: posix
  InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  </code></pre>
  <p>clang -v</p>
  <pre><code>Apple clang version 13.0.0 (clang-1300.0.29.3)
  Target: arm64-apple-darwin21.2.0
  Thread model: posix
  InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  </code></pre>
  <p>clang++ -v</p>
  <pre><code>Apple clang version 13.0.0 (clang-1300.0.29.3)
  Target: arm64-apple-darwin21.2.0
  Thread model: posix
  InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  </code></pre>
  <p>cmake --version</p>
  <pre><code>cmake version 3.22.1
  
  CMake suite maintained and supported by Kitware (kitware.com/cmake).
  </code></pre>
  <p>xcode-select -p</p>
  <pre><code>/Applications/Xcode.app/Contents/Developer
  </code></pre>
  <p>xcodebuild -version</p>
  <pre><code>Xcode 13.0
  Build version 13A233
  </code></pre>
  <p>export</p>
  <pre><code>PPFLAGS=-I/opt/homebrew/opt/llvm/include
  HOME=/Users/test
  LANG=en_US.UTF-8
  LDFLAGS='-L/opt/homebrew/opt/llvm/lib -Wl,-rpath,/opt/homebrew/opt/llvm/lib'
  LOGNAME=test
  OLDPWD=/Users/test/Desktop/WebKit
  PATH=/opt/homebrew/opt/llvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/opt/homebrew/bin
  PWD=/Users/test/Desktop/WebKit
  SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk
  SHELL=/bin/zsh
  SHLVL=3
  SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.bftRi9xtXh/Listeners
  TERM=xterm-256color
  TERM_PROGRAM=Apple_Terminal
  TERM_PROGRAM_VERSION=443
  TERM_SESSION_ID=70DE933F-6F33-4EA6-98C6-683607A7999B
  TMPDIR=/var/folders/8g/q0kqjb8s1cd39l_q4qy87m5c0000gn/T/
  USER=test
  XPC_FLAGS=0x0
  XPC_SERVICE_NAME=0
  __CFBundleIdentifier=com.apple.Terminal
  </code></pre>