Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X78GL-0005pK-4m for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Jul 2014 19:19:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X78GK-0007f3-K1 for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Jul 2014 19:19:40 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X78GJ-0007cd-2n for pgsql-bugs@postgreSQL.org; Tue, 15 Jul 2014 19:19:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X78GF-0000Dy-5m for pgsql-bugs@postgreSQL.org; Tue, 15 Jul 2014 19:19:37 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s6FJJUmC009155; Tue, 15 Jul 2014 15:19:30 -0400 From: Tom Lane To: "Lars Ewald (web.de)" cc: pgsql-bugs@postgreSQL.org Subject: Re: Compile fails on AIX 6.1 In-reply-to: <1173350999.213760.1405351436640.open-xchange@oxbaltgw12.schlund.de> References: <2091578163.108431.1405003056556.open-xchange@oxbaltgw07.schlund.de> <22620.1405021301@sss.pgh.pa.us> <862279328.128417.1405069058259.open-xchange@oxbaltgw03.schlund.de> <2650.1405090558@sss.pgh.pa.us> <1173350999.213760.1405351436640.open-xchange@oxbaltgw12.schlund.de> Comments: In-reply-to "Lars Ewald (web.de)" message dated "Mon, 14 Jul 2014 17:23:56 +0200" Date: Tue, 15 Jul 2014 15:19:30 -0400 Message-ID: <9154.1405451970@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org [ again, please keep the mailing list cc'd ] "Lars Ewald (web.de)" writes: >> PPC what exactly? > PowerPC_POWER5: > System Model: IBM,9110-51A > Machine Serial Number: ********* > Processor Type: PowerPC_POWER5 > Processor Implementation Mode: POWER 5 Huh. POWER5 certainly ought to be good with lwsync. I think the lwarx hint bit doesn't do anything on POWER5, but it's not supposed to cause problems either. > Would it help to use a POWER7 system as followed? If you can try the same build there and see whether it works, that would be useful information; but we'd like PG to work on POWER5 too ... >> Still, configure should have caught that. Does configure end up >> defining HAVE_PPC_LWARX_MUTEX_HINT in src/include/pg_config.h? > Yes, I HAVE_PPC_LWARX_MUTEX_HINT was defined. > Commenting out USE_PPC_LWSYNC did not help. Also, commenting > USE_PPC_LWSYNC out and set HAVE_PPC_LWARX_MUTEX_HINT to "0", was > not successful. I'm stumped then. Maybe the problem is something else entirely. Could you look at the assembler output file and see exactly what lines it's complaining about? If the temp file is not left behind by a normal build, do the failing gcc call over again manually, substituting -S for -c so you get a .s file as output. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs