-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Don't generate PDB for libiconv on Windows #11502
Don't generate PDB for libiconv on Windows #11502
Conversation
Ummmm isn't the license in that project straight up GPLv3-only? |
That's GNU iconv, the command-line frontend to GNU libiconv, and we don't use it anywhere, before or after this PR. At least that's what GNU proclaims:
The .vcxproj file used by the CI references some header files under |
OK but all other files are also GPL only. |
OMG I was so confused. |
There are still warnings
|
Did some further digging and the actual GNU libiconv uses EDIT: This is indeed an issue on their end, but |
@HertzDevil It's unfortunate... this kind of thing is exactly something that can make this PR linger for months :D What solution do we have for now? |
Is the A few options if we want to get around the license issues:
|
Fixes #11480 (comment). At the moment, static libraries for Windows builds are all release builds and do not have any debug information, so we make sure to strip it from libiconv too; more specifically, we cannot pass the
/Zi
flag tocl.exe
. Later we should revisit the issue of whether to include PDB files for those libraries as they might affect call stacks on Windows.This PR switches to kiyolee/libiconv-win-build instead, since its MSVC build files are more organized than the one before (which is also incorrect in certain places).