-
Notifications
You must be signed in to change notification settings - Fork 15.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
Revert "Make shared libraries be able to link to MSVC static runtime libraries, so that VC runtime is not required." #6914
Conversation
Co-Authored-By: ObsidianMinor <[email protected]>
…libraries, so that VC runtime is not required." This reverts commit 129a7c8. We are seeing errors when building Python release artifacts in Windows: " error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in descriptor.obj".
Detailed error message (sponge link):
|
@veawor sorry I had to revert the commit, otherwise it's blocking our Python release. I'll be happy to roll forward the commit if it doesn't break building Python release artifacts. I'll try to find out ways so that these kind issues can be identified earlier. |
"libprotobuf.a(descriptor.pb.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in descriptor.obj" It means the descriptor.pb.cc wasn't compiled with the static runtime. |
* Update CHANGES.txt with 3.11.0-RC1 release notes (protocolbuffers#6909) * Revert "Make shared libraries be able to link to MSVC static runtime libraries, so that VC runtime is not required." (protocolbuffers#6914) * Marked update_compatibility_version.py as executable (protocolbuffers#6916)
This reverts commit 129a7c8. We are seeing errors when building Python release artifacts in Windows:
"error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in descriptor.obj".