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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: gcc 4.0 build failures on m68k, mips, and mipsel
Дата
Msg-id 21648.1122226765@sss.pgh.pa.us
обсуждение исходный текст
Ответ на gcc 4.0 build failures on m68k, mips, and mipsel  (Martin Pitt <martin@piware.de>)
Список pgsql-ports
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

В списке pgsql-ports по дате отправления:

Предыдущее
От: Martin Pitt
Дата:
Сообщение: gcc 4.0 build failures on m68k, mips, and mipsel
Следующее
От: "Clark, Andrew"
Дата:
Сообщение: Solaris SPARC - Sun compiler 5.5 - 64 bit