Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTSXO-0005LB-Oi for pgsql-hackers@arkaria.postgresql.org; Wed, 22 May 2019 14:48:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hTSXN-0000oA-8c for pgsql-hackers@arkaria.postgresql.org; Wed, 22 May 2019 14:48:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTSXM-0000o3-TI for pgsql-hackers@lists.postgresql.org; Wed, 22 May 2019 14:48:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTSXK-00084Q-Fg for pgsql-hackers@lists.postgresql.org; Wed, 22 May 2019 14:48:11 +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 x4MEm8ll006040 for ; Wed, 22 May 2019 10:48:08 -0400 From: Tom Lane To: pgsql-hackers@lists.postgresql.org Subject: Re: FullTransactionId changes are causing portability issues In-reply-to: <27054.1558533367@sss.pgh.pa.us> References: <27054.1558533367@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Wed, 22 May 2019 09:56:07 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6038.1558536488.1@sss.pgh.pa.us> Date: Wed, 22 May 2019 10:48:08 -0400 Message-ID: <6039.1558536488@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I wrote: > Our Solaris packager reports that 12beta1 is failing to build for him > on some Solaris variants: >> The link failure is: >> --- >> Undefined first referenced >> symbol in file >> ReadNextFullTransactionId pg_checksums.o >> ld: fatal: symbol referencing errors. No output written to pg_checksums >> --- On looking closer, the fix is simple and matches what we've done elsewhere: transam.h needs to have "#ifndef FRONTEND" to protect its static inline function from being compiled into frontend code. So the disturbing thing here is that we no longer have any active buildfarm members that can build HEAD but have the won't-elide- unused-static-functions problem. Clearly we'd better close that gap somehow ... anyone have an idea about how to test it better? regards, tom lane