All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH] ceph: add missing include for atomic<bool>
@ 2020-08-29  0:31 sakib.sajal
  0 siblings, 0 replies; only message in thread
From: sakib.sajal @ 2020-08-29  0:31 UTC (permalink / raw)
  To: meta-virtualization

ceph do_compile failed with error:
src/tools/rbd/action/Bench.cc:20:26: error: aggregate 'std::atomic<bool>
terminating' has incomplete type and cannot be defined

Add missing include to fix it.

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
---
 ...-add-missing-include-for-atomic-bool.patch | 25 +++++++++++++++++++
 recipes-extended/ceph/ceph_15.2.0.bb          |  1 +
 2 files changed, 26 insertions(+)
 create mode 100644 recipes-extended/ceph/ceph/0001-add-missing-include-for-atomic-bool.patch

diff --git a/recipes-extended/ceph/ceph/0001-add-missing-include-for-atomic-bool.patch b/recipes-extended/ceph/ceph/0001-add-missing-include-for-atomic-bool.patch
new file mode 100644
index 0000000..ffcbc58
--- /dev/null
+++ b/recipes-extended/ceph/ceph/0001-add-missing-include-for-atomic-bool.patch
@@ -0,0 +1,25 @@
+From 502be73be3c3645094525aa552f5e53d8782a004 Mon Sep 17 00:00:00 2001
+From: Sakib Sajal <sakib.sajal@windriver.com>
+Date: Fri, 28 Aug 2020 19:36:19 -0400
+Subject: [PATCH] add missing include for atomic<bool>
+
+Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
+---
+ src/tools/rbd/action/Bench.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/tools/rbd/action/Bench.cc b/src/tools/rbd/action/Bench.cc
+index aa6edbc1..90c551c1 100644
+--- a/src/tools/rbd/action/Bench.cc
++++ b/src/tools/rbd/action/Bench.cc
+@@ -9,6 +9,7 @@
+ #include "common/ceph_mutex.h"
+ #include "include/types.h"
+ #include "global/signal_handler.h"
++#include <atomic>
+ #include <iostream>
+ #include <boost/accumulators/accumulators.hpp>
+ #include <boost/accumulators/statistics/stats.hpp>
+-- 
+2.27.0
+
diff --git a/recipes-extended/ceph/ceph_15.2.0.bb b/recipes-extended/ceph/ceph_15.2.0.bb
index 223a74e..bdc794f 100644
--- a/recipes-extended/ceph/ceph_15.2.0.bb
+++ b/recipes-extended/ceph/ceph_15.2.0.bb
@@ -20,6 +20,7 @@ SRC_URI = "http://download.ceph.com/tarballs/ceph-${PV}.tar.gz \
            file://0001-mgr-require-all-caps-for-pre-octopus-tell-commands.patch \ 
            file://0002-mon-enforce-caps-for-pre-octopus-client-tell-command.patch \
            file://0003-PendingReleaseNotes-note-about-security-fix.patch \
+           file://0001-add-missing-include-for-atomic-bool.patch \
 "
 
 SRC_URI[md5sum] = "1f9af648b4c6d19975aab2583ab99710"
-- 
2.26.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-29  0:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-29  0:31 [meta-virtualization][PATCH] ceph: add missing include for atomic<bool> sakib.sajal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.