Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2023 20:02:06 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: bce5435ffc80 - main - emulators/mame: fix build on powerpc* CURRENT
Message-ID:  <202306082002.358K26iX011559@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=bce5435ffc8066166eaa63df31ae14cac6f3a03f

commit bce5435ffc8066166eaa63df31ae14cac6f3a03f
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-06-08 19:33:02 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-06-08 20:01:56 +0000

    emulators/mame: fix build on powerpc* CURRENT
    
    Use newer LLVM:
    Assertion failed: (ESI.Type != EST_Uninstantiated), function SubstExceptionSpec, file /usr/local/poudriere/jails/main-powerpc/usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiate.cpp, line 2240.
---
 emulators/mame/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile
index b30e6045915f..ffeae0127dc2 100644
--- a/emulators/mame/Makefile
+++ b/emulators/mame/Makefile
@@ -104,7 +104,11 @@ WITH_DEBUG=	yes
 .endif
 
 .if ${OPSYS} == FreeBSD && ${OSVERSION} > 1400000
+.if ${ARCH:Mpowerpc*}
+USES+=		llvm:min=16,build
+.else
 USES+=		llvm:15,build
+.endif
 MAKE_ENV+=	OVERRIDE_AR="llvm-ar${LLVM_VERSION}" \
 		OVERRIDE_CC="clang${LLVM_VERSION}" \
 		OVERRIDE_CXX="clang++${LLVM_VERSION}" \



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