Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 May 2026 10:57:52 +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: d442c49fd613 - main - converters/simdutf: fix build on powerpc64
Message-ID:  <69f87bb0.3159d.5137d669@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=d442c49fd6131a5aef6597ec739ac46ccdf2c5a7

commit d442c49fd6131a5aef6597ec739ac46ccdf2c5a7
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-04-21 12:59:12 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-05-04 10:40:13 +0000

    converters/simdutf: fix build on powerpc64
    
    In file included from /wrkdirs/usr/ports/converters/simdutf/work/simdutf-8.2.0/src/simdutf.cpp:24:
    In file included from /wrkdirs/usr/ports/converters/simdutf/work/simdutf-8.2.0/src/simdutf/ppc64.h:34:
    /wrkdirs/usr/ports/converters/simdutf/work/simdutf-8.2.0/src/simdutf/ppc64/simd.h:22:37: fatal error: use of 'long long' with '__vector' requires VSX support (available on POWER7 or later) to be enabled
       22 | using vec_u64_t = __vector unsigned long long;
          |                                     ^
    15 warnings and 1 error generated.
---
 converters/simdutf/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/converters/simdutf/Makefile b/converters/simdutf/Makefile
index 6fae739ea0f5..ecd1cefe6c7e 100644
--- a/converters/simdutf/Makefile
+++ b/converters/simdutf/Makefile
@@ -36,4 +36,6 @@ ICONV_CMAKE_BOOL=	SIMDUTF_ICONV
 
 TOOLS_CMAKE_BOOL=	SIMDUTF_TOOLS
 
+CXXFLAGS_powerpc64=	-mpower8-vector
+
 .include <bsd.port.mk>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f87bb0.3159d.5137d669>