Re: configure.in and setproctitle/optreset problem

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: configure.in and setproctitle/optreset problem
Дата
Msg-id 1355810925.30875.4.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на configure.in and setproctitle/optreset problem  (Christoph Berg <christoph.berg@credativ.de>)
Ответы Re: configure.in and setproctitle/optreset problem
Список pgsql-hackers
On Mon, 2012-12-17 at 18:02 +0100, Christoph Berg wrote:
> I have no clue why no one else has seen this bug before, but the
> reason for the error seems to be that configure is invoking the
> setproctitle test including -ledit. libedit.so is linked to libbsd.so,
> which in turn contains setproctitle(), so HAVE_SETPROCTITLE is set
> even this is Linux, not BSD. 

I reported this here:
http://archives.postgresql.org/pgsql-bugs/2012-07/msg00127.php

The correct fix, IMO/IIRC, is to add LDFLAGS=-Wl,--as-needed before
running most of the configure checks, instead of after.




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: [PERFORM] Slow query: bitmap scan troubles
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: WIP: index support for regexp search