Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2025 23:47:20 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5b1613afc966 - main - misc/arrow-datafusion: fix build on armv7
Message-ID:  <202501212347.50LNlKMX034350@gitrepo.freebsd.org>

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

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

commit 5b1613afc966939756bd8a00c53c44cafea1c777
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-01-20 14:32:24 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-01-21 23:46:24 +0000

    misc/arrow-datafusion: fix build on armv7
    
    This avoids an address space exhaustion due to LTO.
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2025Q1
---
 misc/arrow-datafusion/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/misc/arrow-datafusion/Makefile b/misc/arrow-datafusion/Makefile
index 31a58d897810..791780ea0ac2 100644
--- a/misc/arrow-datafusion/Makefile
+++ b/misc/arrow-datafusion/Makefile
@@ -454,4 +454,11 @@ CARGO_CRATES=	addr2line-0.24.2 \
 
 PLIST_FILES=	bin/datafusion-cli
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH:Marmv?}
+LTO_UNSAFE=	yes
+CARGO_ENV+=	CARGO_PROFILE_RELEASE_LTO=false
+.endif
+
+.include <bsd.port.post.mk>



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