On Tue, 12 Nov 2024 11:24:24 GMT, Shaojin Wen <s...@openjdk.org> wrote:
>> In the JDK code, there are some places that may cause Unsafe offset >> overflow. The probability of occurrence is low, but if it occurs, it will >> cause JVM crash. > > Shaojin Wen has updated the pull request incrementally with one additional > commit since the last revision: > > rename address to offset, from @AlanBateman macos-aarch64 build error, I have been encountering this problem for the past two days. How do I solve it? Run # On macOS we need to install some dependencies for testing # On macOS we need to install some dependencies for testing brew install make sudo xcode-select --switch /Applications/Xcode_14.3.1.app/Contents/Developer # This will make GNU make available as 'make' and not only as 'gmake' echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH shell: /bin/bash --noprofile --norc -e -o pipefail {0} env: MSYS[2](https://github.com/wenshao/jdk/actions/runs/11796223660/job/32858583043#step:7:2)_PATH_TYPE: minimal CHERE_INVOKING: 1 ==> Downloading https://ghcr.io/v2/homebrew/core/make/manifests/4.4.1-1 ==> Fetching make ==> Downloading https://ghcr.io/v2/homebrew/core/make/blobs/sha256:94[3](https://github.com/wenshao/jdk/actions/runs/11796223660/job/32858583043#step:7:3)77dc5a364da305c75fd7aa923a[4](https://github.com/wenshao/jdk/actions/runs/11796223660/job/32858583043#step:7:4)2897993de9edd1eb074428e13c3f2aaf93 ==> Pouring make--4.4.1.arm64_sonoma.bottle.1.tar.gz ==> Caveats GNU "make" has been installed as "gmake". If you need to use it as "make", you can add a "gnubin" directory to your PATH from your bashrc like: PATH="/opt/homebrew/opt/make/libexec/gnubin:$PATH" ==> Summary 🍺 /opt/homebrew/Cellar/make/4.4.1: 1[7](https://github.com/wenshao/jdk/actions/runs/11796223660/job/32858583043#step:7:7) files, 1.3MB xcode-select: error: invalid developer directory '/Applications/Xcode_14.3.1.app/Contents/Developer' Error: Process completed with exit code 1. ------------- PR Comment: https://git.openjdk.org/jdk/pull/22027#issuecomment-2470568595