./devel/libffi, Foreign function interface

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.3nb1, Package name: libffi-3.3nb1, Maintainer: asau

The libffi library provides a portable, high level programming
interface to various calling conventions. This allows a programmer to
call any function specified by a call interface description at
run-time.

Some programs may not know at the time of compilation what arguments
are to be passed to a function. For instance, an interpreter may be
told at run-time about the number and types of arguments used to call
a given function. Libffi can be used in such programs to provide a
bridge from the interpreter program to compiled code.

Ffi stands for Foreign Function Interface. A foreign function
interface is the popular name for the interface that allows code
written in one language to call code written in another language. The
libffi library really only provides the lowest, machine dependent
layer of a fully featured foreign function interface. A layer must
exist above libffi that handles type conversions for values passed
between the two languages.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 8df6cb570c8d6596a67d1c0773bf00650154f7aa
RMD160: 2cd43b66d792f1bad76df2e19a8411beacfcb8e0
Filesize: 1274.869 KB

Version history: (Expand)


CVS history: (Expand)


   2020-03-21 17:08:35 by Rin Okuyama | Files touched by this commit (3)
Log message:
Fix build for ILP32 powerpc, which doesn't have 128-bit-length data types.
   2020-03-16 10:35:47 by Rin Okuyama | Files touched by this commit (2)
Log message:
Readd support for NetBSD/mips.
   2020-03-04 17:35:58 by Tobias Nygren | Files touched by this commit (1)
Log message:
libffi: bump bl3 for solib major change.

XXX needs recursive bump
   2020-02-28 23:37:24 by Tobias Nygren | Files touched by this commit (3)
Log message:
libffi: kludge for aarch64. Bump rev.

Disable i-cache flushing. This is wrong but the previous version of
libffi didn't do it either and that worked in practice.
   2020-02-28 19:14:28 by Tobias Nygren | Files touched by this commit (2)
Log message:
libffi: provide a stub function as temporary band aid for aarch64
   2020-02-28 17:36:14 by Tobias Nygren | Files touched by this commit (2)
Log message:
Back out previous patch.

Although it made the package link, python is still broken on aarch64:

*** WARNING: renaming "_ctypes" since importing it failed: \ 
/usr/pkg/lib/libffi.so.7: Undefined PLT symbol \ 
"ffi_data_to_code_pointer" (symnum = 50)
   2020-02-28 16:44:36 by Tobias Nygren | Files touched by this commit (2)
Log message:
libffi: deal with fallout on aarch64
   2020-02-28 14:20:10 by Jonathan Perkin | Files touched by this commit (1)
Log message:
libffi: Restrict perl to SunOS, as requested by joerg.