CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

devel/libffi 3.8.0

Foreign Function Interface

Port info

Maintainer
kbowling@FreeBSD.org
Packages
latest: 3.8.0
Upstream
up to date
Last update
to 3.8.0 · 5939902a36
Quarterly
2026Q4: 3.8.0
WWW
https://sourceware.org/libffi/
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install libffi
installs 3.8.0 from latest; from quarterly (2026Q4) 3.8.0
Port
# cd /usr/ports/devel/libffi && make install clean
Size
56 KiB download · 196 KiB installed
Depends on
print/indexinfo 0.3.1_1
License
MIT

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 163.8.03.8.0–
FreeBSD 153.8.03.8.0–
FreeBSD 143.8.03.8.03.8.0

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 153.8.03.8.0–
FreeBSD 143.8.03.8.03.8.0

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 3.8.0.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (93)

Raphael Kubo da Costa (rakuco) · 3.0.11
Fix the build on PowerPC.

andreast@ said he will upstream his patch ASAP.

PR:		ports/175781
Submitted by:	andreast
59a5c26c67
Jung-uk Kim (jkim) · 3.0.11
- Use SOURCEWARE master sites. - Use make for regression test. - Tidy up and make portlint happy.
3f09790cf4
Jung-uk Kim (jkim) · 3.0.11
- Update devel/libffi to 3.0.11. - Reset maintainership for libffi.  See ports/164941.

PR:		ports/171768
Submitted by:	Takefu <takefu@airport.fm>
57945c1ebe
Martin Wilke (miwi) · 3.0.9
- Remove WITH_FBSD10_FIX, is no longer needed
e1c6649edf
Martin Wilke (miwi) · 3.0.9
- Fix build on FreeBSD 10
b7de53741f
Koop Mast (kwm) · 3.0.9
Remove USE_GNOME=gnometarget from ports. It has been a empty keyword since mid 2008.

PR:		ports/159624
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
0e682dded4
Olli Hauer (ohauer) · 3.0.9
-remove MD5
d6db46aade
Koop Mast (kwm) · 3.0.9
$CFLAGS are redundant for compiling .s files. GCC stays quiet, but Clang gives a warning of unused arguments. The configure check greps for warning, so the check fails. Remove $CFLAGS to clang doesn't emit the warnings.

PR:		ports/152480
Submitted by:	me
Patch by:	dim@
Approved by:	maintainer
62ea53c8fb
Max Brazhnikov (makc) · 3.0.9
Fix build on powerpc64

PR:		ports/147565
Submitted by:	Andreas Tobler <andreast at fgznet.ch>
Approved by:	Bjoern Koenig (maintainer)
be39570672
Philip M. Gollucci (pgollucci) · 3.0.9
- Update to 3.0.9

PR:             ports/142237
Submitted by:   Björn König <bkoenig@alpha-tierchen.de>
f430bfdaa4
Dmitry Marakasov (amdmi3) · 3.0.8
- Update to 3.0.8.

PR:		130591
Submitted by:	Björn König <bkoenig at alpha-tierchen dot de> (maintainer)
8190ae3584
Daichi GOTO (daichi) · 3.0.7
- Update to 3.0.7     o Fix for FreeBSD/ppc (Thanks to Andreas Tobler)

PR:		ports/128863
Submitted by:	bkoenig@alpha-tierchen.de (maintainer)
4776874a8b
Stefan Walter (stefan) · 3.0.6
- Update to 3.0.6. - Add symlinks for include files in ${PREFIX}/include.

PR:		127552
Submitted by:	Gea-Suan Lin <gslin@gslin.org>
Patch by:	maintainer
7c1d31f2aa
Pav Lucistnik (pav) · 3.0.4
- Add dependency on pkg-config
d1cb897b70
Pav Lucistnik (pav) · 3.0.4
- Update to 3.0.4

PR:		ports/122398
Submitted by:	Bjoern Koenig <bkoenig@alpha-tierchen.de> (maintainer)
5fa5b0a327
Beech Rintoul (beech) · 3.0.1
- Update to 3.0.1 - Pass maintainership to submitter

PR:		ports/120736
Submitted by:	Bjorn Konig <bkoenig@alpha-tierchen.de>
Approved by:	Horance Chou <horance@freera.net> (maintainer)
c1b7b44ee3
Kris Kennaway (kris) · 1.20_1
Correct legacy a.out packing list format
9932389f3d
Ade Lovett (ade) · 1.20_1
Conversion to a single libtool environment.

Approved by:	portmgr (kris)
8503536d38
Edwin Groothuis (edwin) · 1.20
SHA256ify

Approved by:    krion@
acd87b4ad8
Ade Lovett (ade) · 1.20
Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
54a0b86543
Thierry Thomas (thierry) · 1.20
- register conflict with lang/gcc3* ;

- change maintainer's address.

PR:		ports/79294
Submitted by:	Horance Chou (maintainer)
bf08f12f8a
Joe Marcus Clarke (marcus) · 1.20
Apply a big libtool patch to allow porters to use the libtool installed by the libtoolX ports instead of the one included with each port.  Ports that set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of the included version.  To restore previous behavior, use the new macro, USE_INC_LIBTOOL_VER.  Both macros accept the same argument: a libtool version.

For example, to use the ports version of libtool-1.5, add the following to
your Makefile:

USE_LIBTOOL_VER=        15

To use the included version of libtool with extra hacks provided by
libtool-1.5, add the following to your Makefile:

USE_INC_LIBTOOL_VER=    15

With this change, ports that had to add additional libtool hacks to prevent
.la files from being installed or to fix certain threading issues can now
delete those hacks (after appropriate testing, of course).

PR:		63944
Based on work by:eik and marcus
Approved by:	ade (autotools maintainer)
Tested by:	kris on pointyhat
Bound to be hidden problems:	You bet
9e5632dd66
Trevor Johnson (trevor) · 1.20
SIZEify (maintainer timeout)
8232e82f85
Ade Lovett (ade) · 1.20
Whoa there, boy, that's a mighty big commit y'all have there...

Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
3f651573ad
Kris Kennaway (kris) · 1.20
BROKEN: Configure fails on !i386 and !alpha
bcb966e00b
Akinori MUSHA (knu) · 1.20
De-pkg-comment.
65dac0040a
Kevin Lo (kevlo) · 1.20
Update MASTER_SITES and add WWW.

PR: 44427
Submitted by: MAINTAINER
fcaca518c7
Satoshi Asami (asami) · 1.20
Rename INSTALLS_SHLIBS to INSTALLS_SHLIB.  (There was a typo in the previous commit message to bsd.port.mk, which said INSTALL_SHLIBS.  Boo.)

Line up the rhs of variable assignments nicely.  Remove a couple of extra
whitespaces while I'm here.

Suggested by:	 sobomax
ffb21b5654
Maxim Sobolev (sobomax) · 1.20
Fourth round of INSTALLS_SHLIBS conversion.
dc1177a9a5
Michael Haro (mharo) · 1.20
PORTNAME/PORTVERSION update
ed33fb7de0
Steve Price (steve)
Update MASTER_SITES and fix a few whitespace nits.

PR:		15039
Submitted by:	maintainer
99721d6c06
David E. O'Brien (obrien)
Change Id->FreeBSD.
9a9ac6ba9d
Tim Vanderhoek (hoek)
As threatened, enforce the "Capital, no period" rule.  Ellipses are permitted.  Note that, given current numeric motif of PW, this is done in four equally-sized commits of 393 files each.
748713c3f6
Michael Haro (mharo)
Switch from GNU_CONFIGURE to USE_LIBTOOL with port so that it won't install the .la file.
3aa77171e7
Steve Price (steve)
Fix build on Alpha.
3dbe12fad1
Satoshi Asami (asami)
Fix to make ports work with bsd.port.mk rev. 1.306. ${MACHINE_ARCH}--freebsd${OSREL} is now passed to CONFIGURE_ARGS if GNU_CONFIGURE is defined.  Take the target out of CONFIGURE_ARGS of some ports that added it explicitly; define it as ${MACHINE_ARCH}--freebsd if the port doesn't like the ${OSREL} part; define it as something else (such as ${MACHINE_ARCH}--freebsdelf if the port requires that; d

The last might be a sign that a GNU_CONFIGURE port actually doesn't
use GNU's version of configure at all; but I don't have time to go
look at them all, we'll fix them as time goes on.

At least we've got much fewer "-unknown-"s in the tree as the result. :)
e244b8bccc
Vanilla I. Shu (vanilla)
Sync libttol with peter's suggestion, and remove patches.aout, we dont need it anymore.
43346c0638
Vanilla I. Shu (vanilla)
Add the patch for aout. Submitted by:	maintainer.
41d0adc86f
Vanilla I. Shu (vanilla)
Upgrade to 1.20, remove BROKEN_ELF tag. Submitted by:	maintainer.
70364f181b
Satoshi Asami (asami)
Looks like someone broke this while fixing the ELF case.... ;)

===
/bin/sh ../libtool --mode=link cc -O -pipe  -o ffitest  ffitest.o libffi.la
libtool: link: warning: using a buggy system linker
libtool: link: relinking will be required before `ffitest' can be installed
cc -O -pipe -o .libs/ffitest ffitest.o /usr/ports/devel/libffi/work/libffi-1.18/src/.libs/libffi.so
creating ffitest
./ffitest
ld.so failed: Undefined symbol "ffi_prep_args" in ffitest:/usr/ports/devel/libffi/work/libffi-1.18/src/.libs/libffi.so
*** Error code 1

Stop.
d83046f9ca
Steve Price (steve)
Convert to ELF and remove leading underscores so this builds again.
3e96c034b9
Justin M. Seger (jseger)
Mark BROKEN for ELF: /bin/sh ../libtool --mode=link cc -O -pipe  -o ffitest  ffitest.o libffi.la cc -O -pipe -o .libs/ffitest ffitest.o -Wl,-rpath -Wl,/usr/local/lib .libs/libffi.so .libs/libffi.so: undefined reference to `ffi_call_SYSV' .libs/libffi.so: undefined reference to `_ffi_prep_args' *** Error code 1
75758e7d51
Steve Price (steve)
Initial import of libffi version 1.18. Foreign Function Interface.

PR:		6943
Submitted by:	Horance Chou <horance@freedom.ie.cycu.edu.tw>
a0b236c245