Date: Thu, 05 Feb 2026 16:52:37 +0000 From: Mitchell Horne <mhorne@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 39148cbead21 - main - usr.sbin/jail/Makefile: remove riscv linker workaround Message-ID: <6984cad5.21734.7c3f381b@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=39148cbead211163f7e5a203d7c88ece5c3e30e0 commit 39148cbead211163f7e5a203d7c88ece5c3e30e0 Author: Mitchell Horne <mhorne@FreeBSD.org> AuthorDate: 2026-02-05 16:41:31 +0000 Commit: Mitchell Horne <mhorne@FreeBSD.org> CommitDate: 2026-02-05 16:52:22 +0000 usr.sbin/jail/Makefile: remove riscv linker workaround It links fine with newer binutils 2.44 (and GCC 15), so the workaround can be dropped. Reviewed by: emaste PR: 242109 MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55083 --- usr.sbin/jail/Makefile | 7 ------- 1 file changed, 7 deletions(-) diff --git a/usr.sbin/jail/Makefile b/usr.sbin/jail/Makefile index babe7b9459c0..37400368da76 100644 --- a/usr.sbin/jail/Makefile +++ b/usr.sbin/jail/Makefile @@ -14,13 +14,6 @@ CWARNFLAGS.jailparse.c= ${NO_WUNUSED_BUT_SET_VARIABLE} 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 -.if defined(LINKER_TYPE) && ${LINKER_TYPE} == "bfd" && ${MACHINE} == "riscv" -CFLAGS+=-Wl,--no-relax -.endif - .if ${MK_INET6_SUPPORT} != "no" CFLAGS+= -DINET6 .endifhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6984cad5.21734.7c3f381b>
