Re: BUG #17967: [msvc-x86] Failed to build with error LNK2019: unresolved external symbol __BitScanReverse64 referen

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: moyoumiu(at)outlook(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17967: [msvc-x86] Failed to build with error LNK2019: unresolved external symbol __BitScanReverse64 referen
Date: 2023-06-07 22:18:36
Message-ID: CAApHDvqw1b765g+Aptju9=o04ohs8deCY3PeTDkx8Kx8wG0v6w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, 8 Jun 2023 at 01:00, David Rowley <dgrowleyml(at)gmail(dot)com> wrote:
> I've not tested it, but I imagine the attached patch should fix it.

I've just pushed that patch to master only.

I noticed your report mentioned that this was for version 15.3. I
assumed this was a mistake as I didn't see any usage of the bit
scanning functions in v15. Commit 677319746 [1] introduced these,
which is new to v16.

Many thanks for reporting this!

David

[1] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=677319746

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Mo Youmiu 2023-06-08 07:56:56 Re: BUG #17967: [msvc-x86] Failed to build with error LNK2019: unresolved external symbol __BitScanReverse64 referen
Previous Message Jeff Davis 2023-06-07 17:36:29 pg_dump assertion failure with "-n pg_catalog"