Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ebpuw-0001eT-T5 for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Jan 2018 15:46:23 +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 1ebpuw-000587-4U for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Jan 2018 15:46:22 +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 1ebpuv-00057x-Nh for pgsql-hackers@lists.postgresql.org; Wed, 17 Jan 2018 15:46:21 +0000 Received: from mail.postgrespro.ru ([93.174.131.138]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ebpus-0000yU-3n for pgsql-hackers@postgresql.org; Wed, 17 Jan 2018 15:46:20 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id 131F921C1C5E; Wed, 17 Jan 2018 18:46:15 +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 C252521C1C5C; Wed, 17 Jan 2018 18:46:13 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1516203973; bh=Mjc0hNSTlnH1GSX/McsBWFnlhKffmkNUUi0w/36jwVI=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=f73yAmqigV/fAWeNPA6dITERT8kjR9mznRAXLURzpO1Eo/901aIHvTn0h+8Cr3qdQ n3YwZT2DUREXcsEXXnprvvo7P//1NtB5NbXHp/N4EsblR00y9mA4MCaEuhWtjXWQyc rpxdO61xl1hC2Sp8K4YThiorp8YijdiMbMXpIYhk= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 17 Jan 2018 18:46:13 +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: <16720.1516201657@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> <16720.1516201657@sss.pgh.pa.us> Message-ID: 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 On 17-01-2018 18:07, Tom Lane wrote: > Marina Polyakova writes: >> investigating the regression diffs, we found out that the error occurs >> when we pass int128 as not the first argument to the function (perhaps >> its value is replaced by the value of some address): >> ... >> Based on this, we modified the test program (see attached). Here is >> its >> output on Solaris 10 for different alignments requirements for int128 >> (on my machine where make check-world passes everything is OK) >> (ALIGNOF_PG_INT128_TYPE is 16 on Solaris 10): > > Excellent. This fails the same way on gcc 5.2.0 and 5.5.0? As Victor answered in [1]: > Unfortunately, we have only one Sparc machine and started our > investigation by upgrading GCC 5.2.0 to GCC 5.5.0, so it is hard to > downgrade and test with older GCC. >> Maybe some pass test from int128test2.c can be used to test __int128? > > Yeah, I can work with this. What I propose to do is use a somewhat > stripped-down version of this test as an AC_RUN_IFELSE test normally, > but if cross-compiling, fall back to just seeing if we can link. Thanks, I'll try to do this.. And Victor attached a stripped-down version of this in [1]. > Thanks for investigating! Thank you! :) [1] https://www.postgresql.org/message-id/20180117181359.3a6cc06c%40fafnir.local.vm -- Marina Polyakova Postgres Professional: http://www.postgrespro.com The Russian Postgres Company