Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI steps for --enable-bundled-libffi #94

Closed
wants to merge 1 commit into from
Closed

Conversation

tenderlove
Copy link
Member

@hsbt reported an issue with --enable-bundled-libffi here.

I added a build that uses this flag, and that build is failing. I was able to reproduce @hsbt's issue. I think it's caused by libffi installed with homebrew and using the --enable-bundled-libffi flag. My guess is that building the bundled libffi is failing, but the gem still compiles with the bundled ffi headers but links against the homebrew libffi.

I'm not sure how to fix yet, but I wanted to send this PR to show the issue.

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that SEGV isn't reproduced in CI. The failed job is just failed by extconf.rb: https://github.com/ruby/fiddle/pull/94/checks?check_run_id=3701968329
How about installing libffi by Homebrew when --enable-bundled-libffi is used in the job?

@@ -12,6 +12,9 @@ jobs:
strategy:
fail-fast: false
matrix:
build_flags:
- ""
- " -- --enable-bundled-libffi"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add this information to name?
We can't distinct this information from the current job list...

@hsbt
Copy link
Member

hsbt commented Oct 7, 2022

I removed --enabled-bundled-libffi feature at #113

@hsbt hsbt closed this Oct 7, 2022
@hsbt hsbt deleted the build-flags branch October 7, 2022 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants