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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.2.5, 3.3.4
    • Build
    • Fully Compatible
    • ALL
    • Integration 11 (03/14/16), Integration 12 (04/04/16)

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: