Skip to content

[NativeAOT] Missing symbols when linking static AOT lib #979

@distee-ubi

Description

@distee-ubi

When building an application that links an AOTed assembly (netcore5.0, win-x64) as static library I and up with two unresolved external symbols:
RhpDebugFuncEvalHelper
RhAllocateNewObject

Do I need to link anything in addition to the libs listed below?
advapi32.lib
bcrypt.lib
crypt32.lib
iphlpapi.lib
kernel32.lib
mswsock.lib
ncrypt.lib
normaliz.lib
ntdll.lib
ole32.lib
oleaut32.lib
secur32.lib
user32.lib
version.lib
ws2_32.lib

bootstrapperdll.lib
Runtime.lib
System.IO.Compression.Native.lib

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-NativeAOT-coreclr.NET runtime optimized for ahead of time compilationquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions