Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Dec 2021 19:03:35 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: 2033f841ae63 - main - math/blis: fix build on riscv64
Message-ID:  <202112241903.1BOJ3ZI5059121@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=2033f841ae632c6537027d614f237d8e33f34c17

commit 2033f841ae632c6537027d614f237d8e33f34c17
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-12-24 19:00:03 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-12-24 19:00:03 +0000

    math/blis: fix build on riscv64
    
    ld: error: test.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented
    linker relaxation; recompile with -mno-relax
---
 math/blis/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/math/blis/Makefile b/math/blis/Makefile
index 24d3013615df..ad40702db9ac 100644
--- a/math/blis/Makefile
+++ b/math/blis/Makefile
@@ -26,6 +26,7 @@ CBLAS_DESC=	build the CBLAS compatibility layer
 OPTIONS_DEFAULT=	PARA CBLAS
 OPTIONS_SUB=		yes
 
+CFLAGS_riscv64=	-mno-relax
 HAS_CONFIGURE=	yes
 
 TEST_TARGET=	test



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