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 1q8fCL-0003mi-Ej for pgsql-bugs@arkaria.postgresql.org; Mon, 12 Jun 2023 10:54:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q8fCK-0001w7-3y for pgsql-bugs@arkaria.postgresql.org; Mon, 12 Jun 2023 10:54:56 +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 1q8fCJ-0001sW-95 for pgsql-bugs@lists.postgresql.org; Mon, 12 Jun 2023 10:54:55 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q8fCA-001uYh-Mt for pgsql-bugs@lists.postgresql.org; Mon, 12 Jun 2023 10:54:54 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 2C7EB320077A; Mon, 12 Jun 2023 06:54:42 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 12 Jun 2023 06:54:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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 :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=1686567281; x= 1686653681; bh=L8FC+D9OUpn75kk4Vsnjr7DNLgXBxIkH9mqpTyzKB/M=; b=D EPUs0kSIZuiKjJVavO1JFIJy74Q3ebZ7I/thVLffSNV1MwuTnZG1nKcrer4NC8Gg oYZPKgc5qlpQgZhiLQGGKZp6sXDW3AlAQXDEjc2Dxa7SXliASnfjyhu4v/406UgO BUkznwNyW9MDLWMTrFrU9ovYiv9Rsf1V5Eoq+cSeOb4zGJquz1TrC0XGM+yfr8tM iT8TTbjLeQ1YdU9Gix3Mnk/ZSMY1Lic6aKajic/0OTgM8NNv9IqjsqPePHykmjCC v8kj4LZ3uMpdpSS03UQs4b2WtHoKUrpeBcODv0v2kKG8XUd/+yFQBVzlxfyBJdvT NlqzBU/xMh4TmdQDeJ0Cw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeduhedgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepudefjedthfehfedvvedvfedvtdejudevhefhkeffkeel tdduudehveelffegjeefnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgv rhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 12 Jun 2023 06:54:40 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 417FC38B; Mon, 12 Jun 2023 12:54:38 +0200 (CEST) Date: Mon, 12 Jun 2023 12:54:38 +0200 From: Alvaro Herrera To: Mo Youmiu Cc: David Rowley , "pgsql-bugs@lists.postgresql.org" Subject: Re: BUG #17967: [msvc-x86] Failed to build with error LNK2019: unresolved external symbol __BitScanReverse64 referen Message-ID: <20230612105438.5a4kzm4lcavf7joo@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello Mo Youmiu, On 2023-Jun-08, Mo Youmiu wrote: > Thanks for your replies and corrections, and apologies for the confusing version I mentioned. > > For this commit, PostgreSQL was successfully built with msvc on both x86 and amd64. > > Glad my report was helpful. You know what else would be extremely helpful? A buildfarm animal that runs with this configuration. We should have noticed this problem as soon as that problematic commit was introduced; a buildfarm animal would have alerted us to it pretty much immediately rather than four months after the fact. Would you be in a position to running one? It's a moderately easy task, you just need to keep a machine (or VM) running permanently. You can find instructions here: https://wiki.postgresql.org/wiki/PostgreSQL_Buildfarm_Howto Regards -- Álvaro Herrera