Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2025 12:06:11 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Kyle Evans <kevans@freebsd.org>
Cc:        Brooks Davis <brooks@freebsd.org>, <src-committers@freebsd.org>, <dev-commits-src-all@freebsd.org>, <dev-commits-src-main@freebsd.org>, <sjg@juniper.net>
Subject:   Re: git: 78661696e639 - main - loader: i386: use -z nostart-stop-gc for bfd as well
Message-ID:  <34618.1746817571@kaos.jnpr.net>
In-Reply-To: <b8172cff-1668-4046-8559-a1b6553abc1e@FreeBSD.org>
References:  <202505081947.548JlM93086830@gitrepo.freebsd.org> <aB07nUb4QPCPpyLF@spindle.one-eyed-alien.net> <b8172cff-1668-4046-8559-a1b6553abc1e@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> Apparently it did not become the default, so it's not clear how Simon's
> build was different.  OTOH, I'm not sure if that really changes anything

My issue was /usr/local/bin/ld (bfd) vs /usr/bin/ld (lld)
stand/i386/loader/Makefile was only adding -Wl,-z,nostart-stop-gc
for lld and that loader does not work without it.

> (except that the mystery isn't fully solved)- if it's possible to
> configure such a bfd, IMO it doesn't hurt to use it since these
> sections/symbols being retained is critical.
> 
> I don't see any reason not to drop the version bits.  Ubuntu 22.04 seems
> to have binutils 2.38, so that's good at least -- I wasn't sure if the
> timing on 2.37 was right for that (or even what Ubuntu's policy is there).
> 
> Thanks,
> 
> Kyle Evans



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34618.1746817571>