pgsql: Link postgres from all object files at once, to avoid the

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Link postgres from all object files at once, to avoid the
Date: 2008-02-25 17:55:42
Message-ID: 20080225175542.9FF5A754108@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Log Message:
-----------
Link postgres from all object files at once, to avoid the error-prone
SUBSYS.o step and allow for better optimization by the linker.

Instead of partial linking into SUBSYS.o, the list of object files is
assembled in objfiles.txt files that are expanded when the final
linking is done.

Because we are not yet sure how long command lines different platforms
can handle, the old way of linking is still available, by defining the
make variable PARTIAL_LINKING (e.g., make all PARTIAL_LINKING=1). If
we determine that this is necessary for some platforms, then we will
document this in a more prominent place.

Modified Files:
--------------
pgsql/src/backend:
Makefile (r1.125 -> r1.126)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/Makefile?r1=1.125&r2=1.126)
common.mk (r1.1 -> r1.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/common.mk?r1=1.1&r2=1.2)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message User Nanardon 2008-02-25 20:38:53 pgrpm - pgrpm: - return an empty string in case rpmds return null ptr
Previous Message User Dim 2008-02-25 17:26:12 pgloader - pgloader: FIX Makefile to ignore some parallel files

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2008-02-25 18:06:36 Re: Questions about indexes with text_pattern_ops
Previous Message Tom Lane 2008-02-25 17:40:28 Re: Questions about indexes with text_pattern_ops