git: 8921bf5b397e - main - audio/surge-synthesizer-lv2: fix build on aarch64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 28 Sep 2025 09:31:08 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8921bf5b397e78af405e28160173a5fe86cadb81
commit 8921bf5b397e78af405e28160173a5fe86cadb81
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-09-25 15:59:04 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-09-28 09:29:34 +0000
audio/surge-synthesizer-lv2: fix build on aarch64
armv7 should work, but the compiler crashes.
Approved by: portmgr (build fix blanket)
MFH: 2025Q3
Event: EuroBSDcon Devsummit 2025
---
audio/surge-synthesizer-lv2/Makefile | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/audio/surge-synthesizer-lv2/Makefile b/audio/surge-synthesizer-lv2/Makefile
index 66fc884e3538..a98bb572de63 100644
--- a/audio/surge-synthesizer-lv2/Makefile
+++ b/audio/surge-synthesizer-lv2/Makefile
@@ -12,9 +12,7 @@ WWW= https://surge-synthesizer.github.io/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_aarch64= error: use of undeclared identifier '__builtin_ia32_packssdw'
-BROKEN_armv6= emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64, see https://github.com/surge-synthesizer/surge/issues/6418
-BROKEN_armv7= emmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64, see https://github.com/surge-synthesizer/surge/issues/6418
+BROKEN_armv7= fatal error: error in backend: Cannot select: 0x263f6370: v4f32 = froundeven 0x263f4eb0
BROKEN_powerpc= compilation fails due to a problem in the clang header, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276794
BROKEN_powerpc64= compilation fails due to a problem in the clang header, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276794
BROKEN_powerpc64le= compilation fails due to a problem in the clang header, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276794
@@ -58,6 +56,10 @@ GH_TUPLE= \
LDFLAGS+= -lexecinfo
+CMAKE_ARGS_aarch64= -DLINUX_ON_ARM:BOOL=ON
+CMAKE_ARGS_armv7= -DLINUX_ON_ARM:BOOL=ON
+CMAKE_ARGS+= ${CMAKE_ARGS_${ARCH}}
+
BINARY_ALIAS= python=${PYTHON_CMD} # git=false
PORTSCOUT= ignore:1