Skip site navigation (1) Skip section navigation (2)

Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jayashankar K B <Jayashankar(dot)KB(at)lnties(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8
Date: 2012-02-23 20:19:45
Message-ID: 25095.1330028385@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-performance
Jayashankar K B <Jayashankar(dot)KB(at)lnties(dot)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-spinlock-is-used-td5068738.html"
> 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=068e08eebbb2204f525647daad3fe15063b77820

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

			regards, tom lane

In response to

Responses

pgsql-performance by date

Next:From: Alessandro GagliardiDate: 2012-02-23 20:28:30
Subject: Re: set autovacuum=off
Previous:From: Jayashankar K BDate: 2012-02-23 20:14:30
Subject: Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8

pgsql-general by date

Next:From: Willem BuitendykDate: 2012-02-23 20:28:33
Subject: Re: Upgrade to 9.1 causing function problem
Previous:From: Rob SargentDate: 2012-02-23 20:16:38
Subject: Re: Upgrade to 9.1 causing function problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group