Re: BUG #19727: pg-combinebackup fails to link - Mailing list pgsql-bugs

From Ross Burton
Subject Re: BUG #19727: pg-combinebackup fails to link
Date
Msg-id CAAnfSTthF_ON_NijsqN8ys=Z=CDzQyBoBUy1osgxN6PpTW8V-A@mail.gmail.com
Whole thread
In response to Re: BUG #19727: pg-combinebackup fails to link  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #19727: pg-combinebackup fails to link
List pgsql-bugs
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



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #19729: Error de memoria compartida
Next
From: PG Bug reporting form
Date:
Subject: BUG #19730: PostgreSQL `pg_backup_start` accepts newlines in the backup label, producing an unrestorable `backup