pgsql: Make another try at using -Wl,--as-needed to suppress linking of - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Make another try at using -Wl,--as-needed to suppress linking of
Date
Msg-id 20080518201313.01360754C54@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Make another try at using -Wl,--as-needed to suppress linking of unnecessary
shared libraries.  We've tried this before and had problems with libreadline
not linking properly on some platforms, but that seems to be a libreadline
bug that may have been fixed by now.  In any case, it's early enough in the
8.4 devel cycle that we can afford to have some transient breakage while
we work out any portability problems.

On Darwin, we try -Wl,-dead_strip_dylibs, which seems to be the equivalent
incantation there.

Modified Files:
--------------
    pgsql/config:
        c-compiler.m4 (r1.16 -> r1.17)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/config/c-compiler.m4?r1=1.16&r2=1.17)
    pgsql:
        configure (r1.594 -> r1.595)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure?r1=1.594&r2=1.595)
        configure.in (r1.560 -> r1.561)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure.in?r1=1.560&r2=1.561)

pgsql-committers by date:

Previous
From: adunstan@postgresql.org (Andrew Dunstan)
Date:
Subject: pgsql: Remove old kluge put in to allow Windows regression tests to
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Coercion sanity check in ri_HashCompareOp failed to allow for