pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jayashankar K B <Jayashankar.KB@lnties.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8
Date: Thu, 23 Feb 2012 15:19:45 -0500
Message-ID: <25095.1330028385@sss.pgh.pa.us> (raw)
In-Reply-To: <1365276B7BDA4C40A519F0B4088230B309710A77@POCITMSEXMB03.LntUniverse.com>
References: <1365276B7BDA4C40A519F0B4088230B309710A77@POCITMSEXMB03.LntUniverse.com>

Jayashankar K B <Jayashankar.KB@lnties.com> writes:
> Hi All,
> I am trying to compile Postgres Source code for ARM cortex A8 architecture.
> While compiling, I got an error message which read "selected processor does not support `swpb r4,r4,[r3]' "
> One of the Postgres forums at the location "http://postgresql.1045698.n5.nabble.com/BUG-6331-Cross-compile-error-aborts-Works-if-disable-spinloc...;
> Mentioned that by using -disable-spinlocks, we can overcome the error at the cost of performance. I did the same and it compiled successfully.
> But the INSTALL guide in Postgres source code mentioned that I should inform the Postgres community in case I am forced to use -disable spinlocks to let the code compile.
> Hence this email. So please suggest me what I should do now.

Try this patch:
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=068e08eebbb2204f525647daad3fe15063...

BTW, please don't cross-post to multiple PG mailing lists; there's very
seldom a good reason to do that.

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <25095.1330028385@sss.pgh.pa.us>
Permalink:  ../25095.1330028385@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25095.1330028385@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Jayashankar.KB@lnties.com, pgsql-general@postgresql.org
  Subject: Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8
  In-Reply-To: <25095.1330028385@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox