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 BA25852A0C for ; Sun, 24 Jul 2005 14:39:37 -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 22817-10 for ; Sun, 24 Jul 2005 17:39:28 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id C09A852A1F for ; Sun, 24 Jul 2005 14:39:27 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j6OHdQI4021649; Sun, 24 Jul 2005 13:39:26 -0400 (EDT) To: Martin Pitt Cc: pgsql-ports@postgresql.org Subject: Re: gcc 4.0 build failures on m68k, mips, and mipsel In-reply-to: <20050724155941.GA27638@piware.de> References: <20050724155941.GA27638@piware.de> Comments: In-reply-to Martin Pitt message dated "Sun, 24 Jul 2005 17:59:42 +0200" Date: Sun, 24 Jul 2005 13:39:25 -0400 Message-ID: <21648.1122226765@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/19 X-Sequence-Number: 2159 Martin Pitt writes: > I noticed that PostgreSQL does not build any more with gcc 4.0 on > m68k, mips, and mipsel because of bugs/incompatibilities in > src/include/storage/s_lock.h. > Fixing m68k was easy, I attach the patch. This patch unquestionably breaks whatever platforms are using the out-of-line m68k code in s_lock.c. Internal evidence there suggests that at least netbsd will be affected. Perhaps adding "if !defined(__linux__)" to the m68k tests would be better? regards, tom lane