-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Build
-
ALL
Os : Windows 11
Visual Studio 2022
python buildscripts/scons.py -build-profile=opt BAZEL_FLAGS=-config=local
leads to
[0/33] Running bazel buildRunning bazel command: 'C:\Users\hsous\.local\bin\bazelisk' build --compiler_type=msvc --opt=on --dbg=False --debug_symbols=True --thin_lto=False --separate_debug=False --libunwind=auto --use_gdbserver=False --spider_monkey_dbg=False --allocator=tcmalloc-gperf --use_lldbserver=False --use_wait_for_debugger=False --use_ocsp_stapling=True --use_disable_ref_track=False --use_wiredtiger=True --use_glibcxx_debug=False --use_tracing_profiler=False --build_grpc=False --use_libcxx=False --detect_odr_violations=False --linkstatic=True --shared_archive=False --linker=auto --streams_release_build=False --release=False --build_enterprise=False --visibility_support=auto --disable_warnings_as_errors=False --gcov=False --pgo_profile=False --server_js=True --ssl=True --js_engine=mozjs --use_sasl_client=False --define MONGO_VERSION=8.0.0 --define MONGO_DISTMOD= --compilation_mode=dbg --dynamic_mode=off --link_timeout_8min=True --platforms=//bazel/platforms:windows_amd64 --host_platform=//bazel/platforms:windows_amd64 --http_client=True --config=local --output_filter=DONT_MATCH_ANYTHING '--target_pattern_file=C:\Users\hsous\AppData\Local\Temp\tmpfuawe9ql' [785 targets...] INFO: Analyzed 782 targets (1 packages loaded, 1706 targets configured). ERROR: E:/mongo/src/mongo/db/exec/sbe/BUILD.bazel:29:17: Compiling src/mongo/db/exec/sbe/vm/vm_arith.cpp failed: (Exit 2): cl.exe failed: error executing CppCompile command (from target //src/mongo/db/exec/sbe:query_sbe_with_debug) C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\cl.exe ... (remaining 1 argument skipped) cl : Command line warning D9025 : overriding '/DCOMPILER_MSVC' with '/UCOMPILER_MSVC' C:\users\hsous\_bazel_hsous\vztigxpp\execroot\__main__\src\mongo/db/exec/sbe/values/slot.h(272,1): fatal error C1060: compiler is out of heap space } ^ ERROR: E:/mongo/src/mongo/db/exec/sbe/BUILD.bazel:29:17: Compiling src/mongo/db/exec/sbe/vm/vm.cpp failed: (Exit 2): cl.exe failed: error executing CppCompile command (from target //src/mongo/db/exec/sbe:query_sbe_with_debug) C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\cl.exe @bazel-out/x64_windows-dbg/bin/src/mongo/db/exec/sbe/_objs/query_sbe_with_debug/vm.obj.params cl : Command line warning D9025 : overriding '/DCOMPILER_MSVC' with '/UCOMPILER_MSVC' C:\users\hsous\_bazel_hsous\vztigxpp\execroot\__main__\src\mongo/util/base64.h(99,5): fatal error C1060: compiler is out of heap space return std::array<unsigned char, sizeof...(Cs)>{ ^ ERROR: E:/mongo/src/mongo/db/exec/sbe/BUILD.bazel:29:17: Compiling src/mongo/db/exec/sbe/vm/vm_block.cpp failed: (Exit 2): cl.exe failed: error executing CppCompile command (from target //src/mongo/db/exec/sbe:query_sbe_with_debug) C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\cl.exe ... (remaining 1 argument skipped) cl : Command line warning D9025 : overriding '/DCOMPILER_MSVC' with '/UCOMPILER_MSVC' C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\include\tuple(318,1): fatal error C1060: compiler is out of heap space constexpr tuple(_Tag, _Tpl&& _Right) ^