Describe the issue
Release version of onnxruntime.dll has a dependency on dbghelp.dll (using functions SymInitialize, SymFromAddr, SymSetOptions) while this functionality is not needed in a release build.
This is a regression, likely caused by #21300 (2024-07-10).
To reproduce
.\build.bat --config RelWithDebInfo --build_shared_lib
dumpbin /imports onnxruntime.dll
Urgency
No response
Platform
Windows
OS Version
Any
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.19
ONNX Runtime API
C++
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response
Describe the issue
Release version of onnxruntime.dll has a dependency on dbghelp.dll (using functions SymInitialize, SymFromAddr, SymSetOptions) while this functionality is not needed in a release build.
This is a regression, likely caused by #21300 (2024-07-10).
To reproduce
.\build.bat --config RelWithDebInfo --build_shared_libdumpbin /imports onnxruntime.dllUrgency
No response
Platform
Windows
OS Version
Any
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.19
ONNX Runtime API
C++
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response