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

boost 1.56 libstdc++ version detection is broken when compiling with clang

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.5, 3.3.4
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
    • Fully Compatible
    • ALL
    • Integration 11 (03/14/16), Integration 12 (04/04/16)

      It uses the gcc version to detect the libstdc++ version but clang always claims to be 4.2.1. See https://svn.boost.org/trac/boost/ticket/7473 and https://github.com/mongodb/mongo/blob/master/src/third_party/boost-1.56.0/boost/config/stdlib/libstdcpp3.hpp#L94-L114

      This was fixed in 1.57 and a patch will not be needed when we upgrade to 1.60: https://github.com/boostorg/config/blob/boost-1.60.0/include/boost/config/stdlib/libstdcpp3.hpp#L115-L141

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: