Segmentation fault fiddle with `--enable-bundled-libffi` and macOS
I always got a segmentation fault with
make test-all TESTS="fiddle" and
--enable-bundled-libffi on macOS.
Updated by tenderlovemaking (Aaron Patterson) about 2 years ago
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 to demonstrate the issue, but I'm not sure how to fix it yet.
Updated by hsbt (Hiroshi SHIBATA) about 2 years ago
- Status changed from Open to Assigned
- Assignee set to kou (Kouhei Sutou)
Updated by hsbt (Hiroshi SHIBATA) about 1 year ago
- Status changed from Assigned to Closed
I created https://github.com/ruby/fiddle/pull/113. It removed
--enable-bundled-libffi and add
--with-libffi-source-dir. We leave from the bundled source code from Ruby 3.2.