8.0 beta 1 on linux-mipsel R5900 - Mailing list pgsql-hackers

From Chris
Subject 8.0 beta 1 on linux-mipsel R5900
Date
Msg-id 1093306900.7020.206.camel@dell
Whole thread Raw
Responses Re: 8.0 beta 1 on linux-mipsel R5900
List 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.






Attachment

pgsql-hackers by date:

Previous
From: Steve Atkins
Date:
Subject: Re: fsync and hardware write cache
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: missing data/global