Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 79BAA1442C2B for ; Fri, 24 Feb 2012 19:54:22 -0400 (AST) Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1S14xs-00048w-T3 for pgsql-general@postgresql.org; Fri, 24 Feb 2012 23:54:21 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id q1ONs0Ct003882; Fri, 24 Feb 2012 18:54:00 -0500 (EST) To: Jayashankar K B cc: "pgsql-general@postgresql.org" Subject: Re: Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8 In-reply-to: <1365276B7BDA4C40A519F0B4088230B30971101F@POCITMSEXMB03.LntUniverse.com> References: <1365276B7BDA4C40A519F0B4088230B309710A77@POCITMSEXMB03.LntUniverse.com> <25095.1330028385@sss.pgh.pa.us> <1365276B7BDA4C40A519F0B4088230B30971101F@POCITMSEXMB03.LntUniverse.com> Comments: In-reply-to Jayashankar K B message dated "Fri, 24 Feb 2012 22:42:29 +0000" Date: Fri, 24 Feb 2012 18:54:00 -0500 Message-ID: <3881.1330127640@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201202/626 X-Sequence-Number: 185138 Jayashankar K B writes: > I tried to apply the patch. I succeeded in patching configure, configure.in and src/include/pg_config.h.in files. > But while applying the patch for src/include/storage/s_lock.h , I am getting an error. That patch should apply exactly to 9.1.0 or later. I think either you messed up copying the patch from the web page (note that patch is not forgiving about white space...) or else perhaps fooling with the file names messed it up. You shouldn't have to modify the file taken from the "patch" link at all. The right way to do it is to cd into the top source directory and use patch -p1