Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oYIPR-0000nu-LC for pgsql-committers@arkaria.postgresql.org; Wed, 14 Sep 2022 02:45:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oYIPQ-0004B5-5F for pgsql-committers@arkaria.postgresql.org; Wed, 14 Sep 2022 02:45:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oYIPP-0004Av-Uo for pgsql-committers@lists.postgresql.org; Wed, 14 Sep 2022 02:45:51 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oYIPN-00028P-Pe for pgsql-committers@lists.postgresql.org; Wed, 14 Sep 2022 02:45:51 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 28E2jkHJ2490845; Tue, 13 Sep 2022 22:45:46 -0400 From: Tom Lane To: Andres Freund cc: Noah Misch , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: aix: No need to use mkldexport when we want to export all symbol In-reply-to: <20220913182530.4yq35ralujjsv2k3@awork3.anarazel.de> References: <325593.1662783266@sss.pgh.pa.us> <89D645BA-FF97-4516-A21D-9FC4A4B31F8C@anarazel.de> <20220910043749.koidc5k4j5dxo3if@awork3.anarazel.de> <20220910052741.t7w7csyrggwus2ze@awork3.anarazel.de> <338810.1662787972@sss.pgh.pa.us> <20220910055736.htsr5juo3ldlay2l@awork3.anarazel.de> <20220910081944.oiayp5lky3kv2o43@awork3.anarazel.de> <20220911181925.ygxbync3uk5ezcic@awork3.anarazel.de> <20220913182530.4yq35ralujjsv2k3@awork3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Tue, 13 Sep 2022 11:25:30 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2490843.1663123546.1@sss.pgh.pa.us> Date: Tue, 13 Sep 2022 22:45:46 -0400 Message-ID: <2490844.1663123546@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > So we could work around the xlc 12.1 issue with something like the attached > patch. It passes at some of the tests, with both 32 and 64bit xlc 12.1, will > have to wait a while to see more Shouldn't that be more like + if test "$pgac_cv_prog_CC_cflags__qvisibility_hidden" != "yes"; then + CFLAGS_SL_MODULE='$CFLAGS_SL_MODULE -Wl,-b,expfull' + fi to avoid losing whatever we found out before that? > I think it'd be considerably better to just not support xlc < 13.1 though. A three-line patch doesn't seem like an unreasonable thing to carry, at least till these systems go out of support. We've jumped through much higher hoops in the past to support niche platforms. regards, tom lane