Build error with `--enable-bundled-libffi` on Apple DTK(arm64)
hsbt opened this issue · comments
Hiroshi SHIBATA commented
I got the following error with the master branch of ruby/ruby repo and --enable-bundled-liffi
option on Apple DTK(arm64, Big Sur beta6)
https://gist.github.com/hsbt/c4a6cf7dfaf3839998378e9d55faa330
I have no idea to resolve it yet. I will add the additional comment when I find the solution.
Sutou Kouhei commented
It seems that we need to wait a fix in upstream: libffi/libffi#571
But it seems that there is a workaround for it: Homebrew/homebrew-core#58092
We may need to upgrade our bundled libffi to 3.3 to use the workaround.
Sutou Kouhei commented
libffi/libffi#565 may be related too.
Hiroshi SHIBATA commented
same as #98 (comment)