Date: Wed, 20 May 2026 08:36:21 +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: eb7f22935b07 - main - math/openblas: fix build on powerpc64 Message-ID: <6a0d7285.41f8f.1923ff82@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=eb7f22935b073e9320ec04439c423891b726a02a commit eb7f22935b073e9320ec04439c423891b726a02a Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2026-05-14 10:42:12 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2026-05-20 08:36:10 +0000 math/openblas: fix build on powerpc64 -lm is necessary: /usr/local/bin/ld: ../libopenblas_ppc970p-r0.3.33.a(bgemm_thread_nn.o): undefined reference to symbol 'sqrt@@FBSD_1.0' /usr/local/bin/ld: /lib/libm.so.5: error adding symbols: DSO missing from command line --- math/openblas/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/math/openblas/Makefile b/math/openblas/Makefile index c6803e90e90b..937afc933223 100644 --- a/math/openblas/Makefile +++ b/math/openblas/Makefile @@ -74,6 +74,7 @@ TARGET_CPU_ARCH= POWER8 .else TARGET_CPU_ARCH= PPC970 . endif +CFLAGS+= -lm .endif .if ${ARCH} == powerpchome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a0d7285.41f8f.1923ff82>
