]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/common: skip unittest_back_trace with mingw-gcc 52427/head
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 14 Jul 2023 10:16:47 +0000 (10:16 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Tue, 18 Jul 2023 12:28:12 +0000 (12:28 +0000)
commit80d2d01d6126c8be0375140060cf914e4f1daa5b
tree9e34648216fba28158a8f83a92f64b7211771fac
parent9d92c2d74e5975d0a037f316f21ac2f1454d092b
test/common: skip unittest_back_trace with mingw-gcc

We're getting an ICE when trying to compile this test using
mingw-gcc and recent Boost versions. Note that mingw-llvm works fine.

    during IPA pass: inline
    /mnt/data/workspace/ceph.pr/src/test/common/test_back_trace.cc:44:1:
    internal compiler error: Segmentation fault
       44 | }
          | ^
    0x7f9c4a86c51f ???
            ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
    0x7f9c4a853d8f __libc_start_call_main
            ../sysdeps/x86/libc-start.c:58
    0x7f9c4a853e3f __libc_start_main_impl
            ../sysdeps/nptl/libc_start_call_main.h:392

For now, we'll just skip the test when using mingw-gcc. Note
that we're planing to switch to mingw-llvm anyway:
https://github.com/ceph/ceph/pull/51197

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/test/common/CMakeLists.txt