]> git.pld-linux.org Git - packages/protobuf.git/blob - protobuf-x32.patch
rebuild with separate debuginfo build-ids
[packages/protobuf.git] / protobuf-x32.patch
1 Bucket selection is based on higher 32 bits of seed, which is 64-bit wide only on LP64 platforms.
2
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
5 @@ -1005,7 +1005,7 @@
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
8  // builds.
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) {
This page took 0.085149 seconds and 3 git commands to generate.