From: "tenderlovemaking (Aaron Patterson)" Date: 2021-09-24T15:55:01+00:00 Subject: [ruby-core:105411] [Ruby master Bug#18034] Segmentation fault fiddle with `--enable-bundled-libffi` and macOS Issue #18034 has been updated by tenderlovemaking (Aaron Patterson). I was able to reproduce this. My guess is that the bundled libffi is failing to compile, but then the gem compiles against the bundled ffi headers, but links against the hombrew libffi. I opened a PR [here](https://github.com/ruby/fiddle/pull/94) to demonstrate the issue, but I'm not sure how to fix it yet. ---------------------------------------- Bug #18034: Segmentation fault fiddle with `--enable-bundled-libffi` and macOS https://bugs.ruby-lang.org/issues/18034#change-93831 * Author: hsbt (Hiroshi SHIBATA) * Status: Open * Priority: Normal * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- I always got a segmentation fault with `make test-all TESTS="fiddle"` and `--enable-bundled-libffi` on macOS. https://gist.github.com/hsbt/9f7dc9f62e9197b92c5a99384972dad3 ---Files-------------------------------- ruby_2021-07-09-150420_xxx.crash (12.9 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: