8.0 beta 1 on linux-mipsel R5900

Поиск
Список
Период
Сортировка
От Chris
Тема 8.0 beta 1 on linux-mipsel R5900
Дата
Msg-id 1093306900.7020.206.camel@dell
обсуждение исходный текст
Ответы Re: 8.0 beta 1 on linux-mipsel R5900  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

I've compiled 8.0 beta 1 on a R5900 V3.1 (a playstation 2) running
Linux (PS2 Linux 1) for portability testing.

Here is what make check gave:

Without --disable-spinlocks
compilation *appears* to be fine, but the backends core dumps
on the spinlock assembly in s_lock.c (signal 4 -- illegal
instruction) on first run.

With --disable-spinlocks
all is well except the two floating point tests float4 and float8
out of 96 tests fail. This is likely due to the R5900 not being
fully IEEE-compliant(?) (regression.diffs attached).

--

I'm wondering: would it be hard to fix the assembly spinlock code
for the R5900?
If that's not worth the trouble, would it be a good idea to have
configure disable spinlocks automagically on unsupported platforms?
Or is it to hard to autodetect this?

Bye, Chris.


PS: I've compiled using gcc 2.95.2 and with CFLAGS -O0 -g.






Вложения

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

Предыдущее
От: Steve Atkins
Дата:
Сообщение: Re: fsync and hardware write cache
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: missing data/global