Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Linux powerpc64 / ppc64le
Description
Couchbase build fails with error "#error "TaggedPtr is x64 specific code. Not tested on other architectures"
To add check for ppc64le architecture, following change needs to be added:
diff --git a/engines/ep/src/tagged_ptr.h b/engines/ep/src/tagged_ptr.h
|
index 4b3a046..75150a7 100644 |
--- a/engines/ep/src/tagged_ptr.h
|
+++ b/engines/ep/src/tagged_ptr.h
|
@@ -19,7 +19,7 @@ |
#include <memory>
|
-#if !__x86_64__ && !_M_X64 && !__s390x__ |
+#if !__x86_64__ && !_M_X64 && !__s390x__ && !__powerpc64__ |
#error "TaggedPtr is x64 specific code. Not tested on other architectures" |
#endif
|
diff --git a/engines/ep/tests/ep_testsuite_xdcr.cc b/engines/ep/tests/ep_testsuite_xdcr.cc
|
index b55d732..a691c4d 100644 |
--- a/engines/ep/tests/ep_testsuite_xdcr.cc
|
+++ b/engines/ep/tests/ep_testsuite_xdcr.cc
|
@@ -2793,7 +2793,7 @@ static enum test_result test_cas_options_and_nmeta(EngineIface* h) { |
itemMeta.flags = 0xdeadbeef; |
// Watson (4.6) accepts valid encodings, but ignores them
|
- std::vector<char> junkMeta = {-2,-1,2,3}; |
+ std::vector<char> junkMeta = {(-2,-1,2,3)}; |
int force = 0; |
Attachments
Issue Links
- duplicates
-
MB-32451 Build fails as TaggedPtr is undefined for Power PC
- Closed