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

Build fails as TaggedPtr is undefined for s390x

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • None
    • 5.5.1
    • memcached
    • Linux s390x

    Description

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

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

      @@ -19,7 +19,7 @@
       
      #include <memory>
       
      -#if !__x86_64__ && !_M_X64 
      +#if !__x86_64__ && !_M_X64 *&& !__s390x__*
       #error "TaggedPtr is x64 specific code. Not tested on other architectures"
       #endif
      

       

      Attached is the screenshot of change.

      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
              Koumudini Bhute Koumudini
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty