Re: CVS Head psql bug?

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: CVS Head psql bug?
Дата
Msg-id 20080626.084045.62235971.t-ishii@sraoss.co.jp
обсуждение исходный текст
Ответ на Re: CVS Head psql bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: CVS Head psql bug?
Список pgsql-hackers
> Tatsuo Ishii <ishii@sraoss.co.jp> writes:
> > So the difference seems:
> > --as-needed -Wl,
> > is added to CVS Head.
> 
> There is code in configure that's supposed to check whether or not that
> breaks readline.  Would you look at the portion of config.log where it
> tests that, and see why it failed to notice a problem?

It seems configure only checks whether linking was successful. I think
it should check whether ./conftest was successful.

configure:25642: checking if gcc supports -Wl,--as-needed
configure:25674: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels
-fno-strict-aliasing -D_GNU_SOURCE    -Wl,--as-needed conftest.c -lz -lreadline -lncurses -lcrypt -ldl -lm  >&5
 
configure:25680: $? = 0
configure:25686: result: yes
configure:25765: using CFLAGS=-O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels
-fno-strict-aliasing
configure:25767: using CPPFLAGS= -D_GNU_SOURCE 
configure:25769: using LDFLAGS=  -Wl,--as-needed
configure:25911: creating ./config.status
--
Tatsuo Ishii
SRA OSS, Inc. Japan


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: CVS Head psql bug?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Creating a VIEW with a POINT column