Date: Thu, 8 May 2025 23:17:49 +0000 From: Brooks Davis <brooks@freebsd.org> To: Kyle Evans <kevans@freebsd.org> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 78661696e639 - main - loader: i386: use -z nostart-stop-gc for bfd as well Message-ID: <aB07nUb4QPCPpyLF@spindle.one-eyed-alien.net> In-Reply-To: <202505081947.548JlM93086830@gitrepo.freebsd.org> References: <202505081947.548JlM93086830@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 08, 2025 at 07:47:22PM +0000, Kyle Evans wrote: > The branch main has been updated by kevans: > > URL: https://cgit.FreeBSD.org/src/commit/?id=78661696e639836c9c41313020308f132057189a > > commit 78661696e639836c9c41313020308f132057189a > Author: Kyle Evans <kevans@FreeBSD.org> > AuthorDate: 2025-05-08 19:47:16 +0000 > Commit: Kyle Evans <kevans@FreeBSD.org> > CommitDate: 2025-05-08 19:47:16 +0000 > > loader: i386: use -z nostart-stop-gc for bfd as well > > binutils 2.37 seems to have added the knob, so let's just use that > version here (it's not clear if GC'ing start/stop symbols was actually > made the default at the time, and it didn't seem worth it to dig much > further). This fixes misbehavior when built with more recent binutils, > as we do rely on linker sets for loader commands that we use. Do we need the version guards any more? Even FreeBSD 12 has LLVM 13 and binutils 2.37 is about to turn 4. -- Brooks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aB07nUb4QPCPpyLF>