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.94.2) (envelope-from ) id 1rx5M3-006JCB-7E for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Apr 2024 13:29:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rx5M1-00BW9I-BW for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Apr 2024 13:29:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rx5M1-00BW9A-1m for pgsql-hackers@lists.postgresql.org; Wed, 17 Apr 2024 13:29:37 +0000 Received: from wfout2-smtp.messagingengine.com ([64.147.123.145]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rx5Ly-003IdU-Fb for pgsql-hackers@postgresql.org; Wed, 17 Apr 2024 13:29:35 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfout.west.internal (Postfix) with ESMTP id 91E501C000BB; Wed, 17 Apr 2024 09:29:32 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Wed, 17 Apr 2024 09:29:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:content-transfer-encoding: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=fm2; t=1713360572; x=1713446972; bh=X29/a+TgSItBmm4hRizcZpgIkMLEQEa069jLiI7Ss98=; b= Q0Ox52a8vLEo8xoY8A1VDJZueCxX7o6CGAyVn0cQGBk3U883Gq1cTWsOZpFS1iBO qtxN8RHiF1IOZ6/XCOjhRS1vohWvsbX6Mj3IEbHBrVbHjDamWyWSE8KJEAIcVEdv 9ApnEWhxvT/7IW3q36YNpivmisFY9vxVP5x3FT+Pmz/CA9AxdjRONpMy7T6xHGkb TV3ADaDvC6GchBsEG08174HdA+KSP6gnc70IzOIr56Pfm24hXiDLtP8huBhA35as JNCd4dJQiDmHCFvuP1Dk5WBXWBf9XkM97eTtt17vF9sJ0++WIBc94M5NLIMYENNu AVf4+vbBIrpkPkHWCc4LOA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1713360572; x= 1713446972; bh=X29/a+TgSItBmm4hRizcZpgIkMLEQEa069jLiI7Ss98=; b=f 9fOOBJjSe+umsW83gu+GWi5p4W7hOHGVdqz1GN+gyyaHeRbwASSzkoM9P7PZ6qZX 6R1sKpqTzHcxfrZ//71xc4qKOCxO7rWrJ328EMFjIUWav8/tIjAT1qAbqkmttmkI zXlbYegQT5mccoirKI3Uayc4fcphd5RRHQdesogzRnFV6rSbFeowLnN3ti2zhRct CNhGjqVXHZXsNLYMF+WEOnzCNSs/hk3bLgpEaOjqAAA18Sla0OF6CVgbq/EqrqkV b9JhzheLBgFnrRR3SF+T5wK8ol6wiBEy0x6MfuqZuVu4EOC756CGiIRUg5hnURbr +eqGOoe7lkW1FoCTgBTtA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudejkedgieehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgqe enucggtffrrghtthgvrhhnpedugfejffefleefvdegvdejvdeiheevgffhjefgudfhvedv jeevfeehteelgfevfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 17 Apr 2024 09:29:31 -0400 (EDT) Message-ID: Date: Wed, 17 Apr 2024 15:29:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: some LLVM function checks missing in meson To: Heikki Linnakangas , pgsql-hackers References: <5539b16c-cff7-46d5-9621-c3fb6b549e9e@iki.fi> Content-Language: en-US From: Peter Eisentraut In-Reply-To: <5539b16c-cff7-46d5-9621-c3fb6b549e9e@iki.fi> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 13.04.24 10:25, Heikki Linnakangas wrote: >> Something like the below would appear to fix that: >> >> diff --git a/meson.build b/meson.build >> index 43fad5323c0..cdfd31377d1 100644 >> --- a/meson.build >> +++ b/meson.build >> @@ -2301,6 +2301,14 @@ decl_checks += [ >>      ['pwritev', 'sys/uio.h'], >>    ] >> >> +# Check presence of some optional LLVM functions. >> +if llvm.found() >> +  decl_checks += [ >> +    ['LLVMCreateGDBRegistrationListener', 'llvm-c/ExecutionEngine.h'], >> +    ['LLVMCreatePerfJITEventListener', 'llvm-c/ExecutionEngine.h'], >> +  ] >> +endif >> + >>    foreach c : decl_checks >>      func = c.get(0) >>      header = c.get(1) >> >> I don't know what these functions do, but the symbols are used in the >> source code.  Thoughts? > > +1. I also don't know what they do, but clearly the configure and meson > checks should be in sync. Committed that, too.