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 1oYIJW-0000HV-2Z for pgsql-committers@arkaria.postgresql.org; Wed, 14 Sep 2022 02:39:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oYIJU-00033a-W3 for pgsql-committers@arkaria.postgresql.org; Wed, 14 Sep 2022 02:39:44 +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 1oYIJT-00033R-8f for pgsql-committers@lists.postgresql.org; Wed, 14 Sep 2022 02:39:44 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oYIJP-00024t-28 for pgsql-committers@lists.postgresql.org; Wed, 14 Sep 2022 02:39:42 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 77740320092C; Tue, 13 Sep 2022 22:39:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 13 Sep 2022 22:39:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1663123173; x=1663209573; bh=B/k91DfSxH x4m+V05eqBxjnZ3/h8XuG4gvDOYz2cxzo=; b=AJ3wbnCU+Q3f5w+QDuU4fwyO9g ueKqCUSuvHG0mXvx37/m/sCyxNOaOZUjjN8trW0GogfWPAjVLne2FRyBnDvL1FFY DSrSLjrV9FgPj11lQDaaE+Gmwlkw5sohaPZoGZ50xyIunm1dl8Z3WZMxYkONRVsO DYB+lP2ANdSCmxMDLLiUZ0WGNn5zcldeKywu061RdMxrcKuYcqokPKwAtDOI9Bsq GuMeaLbTmCHH9CdsNr/locIVxTe3EBSsGwIfo0j4GNtny53+nluX4aLoGFifTiPe C1ite2Yzn5GXSd3oS/2jwbQUifS+OxP+UnVbMnmnVhlDodUI7LgqPbDVsfIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1663123173; x=1663209573; bh=B/k91DfSxHx4m+V05eqBxjnZ3/h8 XuG4gvDOYz2cxzo=; b=sLU2fnXCYGKvCSh/iXQShJtt5fa6m0Rsz/aLTUhj/9B2 JLalKg1KsglAikop6MbbdRn60L53tO5xHT+FRrr93c3jBNIWwzH7xr3RA4/RJmUn hecHfc0d0g7s/vhKuYSRjda5dyzpiE3XQmotBzwUFhDNDO4jLcGn+zWwYaXTdhT7 HFBKJgT8tzPQZlG/K6z5XgVRM6KvLdkS84bpflEzwM+dbZUA/rx8D1GfVuzE55vm p9h/Ho7AKnPstZaUU/Za1zjK5sVghC7uR23r4QgJYJDTvEoyG3KKymwf35JUZE7e ltG6K7N2k5fTLUKqlL+IbzAH25ROYVkamAGhtRZvlw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeduhedgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepvdfffeevhfetveffgeeiteefhfdtvdffjeevhfeuteegleduheetvedu ieettddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 13 Sep 2022 22:39:33 -0400 (EDT) Date: Tue, 13 Sep 2022 19:39:32 -0700 From: Andres Freund To: Tom Lane Cc: Noah Misch , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Message-ID: <20220914023932.g6woj7bfb6zbrksv@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220913182530.4yq35ralujjsv2k3@awork3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-09-13 11:25:30 -0700, Andres Freund wrote: > On 2022-09-11 11:19:25 -0700, Andres Freund wrote: > > We could also try to fall back to using -Wl,b,expall for extension modules. > > expall doesn't work, because of our use of identifiers in reserved namespaces, > e.g. _PG_init: > > expall > Exports all global symbols, except imported symbols, unreferenced symbols defined in archive members, and symbols beginning with an underscore > (_). You can export additional symbols by listing them in an export file or using the expfull option. This option does not affect symbols > exported by the autoexp option. > > However, there also is 'expfull' - IIRC that causes problems when used for > postgres, but appears to be fine for .so's. > > 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 Both passed check-world. - Andres