Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jun 2026 15:08:42 +0000
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b46cbaf38030 - main - devel/libffi33: fix build on powerpc64le
Message-ID:  <6a1ef1fa.3cbd8.4a8ff80e@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b46cbaf380304ace974baeeccfdbc479ac780763

commit b46cbaf380304ace974baeeccfdbc479ac780763
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-06-02 13:49:58 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-06-02 15:08:31 +0000

    devel/libffi33: fix build on powerpc64le
    
    ld: error: version script assignment of 'LIBFFI_BASE_7.0' to symbol 'ffi_type_longdouble' failed: symbol not defined
---
 devel/libffi33/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devel/libffi33/Makefile b/devel/libffi33/Makefile
index d939880928f1..8b075f076faf 100644
--- a/devel/libffi33/Makefile
+++ b/devel/libffi33/Makefile
@@ -31,6 +31,8 @@ INSTALL_TARGET=	install-strip
 INFO=		libffi
 TEST_TARGET=	check
 
+LDFLAGS+=	-Wl,--undefined-version
+
 post-patch:
 	@${REINPLACE_CMD} -e 's| -Wno-psabi||g' \
 		${WRKSRC}/testsuite/lib/libffi.exp


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1ef1fa.3cbd8.4a8ff80e>