Re: -fpic vs. -fPIC - Mailing list pgsql-hackers

From Tom Lane
Subject Re: -fpic vs. -fPIC
Date
Msg-id 8093.1070130086@sss.pgh.pa.us
Whole thread Raw
In response to Re: -fpic vs. -fPIC  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: -fpic vs. -fPIC  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> 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 the risk.

Yes, you'd get a link failure.  On the platforms I've seen it on (HPUX
at least, on an old project with .so's in the dozens-of-megabytes range)
the error message is pretty specific that you should have used -fPIC.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: -fpic vs. -fPIC
Next
From: Bruce Momjian
Date:
Subject: Re: -fpic vs. -fPIC