-
Notifications
You must be signed in to change notification settings - Fork 254
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
[BUG] windows python prebuilt no longer has datetime module, breaking shaderc #1291
Comments
datetime module failed the build for windows:
Investigating... |
(I hate the the python build doesn't fail when it fails to build...) |
Looks like this is a MinGW bug. gmtime / localtime is decorated with __forceinline so there's no symbol generated for them. But in datetimemodule.c they try to get the pointer to the functions. This is fixed by 6988d73a95fbbd97a0bdbb517008cf18f4eb5f02. Cherrypicked in aosp/1350713 |
Thanks for the quick fix! |
Let's leave this open until we have a new mingw prebuilts. (Just in case I forget to upload it) |
Ah, sorry, forgot that was needed. |
The patch actually broke the mingw build, so we probably need another fix before we get prebuilts. |
Haibo fixed the build with https://android-review.googlesource.com/c/toolchain/mingw/+/1351332. |
I'm still (again?) seeing this. |
On Windows:
If I run the Python that's in the NDK's prebuilts directory and just try to
import datetime
it shows the same error. Seems we're missing that?The text was updated successfully, but these errors were encountered: