Re: git: 78661696e639 - main - loader: i386: use -z nostart-stop-gc for bfd as well

From: Simon J. Gerraty <sjg_at_juniper.net>
Date: Fri, 09 May 2025 19:06:11 UTC
> 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