ffi: MacOS: error 'cputype does not match previous archive members' since ffi-1.9.21

Hi,

Today our project that depends on compass, that depends on ffi, stopped building. To workaround, I changed:

gem install -i ./compass compass --version $COMPASS_VERSION

to

CFLAGS="--disable-asm-optimizations" gem install -i ./compass compass --version $COMPASS_VERSION

Hope this helps.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 2
  • Comments: 15 (5 by maintainers)

Commits related to this issue

Most upvoted comments

brew install automake

Worked for me.

@matteosecli Thanks for the confirmation! I just pushed final ffi-1.9.23 to rubygems.org. It should fix this issue, so that the workaround to use CFLAGS="--disable-asm-optimizations" isn’t needed any longer.