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

Build failures on cheshire-cat branch with latest AppleClang

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      > gcc -v                                                                                       
      Apple clang version 13.1.6 (clang-1316.0.21.2.5)
      Target: x86_64-apple-darwin21.6.0
      Thread model: posix
      InstalledDir: /Library/Developer/CommandLineTools/usr/bin

      Steps to repro:
      a. repo init -u https://github.com/couchbase/manifest -m couchbase-server/cheshire-cat.xml -g all

      b. repo sync -j32

      c. make -j16

      Build fails with error:

      /Users/varunvelamuri/couchbase/cheshire-cat/third_party/google-benchmark/src/complexity.cc:85:10: error: variable 'sigma_gn' set but not used [-Werror,-Wunused-but-set-variable]
        double sigma_gn = 0.0;
      

      Primarily because the GCC version is too new for CC code.

      Attachments

        Issue Links

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

          Activity

            People

              vesko.karaganev Vesko Karaganev
              varun.velamuri Varun Velamuri
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty