Date: Thu, 16 Apr 2026 15:28:23 +0000 From: Mitchell Horne <mhorne@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 43f87c1ba8a0 - stable/15 - usr.sbin/jail/Makefile: remove riscv linker workaround Message-ID: <69e10017.1ef25.60f81345@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=43f87c1ba8a0cddbf9b5b3611423fdcb0a5cd433 commit 43f87c1ba8a0cddbf9b5b3611423fdcb0a5cd433 Author: Mitchell Horne <mhorne@FreeBSD.org> AuthorDate: 2026-02-05 16:41:31 +0000 Commit: Mitchell Horne <mhorne@FreeBSD.org> CommitDate: 2026-04-16 15:11:33 +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 (cherry picked from commit 39148cbead211163f7e5a203d7c88ece5c3e30e0) --- 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?69e10017.1ef25.60f81345>
