Skip to content

error C2065: 'NI_Vector128_CreateGeometricSequence': undeclared identifier #129607

Description

@PranavSenthilnathan

Error during ./build.cmd clr+libs -rc Release:

...
  [1928/2638] Building CXX object jit\CMakeFiles\clrjit_universal_wasm_x64.dir\morph.cpp.obj
  FAILED: jit/CMakeFiles/clrjit_universal_wasm_x64.dir/morph.cpp.obj
  C:\PROGRA~1\MICROS~4\18\Insiders\VC\Tools\MSVC\1450~1.357\bin\Hostx64\x64\cl.exe  /nologo /TP -DDEBUGGING_SUPPORTED -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLD_R2R_CODE -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_COMINTEROP -DFEATURE_COMINTEROP_APARTMENT_SUPPORT -DFEATURE_COMINTEROP_UNMANAGED_ACTIVATION -DFEATURE_COMWRAPPERS -DFEATURE_CORECLR -DFEATURE_CORECLR_FLUSH_INSTRUCTION_CACHE_TO_PROTECT_STUB_READS -DFEATURE_DATABREAKPOINT -DFEATURE_DEFAULT_INTERFACES -DFEATURE_DYNAMIC_CODE_COMPILED -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_HW_INTRINSICS -DFEATURE_IJW -DFEATURE_INTEROP_DEBUGGING -DFEATURE_ISYM_READER -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_UPDATER -DFEATURE_MULTICOREJIT -DFEATURE_MULTITHREADING -DFEATURE_NO_HOST -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMAP_FUNCTION -DFEATURE_SIMD -DFEATURE_SPECIAL_USER_MODE_APC -DFEATURE_STANDALONE_GC -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_TYPEEQUIVALENCE -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DFX_VER_INTERNALNAME_STR=clrjit_universal_wasm_x64.dll -DHOST_64BIT -DHOST_AMD64 -DHOST_WINDOWS -DJIT_BUILD -DJIT_STANDALONE_BUILD -DNDEBUG -DNOMINMAX -DOUT_OF_PROCESS_SETTHREADCONTEXT -DPROFILING_SUPPORTED -DSELF_NO_HOST -DTARGET_WASM -DTARGET_WASM32 -DUNICODE -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -DWIN32 -DWIN32_LEAN_AND_MEAN -DWINVER=0x0602 -DWITH_NATIVE_PGO -D_CRT_SECURE_NO_WARNINGS -D_FILE_OFFSET_BITS=64 -D_SECURE_SCL=0 -D_TIME_BITS=64 -D_UNICODE -D_WIN32 -D_WIN32_WINNT=0x0602 -Dclrjit_universal_wasm_x64_EXPORTS -ID:\git\runtime-base\artifacts\obj\coreclr\windows.x64.Release\jit -ID:\git\runtime-base\src\coreclr\jit -ID:\git\runtime-base\src\native -ID:\git\runtime-base\src\native\inc -ID:\git\runtime-base\src\coreclr\pal\prebuilt\inc -ID:\git\runtime-base\artifacts\obj -ID:\git\runtime-base\src\coreclr\inc -ID:\git\runtime-base\src\coreclr\debug\inc -ID:\git\runtime-base\src\coreclr\debug\inc\amd64 -ID:\git\runtime-base\src\coreclr\debug\inc\dump -ID:\git\runtime-base\src\coreclr\md\inc -ID:\git\runtime-base\artifacts\obj\coreclr\windows.x64.Release\inc -ID:\git\runtime-base\src\coreclr\hosts\inc -ID:\git\runtime-base\src\coreclr\interpreter\inc -ID:\git\runtime-base\src\coreclr\minipal -ID:\git\runtime-base\artifacts\obj\coreclr\windows.x64.Release\inc\etw -ID:\git\runtime-base\src\coreclr\jit\.\jitstd -ID:\git\runtime-base\src\coreclr\jit\..\inc -ID:\git\runtime-base\src\coreclr\jit\..\jitshared /DWIN32 /D_WINDOWS  /GR- /O2 /Ob2 /DNDEBUG -std:c++17 -MT -Zi /GL /Ox /EHa /nologo /W4 /WX /sdl /Oi /Oy- /Gm- /Zp8 /Gy /fp:precise /FC /MP /Zm200 /Zc:strictStrings /Zc:wchar_t /Zc:inline /Zc:forScope /wd4065 /wd4100 /wd4127 /wd4131 /wd4189 /wd4200 /wd4201 /wd4206 /wd4239 /wd4245 /wd4291 /wd4310 /wd4324 /wd4366 /wd4456 /wd4457 /wd4458 /wd4459 /wd4463 /wd4505 /wd4702 /wd4706 /wd4733 /wd4815 /wd4838 /wd4918 /wd4960 /wd4961 /wd5105 /wd5205 /we4007 /we4013 /we4102 /we4551 /we4640 /we4806 /we4018 /we4055 /we4242 /we4244 /we4267 /we4302 /we4509 /we4510 /we4610 /we4611 /we4701 /w34092 /w34121 /w34125 /w34130 /w34132 /w34212 /w34530 /w35038 /w44177 /ZH:SHA_256 /source-charset:utf-8 /guard:cf /guard:ehcont /Zl /permissive- /YuD:/git/runtime-base/artifacts/obj/coreclr/windows.x64.Release/jit/CMakeFiles/clrjit_universal_wasm_x64.dir/cmake_pch.hxx /FpD:/git/runtime-base/artifacts/obj/coreclr/windows.x64.Release/jit/CMakeFiles/clrjit_universal_wasm_x64.dir/.//cmake_pch.cxx.pch /FID:/git/runtime-base/artifacts/obj/coreclr/windows.x64.Release/jit/CMakeFiles/clrjit_universal_wasm_x64.dir/cmake_pch.hxx /showIncludes /Fojit\CMakeFiles\clrjit_universal_wasm_x64.dir\morph.cpp.obj /Fdjit\CMakeFiles\clrjit_universal_wasm_x64.dir\ /FS -c D:\git\runtime-base\src\coreclr\jit\morph.cpp
  D:\git\runtime-base\src\coreclr\jit\morph.cpp(11883): error C2065: 'NI_Vector128_CreateGeometricSequence': undeclared identifier
  D:\git\runtime-base\src\coreclr\jit\morph.cpp(11883): error C2131: expression did not evaluate to a constant
  D:\git\runtime-base\src\coreclr\jit\morph.cpp(11883): note: a non-constant (sub-)expression was encountered
  D:\git\runtime-base\src\coreclr\jit\morph.cpp(11902): fatal error C1189: #error:  Unsupported platform
  [1929/2638] Building CXX object jit\CMakeFiles\clrjit_universal_wasm_x64.dir\objectalloc.cpp.obj
  [1930/2638] Building CXX object dlls\mscoree\coreclr\CMakeFiles\coreclr_static.dir\__\exports.cpp.obj
  [1931/2638] Building CXX object jit\CMakeFiles\clrjit_universal_wasm_x64.dir\lower.cpp.obj
  [1932/2638] Building CXX object jit\CMakeFiles\clrjit_universal_wasm_x64.dir\liveness.cpp.obj
  [1933/2638] Building CXX object jit\CMakeFiles\clrjit_universal_wasm_x64.dir\optimizer.cpp.obj
  [1934/2638] Building CXX object dlls\mscoree\coreclr\CMakeFiles\coreclr_static.dir\__\mscoree.cpp.obj
  [1935/2638] Building CXX object dlls\mscoree\coreclr\CMakeFiles\coreclr.dir\__\mscoree.cpp.obj
  [1936/2638] Building CXX object dlls\mscoree\coreclr\CMakeFiles\coreclr.dir\__\exports.cpp.obj
  ninja: build stopped: subcommand failed.
  BUILD: Error: native component build failed. Refer to the build log files for details.
      "D:\git\runtime-base\artifacts\log\Release\CoreCLR_windows__x64__Release__x64.log"
      "D:\git\runtime-base\artifacts\log\Release\CoreCLR_windows__x64__Release__x64.wrn"
      "D:\git\runtime-base\artifacts\log\Release\CoreCLR_windows__x64__Release__x64.err"
D:\git\runtime-base\src\coreclr\runtime.proj(120,5): error MSB3073: The command ""D:\git\runtime-base\src\coreclr\build-runtime.cmd" -x64 -release -os windows -pgodatapath "d:\nuget\optimization.windows_nt-x64.pgo.coreclr\1.0.0-prerelease.26276.2" -targetrid win-x64 -cmakeargs "-DCLR_DOTNET_RID=win-x64" -cmakeargs "-DCLR_DOTNET_HOST_PATH='D:\git\runtime-base\.dotnet\dotnet.exe'" -cmakeargs "-DCDAC_BUILD_TOOL_BINARY_PATH=D:\git\runtime-base\artifacts\bin\coreclr\windows.x64.Release\cdac-build-tool\cdac-build-tool.dll" -cmakeargs "-DFEATURE_DYNAMIC_CODE_COMPILED=1" " exited with code 1.

Build FAILED.

D:\git\runtime-base\src\coreclr\runtime.proj(120,5): error MSB3073: The command ""D:\git\runtime-base\src\coreclr\build-runtime.cmd" -x64 -release -os windows -pgodatapath "d:\nuget\optimization.windows_nt-x64.pgo.coreclr\1.0.0-prerelease.26276.2" -targetrid win-x64 -cmakeargs "-DCLR_DOTNET_RID=win-x64" -cmakeargs "-DCLR_DOTNET_HOST_PATH='D:\git\runtime-base\.dotnet\dotnet.exe'" -cmakeargs "-DCDAC_BUILD_TOOL_BINARY_PATH=D:\git\runtime-base\artifacts\bin\coreclr\windows.x64.Release\cdac-build-tool\cdac-build-tool.dll" -cmakeargs "-DFEATURE_DYNAMIC_CODE_COMPILED=1" " exited with code 1.
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:02:34.74
Build failed with exit code 1. Check errors above.
Some builds failed:
        Configuration: Debug, Architecture: x64

When I revert #127690 locally the build passes so the break was introduced by that PR. It looks like maybe some conditional compilation flags were not set.

OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.26200 N/A Build 26200
System Type: x64-based PC
Processor(s): AMD Ryzen 9 9950X 16-Core Processor
Microsoft (R) C/C++ Optimizing Compiler Version 19.50.35728 for x64

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions