]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: add build deps for Debug build of seastar 34016/head
authorKefu Chai <kchai@redhat.com>
Wed, 18 Mar 2020 02:29:54 +0000 (10:29 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 18 Mar 2020 03:02:23 +0000 (11:02 +0800)
it's a regression introduced by
6158bcfdef91cc2930c57ff2bbe2bfae37da7363, which dropped the change to
make Sanitizers optional

since we've switched from xenial to bionic. there is no need to disable
this anymore. we ran into an issue caused by the ancient linker shipped
by xenial before.

Fixes: https://tracker.ceph.com/issues/44658
Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph.spec.in

index fd73933e7bfa18c9848b2ec42d76edbb164da549..9cb04a79a679d3e7a7ffc098dfbf32eaaec9d675 100644 (file)
@@ -238,6 +238,22 @@ BuildRequires:  protobuf-devel
 BuildRequires:  ragel
 BuildRequires:  systemtap-sdt-devel
 BuildRequires:  yaml-cpp-devel
+%if 0%{?fedora}
+BuildRequires:  fmt-devel
+BuildRequires:  libubsan
+BuildRequires:  libasan
+BuildRequires:  libatomic
+%endif
+%if 0%{?rhel} == 7
+BuildRequires:  devtoolset-8-libubsan
+BuildRequires:  devtoolset-8-libasan
+BuildRequires:  devtoolset-8-libatomic
+%endif
+%if 0%{?rhel} >= 8
+BuildRequires:  libubsan
+BuildRequires:  libasan
+BuildRequires:  libatomic
+%endif
 %endif
 #################################################################################
 # distro-conditional dependencies