X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7388A52ADE for ; Thu, 14 Jul 2005 12:04:11 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 12215-07 for ; Thu, 14 Jul 2005 15:04:05 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id A445B52C0B for ; Thu, 14 Jul 2005 12:04:04 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 34DAF30B42; Thu, 14 Jul 2005 17:09:10 +0200 (MET DST) From: Chris Browne X-Newsgroups: pgsql.ports Subject: Re: pthreads issue when compiling 7.4.8 on AIX 5.3 -- RESOLVED Date: Thu, 14 Jul 2005 11:02:37 -0400 Organization: cbbrowne Computing Inc Lines: 61 Message-ID: <60fyuhjur6.fsf@dba2.int.libertyrms.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@news.hub.org User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.17 (Jumbo Shrimp, linux) Cancel-Lock: sha1:9gB/YEcEsHoSrPuxqxtU8nHycz0= To: pgsql-ports@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.131 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/14 X-Sequence-Number: 2154 RMohan@arbinet.com ("Mohan, Ross") writes: > *thank you* !! > > Please keep us posted on socket bug progress, is that possible? More news today... --------------------------------------------------------------------- "We have escalated PMR29657 and now have a resolution. We have spoken directly with the lead developer of the socket.h header files: The immediate resolution is to alter _SS_MAXSIZE to = 1025 in /usr/include/sys/socket.h (as was suggested by Chris Browne). This will resolve the immediate problem. IBM will be providing a fix in the next maintenance release with an updated socket.h." ----------------------------------------------------------------------- That differs a bit from what Bull suggested a while back, though I wouldn't be surprised (and would be quite pleased) if the next AIX 5.3 maintenance release used some sort of calculated value rather than 1025. In any case, s/128/1025/ seems to be the resolution to the problem, for now. It'll presumably have the same effect for PostgreSQL 8.x too. I'm not sure if it's worth adding a test case into the PostgreSQL configure script to watch for this issue; if it is, the following would characterize the test... --------------------------------------------------------------- #include #include #include int main (int argc, char *argv[]) { struct sockaddr_storage a; struct sockaddr_un b; printf("Size of sockadr_storage: %d\n", sizeof(a)); printf ("Size of sockaddr_un:%d\n", sizeof(b)); if (sizeof(a) >= sizeof(b)) printf ("Conformant to RFC 3493\n"); else printf ("Non-conformant to RFC 3493\n"); } --------------------------------------------------------------- I suppose I should submit a patch to the AIX FAQ to reflect this issue... -- (format nil "~S@~S" "cbbrowne" "acm.org") http://www.ntlug.org/~cbbrowne/sap.html Rules of the Evil Overlord #78. "I will not tell my Legions of Terror "And he must be taken alive!" The command will be: ``And try to take him alive if it is reasonably practical.''"