pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Martin Pitt <martin@piware.de>
Cc: pgsql-ports@postgresql.org
Subject: Re: gcc 4.0 build failures on m68k, mips, and mipsel
Date: Sun, 24 Jul 2005 13:39:25 -0400
Message-ID: <21648.1122226765@sss.pgh.pa.us> (raw)
In-Reply-To: <20050724155941.GA27638@piware.de>
References: <20050724155941.GA27638@piware.de>

Martin Pitt <martin@piware.de> 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



view thread (6+ messages)  latest in thread

Message-ID: <21648.1122226765@sss.pgh.pa.us>
Permalink:  ../21648.1122226765@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21648.1122226765@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: tgl@sss.pgh.pa.us, martin@piware.de
  Subject: Re: gcc 4.0 build failures on m68k, mips, and mipsel
  In-Reply-To: <21648.1122226765@sss.pgh.pa.us>
  References: <20050724155941.GA27638@piware.de> <21648.1122226765@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox