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