Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-32451

Build fails as TaggedPtr is undefined for Power PC

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • None
    • 6.0.0
    • memcached
    • Linux powerpc64 / ppc64le

    Description

      Couchbase build fails with error "#error "TaggedPtr is x64 specific code. Not tested on other architectures"

      To add check for powerpc64 architecture, following change needs to be added:

      diff --git a/engines/ep/src/tagged_ptr.h b/engines/ep/src/tagged_ptr.h
      index 9ecd6ae..959c8cd 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
      +#if !_x86_64_ && !_M_X64 && !_powerpc64_
      #error "TaggedPtr is x64 specific code. Not tested on other architectures"
      #endif

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              shivani.gupta Shivani Gupta
              sethp Priya Seth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty