Re: [HACKERS] Link requirements creep

2008-05-19 Thread Tom Lane
Andrew Dunstan <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> What I'm inclined to do is move the test for -Wl,--as-needed down till >> after we've determined the readline dependent-libraries situation, and >> then enable it only if we can still link readline with it on. > Works for me. I don't

Re: [HACKERS] Link requirements creep

2008-05-19 Thread Andrew Dunstan
Tom Lane wrote: I wrote: Andrew Dunstan <[EMAIL PROTECTED]> writes: It broke my FC6 box :-( Yeah, I saw. I'm inclined to wait a day to get a handle on the scope of the problem before trying to choose an appropriate fix. So the returns are in, and buildfarm says: t

Re: [HACKERS] Link requirements creep

2008-05-19 Thread Tom Lane
I wrote: > Andrew Dunstan <[EMAIL PROTECTED]> writes: >> It broke my FC6 box :-( > Yeah, I saw. I'm inclined to wait a day to get a handle on the scope > of the problem before trying to choose an appropriate fix. So the returns are in, and buildfarm says: this is only broken on Red Hat-based sys

Re: [HACKERS] Link requirements creep

2008-05-19 Thread Stephen Frost
* Tom Lane ([EMAIL PROTECTED]) wrote: > Greg Smith <[EMAIL PROTECTED]> writes: > > When we noticed this recently, my digging suggested you'll be hard pressed > > to have a RedHat system now without those two installed. > > Indeed, I've not heard any squawks from the field yet. It's still > wrong

Re: [HACKERS] Link requirements creep

2008-05-19 Thread Bjorn Munch
On 18/05 00.59, Tom Lane wrote: > Greg Smith <[EMAIL PROTECTED]> writes: > > On Sat, 17 May 2008, Tom Lane wrote: > >> I was displeased to discover just now that in a standard RPM build of > >> PG 8.3, psql and the other basic client programs pull in libxml2 and > >> libxslt; this creates a package

Re: [HACKERS] Link requirements creep

2008-05-18 Thread Tom Lane
Andrew Dunstan <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> I've been testing a new patch and do not see the problem on Fedora 8, >> so at least that platform's readline seems to be fixed. > It broke my FC6 box :-( Yeah, I saw. I'm inclined to wait a day to get a handle on the scope of the p

Re: [HACKERS] Link requirements creep

2008-05-18 Thread Andrew Dunstan
Tom Lane wrote: I've been testing a new patch and do not see the problem on Fedora 8, so at least that platform's readline seems to be fixed. I find the hack Martijn proposes in the above message to be pretty ugly, so what I'm inclined to do is leave that out for now and see what failures we g

Re: [HACKERS] Link requirements creep

2008-05-17 Thread Tom Lane
Greg Smith <[EMAIL PROTECTED]> writes: > On Sat, 17 May 2008, Tom Lane wrote: >> I was displeased to discover just now that in a standard RPM build of >> PG 8.3, psql and the other basic client programs pull in libxml2 and >> libxslt; this creates a package dependency that should not be there >> by

Re: [HACKERS] Link requirements creep

2008-05-17 Thread Greg Smith
On Sat, 17 May 2008, Tom Lane wrote: I was displeased to discover just now that in a standard RPM build of PG 8.3, psql and the other basic client programs pull in libxml2 and libxslt; this creates a package dependency that should not be there by any stretch of the imagination. When we noticed

Re: [HACKERS] Link requirements creep

2008-05-17 Thread Tom Lane
Andrew Dunstan <[EMAIL PROTECTED]> writes: >>> 1. Use -Wl,--as-needed as linker flag. Portability unknown... > Didn't we run into problems with this before? Hm, yeah, thanks for reminding me to check the archives. We tried to do exactly this three years ago, and it crashed and burned. See ht

Re: [HACKERS] Link requirements creep

2008-05-17 Thread Andrew Dunstan
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 am

Re: [HACKERS] Link requirements creep

2008-05-17 Thread Tom Lane
"Marko Kreen" <[EMAIL PROTECTED]> writes: > On 5/18/08, Tom Lane <[EMAIL PROTECTED]> wrote: >> I was displeased to discover just now that in a standard RPM build of >> PG 8.3, psql and the other basic client programs pull in libxml2 and >> libxslt; this creates a package dependency that should not

Re: [HACKERS] Link requirements creep

2008-05-17 Thread Marko Kreen
On 5/18/08, Tom Lane <[EMAIL PROTECTED]> wrote: > I was displeased to discover just now that in a standard RPM build of > PG 8.3, psql and the other basic client programs pull in libxml2 and > libxslt; this creates a package dependency that should not be there > by any stretch of the imagination

[HACKERS] Link requirements creep

2008-05-17 Thread Tom Lane
I was displeased to discover just now that in a standard RPM build of PG 8.3, psql and the other basic client programs pull in libxml2 and libxslt; this creates a package dependency that should not be there by any stretch of the imagination. The reason of course is that configure puts -lxml2 -lxsl