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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make another try at using -Wl, --as-needed to suppress linking of
Date: 2008-05-18 20:13:12
Message-ID: 20080518201313.01360754C54@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-05-19 04:14:25 pgsql: Coercion sanity check in ri_HashCompareOp failed to allow for
Previous Message Andrew Dunstan 2008-05-18 06:50:08 pgsql: Remove old kluge put in to allow Windows regression tests to