Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ec6sy-0007s0-19 for pgsql-hackers@arkaria.postgresql.org; Thu, 18 Jan 2018 09:53:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ec6sx-0004qD-9p for pgsql-hackers@arkaria.postgresql.org; Thu, 18 Jan 2018 09:53:27 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ec6sw-0004q3-O9 for pgsql-hackers@lists.postgresql.org; Thu, 18 Jan 2018 09:53:27 +0000 Received: from mail.postgrespro.ru ([93.174.131.138]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ec6ss-0007a8-UW for pgsql-hackers@postgresql.org; Thu, 18 Jan 2018 09:53:25 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id E3D3521C1C3F; Thu, 18 Jan 2018 12:53:19 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at postgrespro.ru X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=x tagged_above=-99 required=4 WHITELISTED tests=[] autolearn=unavailable Received: from mail.postgrespro.ru (cyclops.l.postgrespro.ru [192.168.27.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix) with ESMTPSA id A31E921C1C2A; Thu, 18 Jan 2018 12:53:19 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1516269199; bh=Y9VTNW9Bf/xAPgIjuzUI+1R/uCuyVOhDUelKYC4q7/M=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=DlvRKcof1og4pExB/dEBPd1CtcU2RLIa6deIuKvZmQAPUYp81huigC2JOjmPgULJi +YcXOnfe8w9aqBjxWx5vWWngQtrps6F4JJOLLfrqM0hlItDAgVMDAv/TQbldmf8wQH iOz734D4OkaeNayVVs3yNNfsqotG04lREtJYZBhI= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 18 Jan 2018 12:53:19 +0300 From: Marina Polyakova To: Tom Lane Cc: vitus@wagner.pp.ru, Andres Freund , pgsql-hackers@postgresql.org, Alvaro Herrera Subject: Re: master make check fails on Solaris 10 Organization: Postgres Professional In-Reply-To: <31743.1516206789@sss.pgh.pa.us> References: <0d3a9fa264cebe1cb9966f37b7c06e86@postgrespro.ru> <20180111173938.jimybeayp2u5mmup@alap3.anarazel.de> <31a342fa6a025a8bdfc5b8b19c29d56d@postgrespro.ru> <1232.1515780057@sss.pgh.pa.us> <15299.1515867055@sss.pgh.pa.us> <18209.1516059711@sss.pgh.pa.us> <90ab676392c8f9c84431976147097cf0@postgrespro.ru> <17897.1516202926@sss.pgh.pa.us> <1c70bab595a37ffa3a7fafea29fa6f55@postgrespro.ru> <31743.1516206789@sss.pgh.pa.us> Message-ID: <0e183c12a68af526ebc03c5c26206c44@postgrespro.ru> X-Sender: m.polyakova@postgrespro.ru User-Agent: Roundcube Webmail/1.2.4 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thank you! On 17-01-2018 19:33, Tom Lane wrote: > Attached is a draft patch to incorporate Victor's slimmed-down test > into configure. If you have a chance, could you confirm it does > the right thing on your Sparc machine? > Victor Wagner writes: >> It seems that what it does is not exactly a right thing. >> I've applied it to commit 9c7d06d60680 in master and see following >> checking for __int128 alignment bug... ok >> As far as I understand your patch, there should be: >> checking for __int128 alignment bug... broken > ... >> Then in the pg_config.h I see >> /* The normal alignment of `PG_INT128_TYPE', in bytes. */ >> #define ALIGNOF_PG_INT128_TYPE 16 >> /* Define to the name of a signed 128-bit integer type. */ >> #define PG_INT128_TYPE __int128 > ... >> However, make check passes. > Uh ... how could that be? If the output of configure is exactly > the same as before the patch, how could the end result be different? Applying your patch on commit f033462d8f77c40b7d6b33c5116e50118fb4699d and using the configuration command from [1], I got: checking for __int128... yes checking for __int128 alignment bug... broken Nothing is defined for int128 in pg_config.h: /* The normal alignment of `PG_INT128_TYPE', in bytes. */ /* #undef ALIGNOF_PG_INT128_TYPE */ ... /* Define to the name of a signed 128-bit integer type. */ /* #undef PG_INT128_TYPE */ And make check-world passes. Victor said that he used a much simpler configuration command, and I'm trying to figure out what's changed.. > BTW, it would be a good idea to set up a buildfarm member on that > machine, if you care about whether that configuration continues > to work in the future. Victor answered this in [2]: > Really we already have buildfarm member on this machine. It is just > member of PostgresPro private buildfarm, not of big comminity > buildfarm. > > So, I'll register it in the big buildfarm as soon as I figure out how > to distribute limited resources of this machine between two buildfarms. P.S. I found the trailing whitespace in line 80: ! int128a q; [1] https://www.postgresql.org/message-id/0d3a9fa264cebe1cb9966f37b7c06e86%40postgrespro.ru [2] https://www.postgresql.org/message-id/20180117203648.2626d97a%40wagner.wagner.home -- Marina Polyakova Postgres Professional: http://www.postgrespro.com The Russian Postgres Company