-
Notifications
You must be signed in to change notification settings - Fork 258
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
LLVMgold.dll is not found on android-ndk-r13b-windows #251
Comments
Dup of #108 |
Please clarify. Is this issue has been fixed in android-ndk-r13b-windows ? |
No. Not fixed. |
Will fix be available in next after android-ndk-r13b-windows? |
I'm going to reopen this so we can track Darwin and Windows separately, since they're probably not going to get fixed at the same time. The short answer here is that this probably isn't going to be supported any time soon. Clang's LTO support currently only works on Linux. Darwin support seems to be nearly there, but I don't know if anyone has ever looked at Windows. We'll get it up and running on Darwin first since there's more demand for that (and it's likely the easier task as well since it's at least unix-like), but after that we can look at what it will take to support Windows. |
This (https://www.crystax.net/en/android/ndk) lib contains LLVMgold.dll.
I hope this info will help to you. Thank you for a job. |
I have built LLVMgold.dll on windows platform! It was not easy... The batch file that I used to build LLVMgold.dll:
Steps:
Why unexpected error is shown? |
I don't think it is safe to build LLVMgold.dll from the 3.9 sources, since the Clang/LLVM it is linking against is most definitely not 3.9. It is likely that there are missing symbols or other incompatibilities here, so you will have to wait until we can rebuild the compiler with further patches to get the appropriate .dll file. |
This actually does work for GCC. Test: ./run_tests.py --rebuild --filter flto # on windows Bug: android/ndk#251 Change-Id: Ieea8a5abdf0ede6561450ed785063118523c03a7
LLVMgold.dll landed a few releases ago. |
I'm attempting to add -flto for link-time optimization. Link fails with error:
*LLVMgold*.*
file is absent in android-ndk-r13b-windows.How can I use link time optimization on Windows?
NDK API level: 23
Compiler and linker: clang.exe
See also
#108
The text was updated successfully, but these errors were encountered: