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

MongoDB failed to build due to error C3861:'_mul128': identifier not found

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • None
    • ALL
    • Hide

      **Environment: **
       VS 2017 + Windows Server 2016 + MongoDB master branch latest revision**

      Reproduce steps:
      1. git clone -c core.autocrlf=true https://github.com/mongodb/mongo D:\MongoDB\src
      2. Open a VS 2017 x64 command prompt and browse to D:\MongoDB\src
      3. pip.exe install -r .\buildscripts\requirements.txt
      4. scons all -j4 CXXFLAGS="/wd4756 /wd4056"

       

      Acutal result:
      cl /Fobuild\opt\mongo\util\options_parser\environment.obj /c src\mongo\util\options_parser\environment.cpp /wd4756 /wd4056 /nologo /EHsc /W3 /wd4355 /wd4800 /wd4267 /wd4244 /wd4290 /wd4068 /wd4351 /wd4373 /we4013 /we4099 /we4930 /WX /errorReport:none /MT /O2 /Oy- /bigobj /utf-8 /Zc:rvalueCast /Zc:strictStrings /volatile:iso /std:c++14 /Gw /Gy /Zc:inline /DPCRE_STATIC /DNDEBUG /DBOOST_ALL_NO_LIB /D_UNICODE /DUNICODE /D_CONSOLE /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /D_WIN32_WINNT=0x0601 /DNTDDI_VERSION=0x06010000 /DBOOST_SYSTEM_NO_DEPRECATED /DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS /Isrc\third_party\yaml-cpp-0.5.3\include /Isrc\third_party\asio-master\asio\include /Isrc\third_party\pcre-8.41 /Isrc\third_party\boost-1.60.0 /Ibuild\opt /Isrc /Z7
      environment.cpp
      D:\MongoDB\src\src\mongo/platform/overflow_arithmetic.h(69): error C3861: '_mul128': identifier not found

      Show
      **Environment: **   VS 2017 + Windows Server 2016 + MongoDB master branch latest revision ** Reproduce steps: 1. git clone -c core.autocrlf=true https://github.com/mongodb/mongo D:\MongoDB\src 2. Open a VS 2017 x64 command prompt and browse to D:\MongoDB\src 3. pip.exe install -r .\buildscripts\requirements.txt 4. scons all -j4 CXXFLAGS="/wd4756 /wd4056"   Acutal result: cl /Fobuild\opt\mongo\util\options_parser\environment.obj /c src\mongo\util\options_parser\environment.cpp /wd4756 /wd4056 /nologo /EHsc /W3 /wd4355 /wd4800 /wd4267 /wd4244 /wd4290 /wd4068 /wd4351 /wd4373 /we4013 /we4099 /we4930 /WX /errorReport:none /MT /O2 /Oy- /bigobj /utf-8 /Zc:rvalueCast /Zc:strictStrings /volatile:iso /std:c++14 /Gw /Gy /Zc:inline /DPCRE_STATIC /DNDEBUG /DBOOST_ALL_NO_LIB /D_UNICODE /DUNICODE /D_CONSOLE /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /D_WIN32_WINNT=0x0601 /DNTDDI_VERSION=0x06010000 /DBOOST_SYSTEM_NO_DEPRECATED /DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS /Isrc\third_party\yaml-cpp-0.5.3\include /Isrc\third_party\asio-master\asio\include /Isrc\third_party\pcre-8.41 /Isrc\third_party\boost-1.60.0 /Ibuild\opt /Isrc /Z7 environment.cpp D:\MongoDB\src\src\mongo/platform/overflow_arithmetic.h(69): error C3861: '_mul128': identifier not found

      MongoDB failed to buid due to error C3861:'_mul128': identifier not found. This issue is caused by revision 480c319 Could you pleaes help to take a look at this? Thanks in advance!

       

       

       

        1. mongodb.patch
          2 kB
        2. log_x64_build.log
          291 kB

            Assignee:
            nick.brewer Nick Brewer
            Reporter:
            spacelg LinGao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: