Skip to content

lld-21 started warning about DllMain symbol #25716

@MehdiChinoune

Description

@MehdiChinoune

Description / Steps to reproduce the issue

Link any binary with libintl or libxml2.

I am no expert.
@mstorsjo @jeremyd2019 @mati865

Expected behavior

To not warn

Actual behavior

  ld.lld: warning: C:/msys64/clang64/lib/libintl.dll.a: skipping imported DllMain symbol [importeddllmain]
  NOTE: this might be a mistake when the DLL/library was produced.
  
  ld.lld: warning: C:/msys64/clang64/lib/libxml2.dll.a: skipping imported DllMain symbol [importeddllmain]
  NOTE: this might be a mistake when the DLL/library was produced.

Verification

Windows Version

MINGW64_NT-10.0-26100

MINGW environments affected

  • MINGW64
  • MINGW32
  • UCRT64
  • CLANG64
  • CLANGARM64

Are you willing to submit a PR?

I can If It's OK to remove it from the mentioned libraries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions