Skip to content

compile cdylib is ok,but staticlib can't link to __cxxframehandler3 #62795

Closed as duplicate of#54137
@jamesvan2019

Description

@jamesvan2019

env : windows10
compile with cdylib is ok,just copy dll to windows path
but with staticlib , can build success , but can't link to __cxxframehandler3
panic="abort" didn't useful
nm xxx.lib
U __CxxFrameHandler3
U __CxxFrameHandler3
U __CxxFrameHandler3

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesO-windowsOperating system: WindowsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions