Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vO6RB-00ABqk-2s for pgsql-bugs@arkaria.postgresql.org; Wed, 26 Nov 2025 03:43:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vO6RA-00DXLu-1H for pgsql-bugs@arkaria.postgresql.org; Wed, 26 Nov 2025 03:43:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vO6R9-00DXLm-1b for pgsql-bugs@lists.postgresql.org; Wed, 26 Nov 2025 03:43:24 +0000 Received: from fhigh-b1-smtp.messagingengine.com ([202.12.124.152]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vO6R7-001XIs-0a for pgsql-bugs@lists.postgresql.org; Wed, 26 Nov 2025 03:43:23 +0000 Received: from phl-compute-11.internal (phl-compute-11.internal [10.202.2.51]) by mailfhigh.stl.internal (Postfix) with ESMTP id 61D1F7A0120; Tue, 25 Nov 2025 22:43:17 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Tue, 25 Nov 2025 22:43:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1764128597; x=1764214997; bh=WTnjrHBKTo tjRuLp2ps7cZ09joRKdz8+DW9A8uHW/hs=; b=QEzyaSFhWrGeqniZf++4vrAMQK 52Tak8510Z9yF+6zrjaEgniCckkSK9cKZ8f2e+C66WKeezRDo6ePIJoMV0rpn32g ysJ/LvY3Y2CYLB5yoIBCbmvEmzwBzMLG6z5XaIiVtxh2/be//nkR7YLkJPd/gb50 XNXYm7EbG6mvcZcLBGPEkLAJshX1rLh5AcB5ouBBFPHnieX4NHNRRBmd2eqtMfMQ IsrBvKqyZhPU1+lbYbOntRFcQBr3C0GMyciZaMKgZEfGe3TXwOQDLhNpCd6MHxws Tu02hYnd1SlbPtZITL+oLwbo1JPX6m4g/vIYku45zPYCzt6XOF95Y+hee4UA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1764128597; x=1764214997; bh=WTnjrHBKTotjRuLp2ps7cZ09joRKdz8+DW9 A8uHW/hs=; b=18ooCd5Q9WtnDpccdxBBsyQZMUUW7Pak+N+4hKVP1caKt6BZ1I8 eTuqB10QUcYYJ7XchwhETI8u4hPkA5d0IBe2PfInJIuBl8nRsD5Fl2LsbVdl/VQ9 5BK1+tY5S0+jZfH76qL3/BLZHBWDDOfK+W8gFTCdqIvRj1rgfKvTuEkkvq3N3FsZ 0eCuOCUVJFNM/Rez7QFSiI100S5nV5ZU1yOFJmLnhVojYfJmrRQSx5ByY8R8Zc06 KGXrHC2YXwCLhNfrF/suNs/5pA5gJuQ7727oPv7q6ZWDXX8bEaOY5B5YcBTD3SBT 7s6icywod1uNxRXWYjmKfjDn2aLPWYlQ15w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvgeefvdelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepjedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepuggrnh hivghlseihvghsqhhlrdhsvgdprhgtphhtthhopehvrghsuhhkihhmudelledvtddtvdes ghhmrghilhdrtghomhdprhgtphhtthhopehtghhlsehsshhsrdhpghhhrdhprgdruhhspd hrtghpthhtohepsghhrghrrghtuggsphhgsehgmhgrihhlrdgtohhmpdhrtghpthhtohep thhorhhsthgvnhdrrhhuphhpsehgmhigrdhnvghtpdhrtghpthhtohepphhgshhqlhdqsg hughhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopegshigr vhhuiiekudesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 Nov 2025 22:43:14 -0500 (EST) Date: Wed, 26 Nov 2025 12:43:01 +0900 From: Michael Paquier To: Daniel Gustafsson Cc: VASUKI M , Tom Lane , BharatDB , torsten.rupp@gmx.net, pgsql-bugs@lists.postgresql.org, byavuz81@gmail.com Subject: Re: BUG #19095: Test if function exit() is used fail when linked static Message-ID: References: <2305435.1762929527@sss.pgh.pa.us> <7C7B32ED-5742-49D5-9380-5E02AA5B03C4@yesql.se> <057A2AED-0116-446B-8986-57FDA70CA5A3@yesql.se> <483765ED-0490-4972-9769-4943716BE204@yesql.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iK7Zr9PteQR9ZsN0" Content-Disposition: inline In-Reply-To: <483765ED-0490-4972-9769-4943716BE204@yesql.se> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --iK7Zr9PteQR9ZsN0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Nov 25, 2025 at 11:51:55AM +0100, Daniel Gustafsson wrote: > +if find_program('nm', required: false, native: true).found() and not get_option('b_coverage') > Sorry for being late to the party, but I wonder why we aren't adding this check > to the toplevel meson.build and configure.ac (via config/programs.m4) like how > we check for all others tools used by the build? Such checks should of course > not fail the configuration, merely record the presence or absence of the tool. > The path can then be exported to src/interfaces/libpq/{Makefile|meson.build} to > use. +1 for this find_program() call grouped at the top of meson.build, grouped with the others. -- Michael --iK7Zr9PteQR9ZsN0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmkmd0UACgkQnvQgOdby QH3BEA//cpm6jbZbjuDVUNN+zCIXOt+Yu5K43omTcQNmgrs3eoChbr3zOnGB9Yta LVVkIm32CuqPZIKzhTvJJ8z3pYDDGb2yagDtQFJA5BUX84uYcfO34HH3QhiNeShS 9GcD9KbGlQl/MSqOx+uLbjW0iOExW9gJyaDnyQcRs292OIAGG/m1CDgDx07Bm+Cc ob/3VfP6S1y9xKFzWdztvMx1bd0kjvqY39eM7rGnbIX5DG3xg5ZxG89hgJY2rrYa b5+dw1AtL1tYf8lZFSeFNzQWK0zIz254EP765eVegHB42EpWUbCdQfczXOadm2sF ItpY8qRScPBLYW+Gz+itlA1ViBrAGj7epADlVWK3iVmEFKg3P4Yvp1J6AlLk1hvi TmXmLmdZP/uwY387MLONZelh4Z6ykpNABdR7lCFFU9YRFQaUIr3W1xzwuzTIClRl QUH9GuhupGyhh8EJboRIxaLXJNjiI07FUPVI/91OQF/Jl/3lDZ3SpceJnPfIMRzI lxrtsmYabgwB8D4LXe4895HafU9jjbHjyF6mCixd/HkBBGZC8jzAM3oxHsI+FDLi KzqMIEvl6oC6hoT6HCrC6FN2avLNNtLeJAJMbSweChuvwAMnyIxsVtJzpOn+XqZ0 f1hFpjDpWAZhjO6rknFOvcNoP+7yMP/Qv4If0jCv+tRZetgDt94= =C4iz -----END PGP SIGNATURE----- --iK7Zr9PteQR9ZsN0--