Date: Sun, 11 Jul 2021 22:31:37 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: 679903f446f6 - main - devel/creduce: fix build on powerpc Message-ID: <202107112231.16BMVbP8031079@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=679903f446f688a0d13c173f5be6d1f4076790db commit 679903f446f688a0d13c173f5be6d1f4076790db Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-07-11 22:31:25 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-07-11 22:31:25 +0000 devel/creduce: fix build on powerpc libtool: link: /usr/local/bin/clang80 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o unifdef unifdef-unifdef.o ld: error: unifdef.c:(function main: .text+0x1C2): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function main: .text+0x33A): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function main: .text+0x3C2): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function main: .text+0x422): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function main: .text+0x4EE): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function main: .text+0x81A): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function main: .text+0x8B2): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function main: .text+0x94A): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function process: .text+0x187A): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function process: .text+0x1912): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function process: .text+0x1A0E): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function process: .text+0x1A9E): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function process: .text+0x1B16): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function process: .text+0x1B7E): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function process: .text+0x1D72): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function skipcomment: .text+0x226A): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function findsym: .text+0x265A): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function findsym: .text+0x275A): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function eval_unary: .text+0x34D2): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: unifdef.c:(function eval_unary: .text+0x356E): unknown relocation (88) against symbol _ThreadRuneLocale ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) --- devel/creduce/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devel/creduce/Makefile b/devel/creduce/Makefile index ce0ae6ad9254..e1d9811acfe0 100644 --- a/devel/creduce/Makefile +++ b/devel/creduce/Makefile @@ -31,4 +31,10 @@ USES= autoreconf gmake libtool perl5 CFLAGS_powerpc64= -mabi=elfv2 +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc +LLD_UNSAFE= yes +.endif + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107112231.16BMVbP8031079>