1 Bucket selection is based on higher 32 bits of seed, which is 64-bit wide only on LP64 platforms.
3 --- protobuf-3.13.0/src/google/protobuf/map_test.cc.orig 2020-08-15 01:24:06.000000000 +0200
4 +++ protobuf-3.13.0/src/google/protobuf/map_test.cc 2020-09-10 06:16:47.150949801 +0200
6 // small maps. Currently we only have sufficient randomness for debug builds and
7 // builds where we can use the RDTSC instruction, so we only test for those
9 -#if defined(__x86_64__) && defined(__GNUC__) && \
10 +#if defined(__x86_64__) && defined(__LP64__) && defined(__GNUC__) && \
11 !defined(GOOGLE_PROTOBUF_NO_RDTSC)
12 TEST_F(MapImplTest, RandomOrdering) {
13 for (int i = 0; i < 10; ++i) {