-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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]: cmake does not work #7831
Comments
looks like the mass bump didn't include this |
Yepp, cmake and ldc needs libllvm first. android-tools is one of the ones with build issues: #7806 |
checking whether the C++ compiler works... no |
The |
I have the same issue
|
Can you clarify what the issue you're seeing is, @xfrcc? There are two different errors noted above. |
Calling cmake throws |
Hmm, there is something weird going on with the unwind symbols, I just had a CI failure on Android 7 with a similar error. It might be related to the Android version, as I cannot reproduce with the CMake package running on Android 11 aarch64. |
Curiously enough it was working for me before clang v13.0.0, is there any documentation about compiling previous packages? since Termux works with rolling-release updates. |
No, it has nothing to do with clang 13: we cross-compile the packages from linux with clang 12 from the Android NDK. Rather, it has to do with the NDK 23 update this weekend, which changed how it links against libunwind. I bumped the CMake package to trigger a rebuild against NDK 23b, 53e6dff, that should fix it for you all. If I keep seeing other issues like on my CI, I will open another issue for libunwind generally. |
cmake works now. The clang issue is also fixed. |
Problem description
cmake does not work in Termux F-Droid Versions 0.117, 0.116 and 0.115. I have a Samsung Galaxy S9+ with Android 10. In the Google Play Store version it does also not work anymore. cmake is version 3.21.3
EDIT: It seems to be related with g++ not working. Compiling C++ with clang result in
cannot find -lgcc
. I can't even install g++.What steps will reproduce the bug?
Install Termux from F-Droid.
What is the expected behavior?
No response
System information
termux-info: Version 0.117 on Android 10
The text was updated successfully, but these errors were encountered: