Re: CVS Head psql bug? - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: CVS Head psql bug?
Date
Msg-id 20080626.090842.27388797.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: CVS Head psql bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: CVS Head psql bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Tatsuo Ishii <ishii@sraoss.co.jp> writes:
> > It seems configure only checks whether linking was successful. I think
> > it should check whether ./conftest was successful.
> 
> Wouldn't work when cross-compiling. 

But configure already does this, doesn't it?

configure:24466: checking for working memcmp
configure:24519: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels
-fno-strict-aliasing -D_GNU_SOURCE    conftest.c -lz -lreadline -lncurses -lcrypt -ldl -lm  >&5
 
configure:24522: $? = 0
configure:24528: ./conftest
configure:24531: $? = 0
configure:24547: result: yes

> What platform is this exactly?

The Linux distributions is "Vine Linux", which is a variant of Red Hat
Linux (I think).

$ uname -a
Linux localhost.localdomain 2.6.16-0vl76.33 #1 SMP Fri Feb 15 11:06:36 JST 2008 i686 i686 i386 GNU/Linux
--
Tatsuo Ishii
SRA OSS, Inc. Japan


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: CVS Head psql bug?
Next
From: Mark Mielke
Date:
Subject: Re: Creating a VIEW with a POINT column