Re: gcc 4.0 build failures on m68k, mips, and mipsel

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martin Pitt <martin(at)piware(dot)de>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: gcc 4.0 build failures on m68k, mips, and mipsel
Date: 2005-07-24 17:39:25
Message-ID: 21648.1122226765@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Martin Pitt <martin(at)piware(dot)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

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Clark, Andrew 2005-07-26 14:06:08 Solaris SPARC - Sun compiler 5.5 - 64 bit
Previous Message Martin Pitt 2005-07-24 15:59:42 gcc 4.0 build failures on m68k, mips, and mipsel