Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static library libintl.a contains DllMain #23166

Open
4 of 6 tasks
woot000 opened this issue Jan 22, 2025 · 0 comments
Open
4 of 6 tasks

Static library libintl.a contains DllMain #23166

woot000 opened this issue Jan 22, 2025 · 0 comments
Labels

Comments

@woot000
Copy link

woot000 commented Jan 22, 2025

Description / Steps to reproduce the issue

After #23011, DllMain is included in the static library for gettext-runtime, not sure if this is intentional
MINGW64:

$ nm /mingw64/lib/libintl.a | grep DllMain
0000000000000010 T DllMain

CLANG64:

$ nm /clang64/lib/libintl.a | grep DllMain
00000010 T DllMain
00000000 b DllMain.location

UCRT64:

$ nm /ucrt64/lib/libintl.a | grep DllMain
0000000000000010 T DllMain

Expected behavior

DllMain is included only in the shared library

Actual behavior

DllMain is included in both the static library and the shared library

Verification

Windows Version

MINGW64_NT-10.0-26100

MINGW environments affected

  • MINGW64
  • MINGW32
  • UCRT64
  • CLANG64
  • CLANGARM64

Are you willing to submit a PR?

No response

@woot000 woot000 added the bug label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant