Skip to content

Release version of onnxruntime.dll has a dependency on dbghelp.dll #21826

@ivanst0

Description

@ivanst0

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

Metadata

Metadata

Assignees

Labels

buildbuild issues; typically submitted using templaterelease:1.19.0Cherry pick to ORT 1.19

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions