Re: Link requirements creep

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Marko Kreen <markokr(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Link requirements creep
Date: 2008-05-18 01:02:23
Message-ID: 482F801F.5010308@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
>
>> 1. Use -Wl,--as-needed as linker flag. Portability unknown...
>> Can be autoconfed.
>>
>
> This might actually be the best solution. OS X has a similar disease
> but some trolling of the ld man page suggests that -dead_strip_dylibs
> might work there. Taking this path would amount to assuming that all
> linkers we care about either have an equivalent switch or don't link
> unrequired libraries in the first place.
>
>
>

Didn't we run into problems with this before?

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Steve Singer 2008-05-18 01:36:50 Re: [rfc,patch] PL/Proxy in core
Previous Message Tom Lane 2008-05-18 00:19:35 Re: Link requirements creep