PerlFFI / FFI-Platypus

Write Perl bindings to non-Perl libraries with FFI. No XS required.
91 stars 24 forks source link

libffi 3.4.3 may break Platypus on Linux ARM64 #374

Closed plicease closed 2 years ago

plicease commented 2 years ago

Doing a share install of Alien::FFI with this version of libffi seemed to cause some of the tests to fail. I am pretty sure that I had previously installed with the system libffi, which definitely does work, so I am not sure if older versions of libffi also break Platypus. This version seems to work just fine on macOS ARM64.

AdrianBunk commented 2 years ago

@plicease FYI, this does not seem to be specific to Platypus: https://bugs.debian.org/1021735

plicease commented 2 years ago

@AdrianBunk thanks, I think the right thing to do is block share installs of 3.4.3 in Alien::FFI for Linux+Arm64, and hope the next version fixes this. https://github.com/PerlFFI/Alien-FFI/pull/29

plicease commented 2 years ago

I've released a version of Alien::FFI 0.26 which will block 3.4.3. I will leave this ticket open for now and we can close it if this is resolved in the new version of libffi, or if we can patch it.

plicease commented 2 years ago

See also

plicease commented 2 years ago

Appears to be fixed in libffi 3.4.4.