On Tue, 29 Sept 2026 at 16:30, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Hm. The newest Linux installation I have at hand is Fedora 44
> with gcc 16.2 + binutils 2.46, and it doesn't show this behavior.
>
> Can you check on whether gcc is invoking /usr/bin/ld? If it's
> calling some other linker maybe that's the cause.
>
> I'm suspicious in any case that there's something odd about either
> your installation or your environment. I don't recall ever hearing
> a similar complaint, so this linking behavior can't be common.
It's not calling the host ld. Interestingly, this doesn't happen
reliably, I needed to do a loop of builds with make --shuffle to make
it fail. So that suggests there's a missing Makefile dependency
somewhere that normally doesn't cause problems.
I'll dig a little more later, but now I need to cook dinner. :)
Ross