From: Kefu Chai Date: Wed, 18 Mar 2020 02:29:54 +0000 (+0800) Subject: ceph.spec.in: add build deps for Debug build of seastar X-Git-Tag: v16.0.0~31^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=293e8bdf6c0a5f3c65c8a05ee77964c3989804b1;p=ceph.git ceph.spec.in: add build deps for Debug build of seastar 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index fd73933e7bf..9cb04a79a67 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -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