pgsql: Link postgres from all object files at once, to avoid the - Mailing list pgsql-committers

From petere@postgresql.org (Peter Eisentraut)
Subject pgsql: Link postgres from all object files at once, to avoid the
Date
Msg-id 20080225175542.9FF5A754108@cvs.postgresql.org
Whole thread Raw
Responses Re: pgsql: Link postgres from all object files at once, to avoid the
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: dim@pgfoundry.org (User Dim)
Date:
Subject: pgloader - pgloader: FIX Makefile to ignore some parallel files
Next
From: nanardon@pgfoundry.org (User Nanardon)
Date:
Subject: pgrpm - pgrpm: - return an empty string in case rpmds return null ptr