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

MongoDB 3.2.1 build generates internal compiler error in VS2015

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.1
    • Component/s: Build
    • None
    • ALL
    • Hide

      scons --ssl CPPPATH=s:\sdk\openssl-1.0.2e\include LIBPATH=s:\sdk\openssl-1.0.2e\win64\lib --release --win-version-min=vista all

      Show
      scons --ssl CPPPATH=s:\sdk\openssl-1.0.2e\include LIBPATH=s:\sdk\openssl-1.0.2e\win64\lib --release --win-version-min=vista all

      I'm getting an internal error in VS2015 when building 3.2.1. (Tried it multiple times on two systems, including rebooting & trying again.)

      Is there a command line option to tell SCONS to use VS2013 instead?

      time_support.cpp
      Creating 'build\opt\mongo\util\version.cpp'
      cl /Fobuild\opt\mongo\util\version.obj /c build\opt\mongo\util\version.cpp /TP /nologo /EHsc /W3 /wd4355 /wd4800 /wd4267 /wd4244 /wd4290 /wd4068 /wd4351 /we4013 /we4099 /we4930 /Z
      7 /errorReport:none /MT /O2 /Oy- /Gw /Gy /Zc:inline /DPCRE_STATIC /DNDEBUG /DBOOST_ALL_NO_LIB /D_UNICODE /DUNICODE /D_CONSOLE /D_CRT_SECURE_NO_WARNINGS /D_WIN32_WINNT=0x0600 /DNTD
      DI_VERSION=0x06000000 /DBOOST_THREAD_VERSION=4 /DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD /DBOOST_SYSTEM_NO_DEPRECATED /DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS /DBOOST_THREAD_HA
      S_NO_EINTR_BUG /Isrc\third_party\asio-asio-1-11-0\asio\include /Isrc\third_party\s2 /Isrc\third_party\pcre-8.37 /Isrc\third_party\boost-1.56.0 /IS:\sdk\openssl-1.0.2e\include /Ibu
      ild\opt /Isrc /Z7
      version.cpp
      build\opt\mongo\util\version.cpp(78): fatal error C1001: An internal error has occurred in the compiler.
      (compiler file 'f:\dd\vctools\compiler\cxxfe\sl\p1\c\constexpr.h', line 630)
       To work around this problem, try simplifying or changing the program near the locations listed above.
      Please choose the Technical Support command on the Visual C++
       Help menu, or open the Technical Support help file for more information
      scons: *** [build\opt\mongo\util\version.obj] Error 2
      scons: building terminated because of errors.
      
      

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            rconn Rex Conn
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: