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 1sJSHg-004xrb-Ar for pgsql-bugs@arkaria.postgresql.org; Tue, 18 Jun 2024 06:25:36 +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 1sJSHe-008Qxr-2t for pgsql-bugs@arkaria.postgresql.org; Tue, 18 Jun 2024 06:25:34 +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.94.2) (envelope-from ) id 1sJSHd-008Qxi-7L for pgsql-bugs@lists.postgresql.org; Tue, 18 Jun 2024 06:25:34 +0000 Received: from fout5-smtp.messagingengine.com ([103.168.172.148]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sJSHa-002Exp-My for pgsql-bugs@lists.postgresql.org; Tue, 18 Jun 2024 06:25:33 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfout.nyi.internal (Postfix) with ESMTP id 867D9138045B; Tue, 18 Jun 2024 02:25:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 18 Jun 2024 02:25:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=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=fm1; t=1718691928; x=1718778328; bh=TuuS+WSlGj lwS1kLRRaB+I4k2nVAKiGmxUei/4Nuoo0=; b=dqGORfW9EraSoaeeMMRpFz3pkI oVNMPpkRu4fRQgth6ppd7g0ahdTnjicw8cIWGiHR08bqubQyjQ1IRa0DiaX7q+Ub I4nDf1vIVvuVRyLtnwS2Rh3+j8Uy0wnWDl5lpBAXnsCY0RXIe0gYPm75JimQpmUu m7IfPvhgQ1C5eakQcfvK/cAjQdGFkCh3c1/LcKe4TI932U1DX0gEOqvQSGH8CPKc f5wqllES0FOWWHVeu2o6DH98FoNYHgnxWyqWUOBDlJ8f5Vjx2A0TD6tFtpr2bGwd A6tG6trEyiMi93WtrscUM9PU7HO7AroaOPrhZRSpiVeOheYZ5VHXKZl/4uCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1718691928; x=1718778328; bh=TuuS+WSlGjlwS1kLRRaB+I4k2nVA KiGmxUei/4Nuoo0=; b=ugTDn5N59aaeEw9A8TDvbm4Lq8kuFDo3H2xF7/8kFiLb qrESJDFYwH2tforXxUjbglfbL8QITBLn6+a5JViPilB9TSDFWZ6GUkhPXzwuWOYz Avyk0z5ZDkeW9DWlSNzi9W6XrdEXUBSAPjORxjFrrFsFG2umZvs9zqJWJGKoktbA K0i10feTdIXrPlaeoDi73INxuqvFjwfAATpTRYTwLFtavdmPXMNYAabWBVAUrRWB hc8Vn5mUbSbEQ3kA2N0uYwc1fTzLnfNX7ten+C3mxjLfiIH2K666fK26+B6dF9S0 q4OOWpTs7LUnlba5KI/tZIb+guE8siBKDD80A+yEiA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedviedguddtlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurheptgfkffggfgfuvfhfhfgjsehmtd erredtvdejnecuhfhrohhmpefrvghtvghrucfgihhsvghnthhrrghuthcuoehpvghtvghr segvihhsvghnthhrrghuthdrohhrgheqnecuggftrfgrthhtvghrnhepvdduvefgkeehie evueefjeekhfefheejhedulefgfeeuheelkeegleeuveetjeeknecuffhomhgrihhnpehg ihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 18 Jun 2024 02:25:27 -0400 (EDT) Content-Type: multipart/mixed; boundary="------------IFVrWVNxHn6A09fQ90PMHlPH" Message-ID: <080afa1e-476b-44f2-b052-4d669c23d290@eisentraut.org> Date: Tue, 18 Jun 2024 08:25:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: BUG #18513: PG17 build on windows generates postgres.exe.lib instead of postgres.lib To: muralikrishna.bandaru@enterprisedb.com, pgsql-bugs@lists.postgresql.org References: <18513-cf23db54997c9021@postgresql.org> Content-Language: en-US From: Peter Eisentraut In-Reply-To: <18513-cf23db54997c9021@postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------IFVrWVNxHn6A09fQ90PMHlPH Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 17.06.24 07:44, PG Bug reporting form wrote: > The following bug has been logged on the website: > > Bug reference: 18513 > Logged by: Muralikrishna Bandaru > Email address: muralikrishna.bandaru@enterprisedb.com > PostgreSQL version: 17beta1 > Operating system: Windows > Description: > > PG17 build on windows is generating postgres.exe.lib. But all the previous > versions generating postgres.lib file. Due to this renaming the extensions > fail to link with this library by default as they expect postgres.lib. For > example here is the link for system_stats project file > https://github.com/EnterpriseDB/system_stats/blob/master/system_stats.vcxproj#L101 > > This seems like a bug, Can some one please confirm? The attached patch might fix it. At least I appear to get the right output file name. I don't have the ability to check whether it does the right thing on Cygwin. --------------IFVrWVNxHn6A09fQ90PMHlPH Content-Type: text/plain; charset=UTF-8; name="0001-meson-Fix-import-library-name-in-Windows.patch" Content-Disposition: attachment; filename="0001-meson-Fix-import-library-name-in-Windows.patch" Content-Transfer-Encoding: base64 RnJvbSAzZTZlZjViYjBkZTZhYTI5MGZiZjUyMjk2ZTViYTU0NGM3MTNmYzY3IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQZXRlciBFaXNlbnRyYXV0IDxwZXRlckBlaXNlbnRy YXV0Lm9yZz4KRGF0ZTogVHVlLCAxOCBKdW4gMjAyNCAwODoyMjoxMSArMDIwMApTdWJqZWN0 OiBbUEFUQ0hdIG1lc29uOiBGaXggaW1wb3J0IGxpYnJhcnkgbmFtZSBpbiBXaW5kb3dzCgpU aGlzIGNoYW5nZXMgdGhlIGltcG9ydCBsaWJyYXJ5IG5hbWUgZnJvbSAncG9zdGdyZXMuZXhl LmxpYicgdG8KJ3Bvc3RncmVzLmxpYicsIHdoaWNoIGlzIHdoYXQgaXQgd2FzIHdpdGggdGhl IG9sZCBNU1ZDIGJ1aWxkIHN5c3RlbS4KClhYWCBjaGVjayBjeWd3aW4KCkJ1ZzogIzE4NTEz ClJlcG9ydGVkLWJ5OiBNdXJhbGlrcmlzaG5hIEJhbmRhcnUgPG11cmFsaWtyaXNobmEuYmFu ZGFydUBlbnRlcnByaXNlZGIuY29tPgotLS0KIG1lc29uLmJ1aWxkICAgICAgICAgICAgIHwg NiArKystLS0KIHNyYy9iYWNrZW5kL21lc29uLmJ1aWxkIHwgMiArLQogMiBmaWxlcyBjaGFu Z2VkLCA0IGluc2VydGlvbnMoKyksIDQgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvbWVz b24uYnVpbGQgYi9tZXNvbi5idWlsZAppbmRleCAyNzY3YWJkMTllMi4uMDI5MjliYjg0NWYg MTAwNjQ0Ci0tLSBhL21lc29uLmJ1aWxkCisrKyB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