Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Dec 2023 10:08:55 GMT
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: b54754413248 - main - devel/libffi: fix build with lld17
Message-ID:  <202312241008.3BOA8tJa056750@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

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

commit b547544132486acbe86da6d9e729ae13a4fd6e54
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-12-23 16:59:59 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-12-24 10:08:43 +0000

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

diff --git a/devel/libffi/Makefile b/devel/libffi/Makefile
index 323748103ded..6385271efbdd 100644
--- a/devel/libffi/Makefile
+++ b/devel/libffi/Makefile
@@ -22,6 +22,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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202312241008.3BOA8tJa056750>