Skip site navigation (1) Skip section navigation (2)

Re: CVS Head psql bug?

From: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: CVS Head psql bug?
Date: 2008-06-26 00:08:42
Message-ID: 20080626.090842.27388797.t-ishii@sraoss.co.jp (view raw or flat)
Thread:
Lists: pgsql-hackers
> Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2008-06-26 00:33:08
Subject: Re: CVS Head psql bug?
Previous:From: Tom LaneDate: 2008-06-26 00:03:31
Subject: Re: CVS Head psql bug?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group