From: Brad Smith Subject: MariaDB / GNU Astro - mips64 build with Clang To: ports@openbsd.org Date: Fri, 25 Sep 2026 20:36:36 -0400 kirill@ build tested this on mips64 and they now build Ok with Clang. Index: databases/mariadb/Makefile =================================================================== RCS file: /cvs/ports/databases/mariadb/Makefile,v retrieving revision 1.171 diff -u -p -u -p -r1.171 Makefile --- databases/mariadb/Makefile 20 Sep 2026 00:53:44 -0000 1.171 +++ databases/mariadb/Makefile 20 Sep 2026 21:04:22 -0000 @@ -7,7 +7,7 @@ COMMENT-tests= multithreaded SQL databas VERSION= 12.3.3 DISTNAME= mariadb-${VERSION} PKGNAME-main= mariadb-client-${VERSION} -REVISION= 1 +REVISION= 2 EPOCH= 1 CATEGORIES= databases @@ -39,13 +39,7 @@ MULTI_PACKAGES= -main -server -tests DEBUG_PACKAGES= ${BUILD_PACKAGES} # C++11, atomic ops -.if ${MACHINE_ARCH} == "mips64" -# "error: out of range PC16 fixup" -# https://github.com/llvm/llvm-project/issues/112010 -COMPILER= ports-gcc -.else COMPILER= base-clang ports-gcc -.endif LOCALSTATEDIR= ${BASELOCALSTATEDIR}/mysql SOCKET_DIR= /var/run/mysql Index: astro/gnuastro/Makefile =================================================================== RCS file: /cvs/ports/astro/gnuastro/Makefile,v retrieving revision 1.23 diff -u -p -u -p -r1.23 Makefile --- astro/gnuastro/Makefile 24 Jul 2026 17:11:06 -0000 1.23 +++ astro/gnuastro/Makefile 20 Sep 2026 21:04:22 -0000 @@ -1,5 +1,6 @@ COMMENT = GNU Astronomy Utilities DISTNAME = gnuastro-0.24 +REVISION = 0 CATEGORIES = astro SHARED_LIBS += gnuastro 3.1 # 16.0 @@ -16,12 +17,6 @@ COMPILER = base-clang ports-gcc WANTLIB += ${COMPILER_LIBCXX} Lerc bz2 c cfitsio crypto curl git2 WANTLIB += gsl gslcblas jpeg llhttp lzma m nghttp2 nghttp3 ngtcp2 WANTLIB += ngtcp2_crypto_libressl pcre2-8 ssh2 ssl tiff wcs z zstd - -.if ${MACHINE_ARCH} == "mips64" -# "error: out of range PC16 fixup" -# https://github.com/llvm/llvm-project/issues/112010 -COMPILER = ports-gcc -.endif SITES = ${SITE_GNU:=gnuastro/}