Re: compile warnings on cygwin - make check fails - Mailing list pgsql-hackers

From Jason Tishler
Subject Re: compile warnings on cygwin - make check fails
Date
Msg-id 20031010120214.GB1948@tishler.net
Whole thread Raw
In response to compile warnings on cygwin - make check fails  ("Andrew Dunstan" <andrew@dunslane.net>)
Responses Re: compile warnings on cygwin - make check fails  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew,

On Fri, Oct 10, 2003 at 12:25:01AM -0400, Andrew Dunstan wrote:
> WinXP/cygwin/gcc version 3.3.1 (cygming special)

XP Home or Pro?  What version of Cygwin?

> gives these
>  
> tablecmds.c:3528: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> [snip]

FWIW, I saw warnings I never saw before when compiling Python under
Cygwin gcc 3.3.1 yesterday.  I presume gcc 3.3.1 is pickier or more
"chatty" than it was before.  Anyway, Python still passed its full
regression test.

> make check fails (hangs) consistently on parallel tests

Are you getting hangs or connection refused errors.  The Cygwin
PostgreSQL README documents the following issue:
   1. make check can generate spurious regression test failures due to   overflowing the the listen() backlog queue
whichgenerates   connection refused errors.  Note that make installcheck does not   have this problem since it runs all
testssequentially instead of in   large concurrent groups.
 

> max_connections set to 100, shared_buffers set to 1000 by initdb (CVS
> version, not mine).

The above will not have any affects under Cygwin.  IIRC, the listen()
backlog is 200 under server versions of Windows (e.g., 2000 Advanced
Server) and 5 on all other versions (e.g., XP Pro).

Can you try make installcheck instead?

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6


pgsql-hackers by date:

Previous
From: "Andrew Dunstan"
Date:
Subject: Re: [pgsql-hackers-win32] initdb
Next
From: Markus Bertheau
Date:
Subject: [Fwd: [BUGS] pg_autovacuum segv]