X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CAFC052BE6 for ; Sat, 20 Aug 2005 16:10:54 -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 87244-06 for ; Sat, 20 Aug 2005 19:10:44 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 8559252DE2 for ; Sat, 20 Aug 2005 16:10:42 -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 j7KJAgEv002291; Sat, 20 Aug 2005 15:10:42 -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: <20050820154044.GA7412@piware.de> References: <20050724155941.GA27638@piware.de> <20050820154044.GA7412@piware.de> Comments: In-reply-to Martin Pitt message dated "Sat, 20 Aug 2005 17:40:44 +0200" Date: Sat, 20 Aug 2005 15:10:42 -0400 Message-ID: <2290.1124565042@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200508/12 X-Sequence-Number: 2187 Martin Pitt writes: > However, Thiemo Seufer dealt with this and created a proper tas() > function for PostgreSQL on mips, which also works with gcc 4. Of > course this is much better, so I applied his patch in Debian. > I attach the patch. Do you consider applying it upstream? Hm, does this patch actually compile as-is? I'd think you'd need to have the MIPS definition of slock_t placed earlier than the assembly code fragment. regards, tom lane