tests fail on alpine linux edge for armv7 and armhf
Describe the bug
When the unit tests are run in alpine linux CI the CordRepbTree Navigation test fails:
[ FAILED ] WithParam/CordRepBtreeNavigatorTest.NextPrev/35_Flats, where GetParam() = 35
[4165](https://gitlab.alpinelinux.org/a16bitsysop/aports/-/jobs/824175#L4165)[ FAILED ] WithParam/CordRepBtreeNavigatorTest.NextPrev/36_Flats, where GetParam() = 36
[4166](https://gitlab.alpinelinux.org/a16bitsysop/aports/-/jobs/824175#L4166)[ FAILED ] WithParam/CordRepBtreeNavigatorTest.NextPrev/37_Flats, where GetParam() = 37
[4167](https://gitlab.alpinelinux.org/a16bitsysop/aports/-/jobs/824175#L4167)[ FAILED ] WithParam/CordRepBtreeNavigatorTest.NextPrev/89_Flats, where GetParam() = 89
[4168](https://gitlab.alpinelinux.org/a16bitsysop/aports/-/jobs/824175#L4168)[ FAILED ] WithParam/CordRepBtreeNavigatorTest.PrevNext/35_Flats, where GetParam() = 35
[4169](https://gitlab.alpinelinux.org/a16bitsysop/aports/-/jobs/824175#L4169)[ FAILED ] WithParam/CordRepBtreeNavigatorTest.PrevNext/36_Flats, where GetParam() = 36
[4170](https://gitlab.alpinelinux.org/a16bitsysop/aports/-/jobs/824175#L4170)[ FAILED ] WithParam/CordRepBtreeNavigatorTest.PrevNext/37_Flats, where GetParam() = 37
[4171](https://gitlab.alpinelinux.org/a16bitsysop/aports/-/jobs/824175#L4171)[ FAILED ] WithParam/CordRepBtreeNavigatorTest.PrevNext/89_Flats, where GetParam() = 89
[4172](https://gitlab.alpinelinux.org/a16bitsysop/aports/-/jobs/824175#L4172) 8 FAILED TESTS
Full log: https://gitlab.alpinelinux.org/a16bitsysop/aports/-/jobs/824175
They passed in 20220623.0
Steps to reproduce the bug
Built with:
cmake -B build -G Ninja \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=ON \
-DABSL_BUILD_TESTING=ON \
-DABSL_USE_EXTERNAL_GOOGLETEST=ON \
-DABSL_PROPAGATE_CXX_STD=ON \
-DABSL_FIND_GOOGLETEST=ON
cmake --build build
full log: https://gitlab.alpinelinux.org/a16bitsysop/aports/-/jobs/824175
What version of Abseil are you using?
20220623.1
What operating system and version are you using
Alpine linux edge
What compiler and version are you using?
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-alpine-linux-musl/12.1.1/lto-wrapper
Target: x86_64-alpine-linux-musl
Configured with: /home/buildozer/aports/main/gcc/src/gcc-12.1.1_git20220630/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --target=x86_64-alpine-linux-musl --with-pkgversion='Alpine 12.1.1_git20220630' --enable-checking=release --disable-fixed-point --disable-libstdcxx-pch --disable-multilib --disable-nls --disable-werror --disable-symvers --enable-__cxa_atexit --enable-default-pie --enable-default-ssp --enable-cloog-backend --enable-languages=c,c++,d,objc,go,fortran,ada,jit --disable-libssp --disable-libmpx --disable-libmudflap --disable-libsanitizer --enable-shared --enable-threads --enable-tls --enable-host-shared --with-system-zlib --with-linker-hash-style=gnu
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.1.1 20220630 (Alpine 12.1.1_git20220630)
What build system are you using?
cmake --version
cmake version 3.24.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
Additional context
There is already a few tests excluded for failing, tests are run with:
CTEST_OUTPUT_ON_FAILURE=TRUE ctest --test-dir build -E "absl_str_format_convert_test|absl_mutex_test\
|absl_notification_test|absl_per_thread_sem_test|absl_sysinfo_test|absl_random_beta_distribution_test"
using
CXXFLAGS="$CXXFLAGS -flto=auto"
causes even more tests to fail: https://gitlab.alpinelinux.org/a16bitsysop/aports/-/jobs/824116
looks like this is to do with gcc 12, if I change to clang 14.0.6 the tests pass: https://gitlab.alpinelinux.org/a16bitsysop/aports/-/jobs/824948