Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-20712

Build failure with --use-cpu-profiler on linux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.1.8
    • Fix Version/s: 3.2.0-rc0
    • Component/s: Build
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      scons --use-cpu-profiler

      Show
      scons --use-cpu-profiler
    • Sprint:
      Build A (10/09/15)

      Description

      Build on linux fails with the --use-cpu-profiler option. Errors include:

      src/third_party/gperftools-2.2/src/base/logging.h:195:19: note: in expansion of macro 'INFO'
      enum LogSeverity

      Unknown macro: {INFO = -1, WARNING = -2, ERROR = -3, FATAL = -4}

      ;
      ^
      In file included from src/third_party/s2/util/math/vector3-inl.h:39:0,
      from src/third_party/s2/s2.h:26,
      from src/mongo/db/geo/s2.h:40,
      from src/mongo/db/geo/big_polygon.h:33,
      from src/mongo/db/geo/shapes.h:37,
      from src/mongo/db/query/expression_index.h:34,
      from src/mongo/db/query/expression_index.cpp:29:
      src/third_party/gperftools-2.2/src/base/logging.h:195:66: error: expected declaration before '}' token
      enum LogSeverity

      ;
      ^

      The issue starts on commit

      [f725d04705a2019ab1949ced290158397d9365b0] SERVER-19661 Give vendored include paths higher priority

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jonathan.reams Jonathan Reams
              Reporter:
              david.daly David Daly
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: