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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.5, 3.3.4
    • Component/s: Build
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Sprint:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: