svn commit: r354896 - head/usr.sbin/jail
Li-Wen Hsu
lwhsu at FreeBSD.org
Wed Nov 20 16:20:50 UTC 2019
Author: lwhsu
Date: Wed Nov 20 16:20:49 2019
New Revision: 354896
URL: https://svnweb.freebsd.org/changeset/base/354896
Log:
Workaround riscv64 build when using binutils 2.33.1
PR: 242109
Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D22457
Modified:
head/usr.sbin/jail/Makefile
Modified: head/usr.sbin/jail/Makefile
==============================================================================
--- head/usr.sbin/jail/Makefile Wed Nov 20 16:06:48 2019 (r354895)
+++ head/usr.sbin/jail/Makefile Wed Nov 20 16:20:49 2019 (r354896)
@@ -15,6 +15,11 @@ NO_WMISSING_VARIABLE_DECLARATIONS=
YFLAGS+=-v
CFLAGS+=-I. -I${.CURDIR}
+# workaround for GNU ld (GNU Binutils) 2.33.1:
+# relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR2'
+# https://bugs.freebsd.org/242109
+CFLAGS+=-Wl,--no-relax
+
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DINET6
.endif
More information about the svn-src-all
mailing list