dev-libs / libffi

a portable, high level programming interface to various calling conventions

Official package sites : https://sourceware.org/libffi/ ·

Compilers for high level languages generate code that follow certain conventions. These conventions are necessary, in part, for separate compilation to work. One such convention is the "calling convention". The "calling convention" is essentially a set of assumptions made by the compiler about where function arguments will be found on entry to a function. A "calling convention" also specifies where the return value for a function is found. 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. 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. 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.

v3.3-r1 :: 0/7 :: gentoo

Modified
License
MIT
Keywords
~alpha ~amd64 ~amd64-linux ~arm ~arm64 ~hppa ~ia64 ~m68k ~m68k-mint ~mips ~ppc ~ppc-aix ~ppc-macos ~ppc64 ~riscv ~s390 ~sh ~sparc ~sparc-solaris ~sparc64-solaris ~x64-cygwin ~x64-macos ~x64-solaris ~x86 ~x86-linux ~x86-macos ~x86-solaris
USE flags
debug static-libs test test-bhaible

v3.3 :: 0/7 :: gentoo

Modified
License
MIT
Keywords
~alpha ~amd64 ~amd64-linux ~arm ~arm64 ~hppa ~ia64 ~m68k ~m68k-mint ~mips ~ppc ~ppc-aix ~ppc-macos ~ppc64 ~riscv ~s390 ~sh ~sparc ~sparc-solaris ~sparc64-solaris ~x64-cygwin ~x64-macos ~x64-solaris ~x86 ~x86-linux ~x86-macos ~x86-solaris
USE flags
debug static-libs test test-bhaible

v3.3_rc2 :: 0/7 :: gentoo

Modified
License
MIT
Keywords
~alpha ~amd64 ~amd64-linux ~arm ~arm64 ~hppa ~ia64 ~m68k ~m68k-mint ~mips ~ppc ~ppc-aix ~ppc-macos ~ppc64 ~riscv ~s390 ~sh ~sparc ~sparc-solaris ~sparc64-solaris ~x64-cygwin ~x64-macos ~x64-solaris ~x86 ~x86-linux ~x86-macos ~x86-solaris
USE flags
debug static-libs test test-bhaible

v3.3_rc1 :: 0/7 :: gentoo

Modified
License
MIT
Keywords
~alpha ~amd64 ~amd64-linux ~arm ~arm64 ~hppa ~ia64 ~m68k ~m68k-mint ~mips ~ppc ~ppc-aix ~ppc-macos ~ppc64 ~riscv ~s390 ~sh ~sparc ~sparc-solaris ~sparc64-solaris ~x64-cygwin ~x64-macos ~x64-solaris ~x86 ~x86-linux ~x86-macos ~x86-solaris
USE flags
debug static-libs test

v3.3_rc0 :: 0/7 :: gentoo

Modified
License
MIT
Keywords
alpha amd64 arm arm64 hppa ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~m68k ~m68k-mint ~mips ~ppc-aix ~ppc-macos ~riscv ~sh ~sparc-solaris ~sparc64-solaris ~x64-cygwin ~x64-macos ~x64-solaris ~x86-linux ~x86-macos ~x86-solaris
USE flags
debug static-libs test

v3.2.1-r3 :: 0 :: gentoo

Modified
License
MIT
Keywords
~alpha ~amd64 ~amd64-linux ~arm ~arm64 ~hppa ~ia64 ~m68k ~m68k-mint ~mips ~ppc ~ppc-aix ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~sparc-solaris ~sparc64-solaris ~x64-cygwin ~x64-macos ~x64-solaris ~x86 ~x86-linux ~x86-macos ~x86-solaris
USE flags
debug static-libs test

v3.2.1-r2 :: 0 :: gentoo

Modified
License
MIT
Keywords
~alpha ~amd64 ~amd64-linux ~arm ~arm64 ~hppa ~ia64 ~m68k ~m68k-mint ~mips ~ppc ~ppc-aix ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~sparc-solaris ~sparc64-solaris ~x64-cygwin ~x64-macos ~x64-solaris ~x86 ~x86-linux ~x86-macos ~x86-solaris
USE flags
debug static-libs test

v3.2.1-r1 :: 0 :: gentoo

Modified
License
MIT
Keywords
~alpha ~amd64 ~amd64-linux ~arm ~arm64 ~hppa ~ia64 ~m68k ~m68k-mint ~mips ~ppc ~ppc-aix ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~sparc-solaris ~sparc64-solaris ~x64-cygwin ~x64-macos ~x64-solaris ~x86 ~x86-linux ~x86-macos ~x86-solaris
USE flags
debug static-libs test

v3.2.1 :: 0 :: gentoo

Modified
License
MIT
Keywords
alpha amd64 arm arm64 hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~amd64-linux ~m68k-mint ~mips ~ppc-aix ~ppc-macos ~sparc-solaris ~sparc64-solaris ~x64-cygwin ~x64-macos ~x64-solaris ~x86-linux ~x86-macos ~x86-solaris
USE flags
debug static-libs test

General

debug
Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
pax_kernel
Use PaX emulated trampolines, for we can't use PROT_EXEC
static-libs
Build static versions of dynamic libraries as well
test
Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
test-bhaible
Run extended regression tests (very slow).

abi_mips

n32
64-bit (32-bit pointer) libraries
n64
64-bit libraries
o32
32-bit libraries

abi_riscv

lp64
64-bit (rv64) soft-float libraries
lp64d
64-bit (rv64) double hard-float libraries

abi_s390

32
32-bit (s390) libraries
64
64-bit (s390x) libraries

abi_x86

32
32-bit (x86) libraries
64
64-bit (amd64) libraries
x32
x32 ABI libraries

app-portage / elt-patches : Collection of patches for libtool.eclass

dev-util / dejagnu : Framework for testing other programs

app-office / wps-office : WPS Office is an office productivity suite

dev-ada / gps : The GNAT Programming Studio

dev-lang / parrot : Virtual machine designed to compile and execute bytecode for dynamic languages

dev-libs / libffi-compat : a portable, high level programming interface to various calling conventions

dev-perl / Glib-Object-Introspection : Dynamically create Perl language bindings

dev-python / pypy-bin : Pre-built version of PyPy

dev-python / pypy3-bin : Pre-built version of PyPy3

dev-util / android-studio : Android development environment based on IntelliJ IDEA

virtual / libffi : A virtual for the Foreign Function Interface implementation

583920
=dev-libs/libffi-3.2.1 - src_test() ignores CC
615748
dev-libs/libffi-3.2.1: libtool strips LDFLAGS/CFLAGS
694978
=dev-libs/libffi-3.3_rc0 and =virtual/libffi-3.3_rc0 stabilization
699796
Drop virtual/libffi in favour of dev-libs/libffi / dev-libs/libffi-compat.
Repository mirror & CI · gentoo
Merge updates from master
Sergei Trofimovich · gentoo
dev-libs/libffi: fix build on ppc32
Reported-by: qmpcggv2ei0p@opayq.com Closes: https://bugs.gentoo.org/701128 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sergei Trofimovich · gentoo
dev-libs/libffi: drop libffi version from includedir, bug #695788
Posting ebuild source note as-is: ``` --includedir= path maintains a few properties: 1. have stable name across libffi versions: some packages like dev-lang/ghc or kde-frameworks/networkmanager-qt embed ${includedir} at build-time. Don't require those to be rebuilt unless SONAME changes. bug #695788 We use /usr/.../${PN} (instead of former /usr/.../${P}). 2. have ${ABI}-specific location as ffi.h is target-dependent. We use /usr/$(get_libdir)/... to have ABI identifier. ``` Before the change libffi installed headers into: /usr/lib/libffi-3.3/include/ /usr/lib64/libffi-3.3/include/ After the change the patchs are: /usr/lib/libffi/include/ /usr/lib64/libffi/include/ Reported-by: Franz Trischberger Bug: https://bugs.gentoo.org/695788 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sergei Trofimovich · gentoo
dev-libs/libffi: bump up to 3.3
Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Aaron Bauman · gentoo
dev-libs/libffi: arm64 stable (bug #694978)
Signed-off-by: Aaron Bauman <bman@gentoo.org> Package-Manager: Portage-2.3.78, Repoman-2.3.17
Repository mirror & CI · gentoo
Merge updates from master
Sergei Trofimovich · gentoo
dev-libs/libffi: RESTRICT="!test? ( test )"
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sergei Trofimovich · gentoo
dev-libs/libffi: bump up to 3.3_rc2
Most interesting fix is x86 stack alignment fix. This decreases flakiness in test failures on 32-bit x86 but does not eliminate all failures. While at it moved out most heavyweight tests to USE=test-bhaible. Reported-by: Alexey Reported-by: Toralf Förster Reported-by: tka Closes: https://bugs.gentoo.org/696854 Closes: https://bugs.gentoo.org/688466 Closes: https://bugs.gentoo.org/698506 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sergei Trofimovich · gentoo
dev-libs/libffi: bump up to 3.3_rc1
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Rolf Eike Beer · gentoo
dev-libs/libffi: stable 3.3_rc0 for hppa, bug #694978
Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sergei Trofimovich · gentoo
dev-libs/libffi: make test logs less verbose
Raw command is not logged anyway. Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Mikle Kolyada · gentoo
dev-libs/libffi: arm stable wrt bug #694978
Package-Manager: Portage-2.3.76, Repoman-2.3.16 RepoMan-Options: --include-arches="arm" Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-libs: Remove *-fbsd KEYWORDS
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Agostino Sarubbo · gentoo
dev-libs/libffi: ppc64 stable wrt bug #694978
Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Agostino Sarubbo · gentoo
dev-libs/libffi: ppc stable wrt bug #694978
Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Agostino Sarubbo · gentoo
dev-libs/libffi: s390 stable wrt bug #694978
Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="s390" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Rolf Eike Beer · gentoo
dev-libs/libffi: stable 3.3_rc0 for sparc, bug #694978
Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Thomas Deutschmann · gentoo
dev-libs/libffi: x86 stable (bug #694978)
Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Mikle Kolyada · gentoo
dev-libs/libffi: amd64 stable wrt bug #694978
Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="amd64" Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sergei Trofimovich · gentoo
dev-libs/libffi: stable 3.3_rc0 for ia64, bug #694978
Package-Manager: Portage-2.3.76, Repoman-2.3.17 RepoMan-Options: --include-arches="ia64" Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Matt Turner · gentoo
dev-libs/libffi-3.3_rc0: alpha stable, bug 694978
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sergei Trofimovich · gentoo
dev-libs/libffi: backport emutramp fix to 3.2.1, bug #694916
Reported-by: spotlight@joscomputing.space Bug: https://bugs.gentoo.org/694916 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Andreas K. Hüttel · gentoo
dev-libs/libffi: keyword ~riscv
Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Fabian Groffen · gentoo
dev-libs/libffi: respect --libdir configure argument
Signed-off-by: Fabian Groffen <grobian@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Repository mirror & CI · gentoo
Merge updates from master
Fabian Groffen · gentoo
dev-libs/libffi: fix compilation for ppc-macos
Signed-off-by: Fabian Groffen <grobian@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Repository mirror & CI · gentoo
Merge updates from master
Sergei Trofimovich · gentoo
dev-libs/libffi: bump up to 3.3_rc0
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11
Repository mirror & CI · gentoo
Merge updates from master
Benda Xu · gentoo
Drop arm-linux keyword from tree.
"arm-linux" is considered deprecated, unmaintained and easily replaced by "arm". Closes: https://bugs.gentoo.org/664598 Reference: https://archives.gentoo.org/gentoo-dev/message/63bafa051cccd1eb3d2ade16823671fa
amynka@gentoo.org · gentoo
*/*: [QA] remove emul-linux-* blockers
Closes: https://github.com/gentoo/gentoo/pull/8074
Sergei Trofimovich · gentoo
dev-libs/libffi: fix small struct handling on ia64, bug #634190
Bug: https://github.com/libffi/libffi/pull/407 Closes: https://bugs.gentoo.org/634190 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Michał Górny · gentoo
*/*: Remove sparc-fbsd keywords
Mike Frysinger · gentoo
dev-libs/libffi: mark 3.2.1 m68k/s390/sh stable
Sergei Trofimovich · gentoo
dev-libs/libffi: clarify comment
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Sergei Trofimovich · gentoo
dev-libs/libffi: allow includedir= override, bug #643582
It's not a fix for bug #643582 as includes location did not change. But a step towards it. Changes are: - updated to EAPI=6 - backported upstream commit https://github.com/libffi/libffi/commit/982b89c01aca99c7bc229914fc1521f96930919b ("Install public headers in the standard path") - but overrode default location as --includedir=/usr/$(get_libdir)/${P}/include/ to keep python from breaking: bug #643582#c2. Reported-by: William L. Thomson Jr. Bug: https://bugs.gentoo.org/643582 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Mart Raudsepp · gentoo
dev-libs/libffi-3.2.1: arm64 stable
Package-Manager: Portage-2.3.19, Repoman-2.3.6 RepoMan-Options: --include-arches="arm64"
Sergei Trofimovich · gentoo
dev-libs/libffi: ia64: fix small struct handling, bug #634190
After FFI_TYPE_COMPLEX was added to libffi ia64 dispatch table was off-by-one in IA-64 specific handling of return values. Bug: https://bugs.gentoo.org/634190 Package-Manager: Portage-2.3.10, Repoman-2.3.3
Matthias Maier · gentoo
dev-libs/libffi: drop old versions, bug #622226
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Robin H. Johnson · gentoo
Drop $Id$ per council decision in bug #611234.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Michael Haubenwallner · gentoo
dev-libs/libffi: keyword ~x64-cygwin
Package-Manager: portage-2.3.3
Fabian Groffen · gentoo
dev-libs/libffi: dropped ~hppa-hpux ~ia64-hpux ~ia64-linux ~x64-freebsd ~x86-freebsd ~x86-interix
Package-Manager: portage-2.3.3
T. Malfatti · gentoo
media-libs/portaudio: Version bump
Agostino Sarubbo · gentoo
dev-libs/libffi: ia64 stable wrt bug #580616
Package-Manager: portage-2.3.0 RepoMan-Options: --include-arches="ia64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Agostino Sarubbo · gentoo
dev-libs/libffi: sparc stable wrt bug #580616
Package-Manager: portage-2.3.0 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Agostino Sarubbo · gentoo
dev-libs/libffi: ppc stable wrt bug #580616
Package-Manager: portage-2.2.28 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Agostino Sarubbo · gentoo
dev-libs/libffi: x86 stable wrt bug #580616
Package-Manager: portage-2.2.28 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Mike Frysinger · gentoo
sourceware: convert to https:// URIs
Jeroen Roovers · gentoo
dev-libs/libffi: Stable for HPPA PPC64 (bug #580616).
Package-Manager: portage-2.3.0_rc1 RepoMan-Options: --ignore-arches
Matt Turner · gentoo
dev-libs/libffi: alpha stable, bug 580616.
Agostino Sarubbo · gentoo
dev-libs/libffi: amd64 stable wrt bug #580616
Package-Manager: portage-2.2.26 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Markus Meier · gentoo
dev-libs/libffi: arm stable, bug #580616
Package-Manager: portage-2.2.28 RepoMan-Options: --include-arches="arm"
Justin Lecher · gentoo
Use https by default
Convert all URLs for sites supporting encrypted connections from http to https Signed-off-by: Justin Lecher <jlec@gentoo.org>
Robin H. Johnson · gentoo
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed