[ https://issues.apache.org/jira/browse/ARROW-16778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17552978#comment-17552978 ]
Arkadiy Vertleyb commented on ARROW-16778: ------------------------------------------ [~willjones127] Can you try the following under your 32 bit architecture (where tests pass)? 1) break in the TEST_F(TestSetBitRunReader, OneByte) 2) put breakpoints on: - SkipNextZeroes - CountNextOnes 3) see what is going on. In my system: current_word_ = 182 (1011 0110) num_zeros = 0; current_word remain 182 -- no zeroes removed Then the following asserts because 182 & 1 == 0: int64_t CountNextOnes() { assert(current_word_ & kFirstBit); I have a feeling something may be wrong with the byte ordering, but I am not sure. > [C++] 32 bit MSVC doesn't build > ------------------------------- > > Key: ARROW-16778 > URL: https://issues.apache.org/jira/browse/ARROW-16778 > Project: Apache Arrow > Issue Type: Bug > Components: C++ > Environment: Win32, MSVC > Reporter: Arkadiy Vertleyb > Priority: Major > > When specifying Win32 as a platform, and building with MSVC, the build fails > with the following compile errors : > {noformat} > C:\Users\avertleyb\git\arrow\cpp\src\arrow/util/bit_util.h(70,59): error > C3861: '__popcnt64': identifier not found > [C:\Users\avertleyb\git\arrow\cpp\build32\src\arrow\arrow_shared.vcxproj] > C:\Users\avertleyb\git\arrow\cpp\src\arrow/util/bit_util.h(204,7): error > C3861: '_BitScanReverse64': identifier not found > [C:\Users\avertleyb\git\arrow\cpp\build32\src\arrow\arrow_shared.vcxproj] > C:\Users\avertleyb\git\arrow\cpp\src\arrow/util/bit_util.h(250,7): error > C3861: '_BitScanForward64': identifier not found > [C:\Users\avertleyb\git\arrow\cpp\build32\src\arrow\arrow_shared.vcxproj] > {noformat} -- This message was sent by Atlassian Jira (v8.20.7#820007)