jnr / jffi

Java Foreign Function Interface
Apache License 2.0
168 stars 77 forks source link

Update libffi to 3.4.4 #153

Open headius opened 7 months ago

headius commented 7 months ago

This may help fix #138 if the new trampoline code for closures eliminates the dependency on memfd_create.

headius commented 7 months ago

This will need another look; the new libffi appears to add more hard dependencies on newer glibc, as discovered by @richardstartin in https://github.com/jnr/jffi/issues/138#issuecomment-1943534209.

It would be worth us adding some kind of test that confirms we have not introduced dependencies on too-new glibc.

We also could revisit making it possible to also include binaries that differ by Linux flavor and version, but that's a lot more work.