Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2022 16:24:52 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 45b8d900432e - main - audio/faust-lv2: Broken on riscv64
Message-ID:  <202207161624.26GGOqJj073852@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=45b8d900432ead25934b4e6c4e44310b9ab00ca7

commit 45b8d900432ead25934b4e6c4e44310b9ab00ca7
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-16 16:09:18 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-16 16:24:48 +0000

    audio/faust-lv2: Broken on riscv64
    
    Reported by:    fallout
---
 audio/faust-lv2/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/audio/faust-lv2/Makefile b/audio/faust-lv2/Makefile
index 9a9c06a53721..21940234c3b9 100644
--- a/audio/faust-lv2/Makefile
+++ b/audio/faust-lv2/Makefile
@@ -15,6 +15,7 @@ BROKEN_aarch64=		fails to link: can't create dynamic relocation R_AARCH64_ADR_PR
 .if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
 BROKEN_i386=		ld: error: can't create dynamic relocation R_386_32 against symbol: vtable for LV2UI in readonly segment
 .endif
+BROKEN_riscv64=		can't create dynamic relocation R_RISCV_LO12_I against symbol: vtable for LV2UI in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
 
 BUILD_DEPENDS=	lv2>0:audio/lv2 \
 		faust>0:audio/faust \
@@ -32,7 +33,7 @@ CFLAGS_armv7=		-fPIC
 CFLAGS_powerpc=		-fPIC
 CFLAGS_powerpc64=	-fPIC
 CFLAGS_powerpc64le=	-fPIC
-LDFLAGS+=	-fPIC # recommended by 13i386 failure messages, it was only failing 
+LDFLAGS+=		-fPIC # recommended by 13i386 failure messages, it was only failing
 
 OPTIONS_DEFINE_amd64=	SIMD
 OPTIONS_DEFINE_i386=	SIMD



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