Re: -fpic vs. -fPIC

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: -fpic vs. -fPIC
Дата
Msg-id 8093.1070130086@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: -fpic vs. -fPIC  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: -fpic vs. -fPIC
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: -fpic vs. -fPIC
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: -fpic vs. -fPIC