Re: [HACKERS] -fpic vs. -fPIC

2003-11-30 Thread Peter Eisentraut
Greg Stark writes: > My understanding was that at least on some platforms once you need -fPIC for > some libraries you need to make sure they were all compiled with it. That > means it's a pain if any libraries are provided compiled with -fpic because > whenever find one that reaches that threshol

Re: [HACKERS] -fpic vs. -fPIC

2003-11-30 Thread Greg Stark
Lamar Owen <[EMAIL PROTECTED]> writes: > So, no, -fPIC does not appear to be required for libpq. My understanding was that at least on some platforms once you need -fPIC for some libraries you need to make sure they were all compiled with it. That means it's a pain if any libraries are provide

Re: [HACKERS] -fpic vs. -fPIC

2003-11-29 Thread Lamar Owen
On Saturday 29 November 2003 01:07 pm, Tom Lane wrote: > Lamar Owen <[EMAIL PROTECTED]> writes: > > The project lead for the Aurora SPARC Linux project is who recommended it > > in the first place; > We were told equally positively, by equally well-informed persons, that > we should prefer -fpic i

Re: [HACKERS] -fpic vs. -fPIC

2003-11-29 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > Tom Lane wrote: > >> The best I have been able to tell is that none of our .so's are anywhere > >> near large enough to require -fPIC. > > > One question would be what happens when it fails? Does it fail visibly > > so we would hear

Re: [HACKERS] -fpic vs. -fPIC

2003-11-29 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> The best I have been able to tell is that none of our .so's are anywhere >> near large enough to require -fPIC. > One question would be what happens when it fails? Does it fail visibly > so we would hear about it? If so, we can take

Re: [HACKERS] -fpic vs. -fPIC

2003-11-29 Thread Bruce Momjian
Tom Lane wrote: > Lamar Owen <[EMAIL PROTECTED]> writes: > > The project lead for the Aurora SPARC Linux project is who recommended it in > > the first place; > > We were told equally positively, by equally well-informed persons, that > we should prefer -fpic if at all possible. > > The best I h

Re: [HACKERS] -fpic vs. -fPIC

2003-11-29 Thread Tom Lane
Lamar Owen <[EMAIL PROTECTED]> writes: > The project lead for the Aurora SPARC Linux project is who recommended it in > the first place; We were told equally positively, by equally well-informed persons, that we should prefer -fpic if at all possible. The best I have been able to tell is that no

Re: [HACKERS] -fpic vs. -fPIC

2003-11-29 Thread Lamar Owen
On Friday 28 November 2003 12:31 pm, Tom Lane wrote: > Peter Eisentraut <[EMAIL PROTECTED]> writes: > > I've tried building PostgreSQL with -fpic on Sparc and saw no problems. > > So I suggest that we change back to -fpic until we get detailed evidence. > Okay with me. It never struck me that we'

Re: [HACKERS] -fpic vs. -fPIC

2003-11-28 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > I've tried building PostgreSQL with -fpic on Sparc and saw no problems. > So I suggest that we change back to -fpic until we get detailed evidence. Okay with me. It never struck me that we'd really seen adequate evidence that -fPIC was needed. Makef

[HACKERS] -fpic vs. -fPIC

2003-11-28 Thread Peter Eisentraut
Late in the 7.4 release we've added a patch that changed -fpic to -fPIC for Linux Sparc. We wanted to investigate that issue further later on. I've tried building PostgreSQL with -fpic on Sparc and saw no problems. So I suggest that we change back to -fpic until we get detailed evidence. Any oth