Re: BUG #15844: MIPS: remove .set mips2 in s_lock.h to fix r6 build - Mailing list pgsql-bugs

From Andres Freund
Subject Re: BUG #15844: MIPS: remove .set mips2 in s_lock.h to fix r6 build
Date
Msg-id 20190617163207.kgi5m4v2g2m252t5@alap3.anarazel.de
Whole thread Raw
In response to Re: BUG #15844: MIPS: remove .set mips2 in s_lock.h to fix r6 build  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #15844: MIPS: remove .set mips2 in s_lock.h to fix r6 build
List pgsql-bugs
Hi,

On 2019-06-16 12:16:53 -0400, Tom Lane wrote:
> (We should not do anything if --disable-spinlocks has been specified,
> btw, since then we don't need those asm commands to work.  This is
> and would remain the workaround for building PG for MIPS-I, if some
> benighted soul insists on doing that.)

I think we're pretty much at the point where we should just rip out all
of our own spinlock implementations for non-common platforms, and solely
rely on compiler intrinsics... The open coded ASM really doesn't age
very well, and there's very little chance of us actually testing them
properly.

Greetings,

Andres Freund



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #15856: The program "postgres" was found by "initdb" but was not the same version as initdb.
Next
From: Andres Freund
Date:
Subject: Re: BUG #15851: Concurrent Refresh of Materialized views notpreserving the order of the underlying query