Repository navigation
ci msys2: Add mruby patch for Windows ARM64 support - #2648
Merged
Merged
Conversation
Add a patch to fix mruby build issues on Windows ARM64 environments. The patch modifies mruby's `throw.h` to avoid using `__builtin_setjmp` and `__builtin_longjmp` on ARM64, which are not supported. This is a temporary workaround as the issue has already been resolved upstream: mruby/mruby#6637. The patch can be removed once mruby is updated to a version that includes the upstream fix.
otegami
force-pushed
the
add-mruby-patch-for-arm64-environment
branch
from
November 12, 2025 04:29
4e330db to
e8fd7b1
Compare
otegami
commented
Nov 12, 2025
| "${MINGW_PACKAGE_PREFIX}-xsimd") | ||
| sha256sums=('SKIP') | ||
| sha256sums=('SKIP' | ||
| 'SKIP') |
Contributor
Author
There was a problem hiding this comment.
This hashed value doesn't work.
$ sha256sum ci/msys2/001-aarch64.patch
2be9596d644bfe5cdf32ce2d89ec380c64870abfba37d2c5310c8664003e191d ci/msys2/001-aarch64.patch==> Retrieving sources...
-> Found groonga-15.2.1.tar.gz
-> Found 001-aarch64.patch
==> Validating source files with sha256sums...
groonga-15.2.1.tar.gz ... Skipped
001-aarch64.patch ... FAILED
==> ERROR: One or more files did not pass the validity check!
Remove the diff for vendor/mruby-include/mruby/throw.h which doesn't exist in the distribution tarball. Keep only the diff for vendor/mruby-source/include/mruby/throw.h which is the actual file that needs to be patched.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub: GH-2646
We add a patch to fix the following build error about mruby on Windows ARM64 environments. The patch modifies mruby's
throw.hto avoid using__builtin_setjmpand__builtin_longjmpon ARM64, which are not supported.ref: https://github.com/groonga/groonga/actions/runs/19283288685/job/55138731280#step:8:936
This is a temporary workaround as the issue has already been resolved upstream: mruby/mruby#6637.
The patch can be removed once bundled mruby is updated to a version that includes the upstream fix.