Remove PARTIAL_LINKING?

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: pgsql-hackers@postgresql.org, peter_e@gmx.net
Date: 2018-01-21T20:43:56Z
Lists: pgsql-hackers
Hi,

We've still some support for building the backend with PARTIAL_LINKING /
SUBSYS.o instead of the current objfiles.txt approach.
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=9956ddc19164b02dc1925fb389a1af77472eba5e

Any objections to removing that? Seems that's largely just removing a
bit of logic from common.mk.

Note I'm not talking about whatever that aix logic in src/backend is,
that seems independent except for sharing the SUBSYS.o name.


I just encountered this while polishing my JIT patch, which has
*optional* support for building inlinable version of backend
functions. It'd not be hard to make it work for PARTIAL_LINKING, but I
kinda don't see the point 10 years later...

Greetings,

Andres Freund


Commits

  1. Remove PARTIAL_LINKING build mode.

  2. Link postgres from all object files at once, to avoid the error-prone