-
-
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
llvm-libunwind and lldb v3.9 packages #639
Comments
Right now, termux doesn't provide a separate llvm library package. Its all churned up into the clang package. Rust requires llvm, too. |
Thanks @vishalbiswas, hope we can achieve this separation in llvm tools & projects packages (clang being one of them, instead the composite package). For reference, see Separately, in the previous post, clang sources are required by CoreCLR (cmake) introspection support both llvm flavors, HP unwind is preferred one. However, to support macOS and NetBSD etc., we only have llvm flavor which doesn't support Also, AFAICT, Julia and Rust autoconfigs also support llvm flavored libunwind (to get unwinding work on macOS in particular). The ask is to preferably support lldb and both kinds of libunwind libs if possible, otherwise llvm-libunwind (which is bit inferior but works cross-platform including macOS/NetBSD). Then the vendor can decide which one they want to compile against for certain {OS.arch}. :) cc @cydhaselton for visibility |
@am11 Assuming this is in regards to libunwind for hacking on the CoreCLR build, I've uploaded the modified sources for the on-device build I used for the feature-android branch: /~https://github.com/cydhaselton/libunwind-android.git It's a bit hacky but should build in Termux. |
LLVM has handful of projects listed at https://llvm.org/svn/llvm-project/, out of which this subset is quite instesting: /~https://github.com/llvm-mirror?tab=repositories
libunwind
(llvm's flavor developed by Apple) and lldb are used as dependencies for some language runtimes, in particular, .NET CoreCLR and Julia.Building llvm tools and projects are usually straightforward and can be tried out with resembling steps:
The package for
non-gnu libunwind
(one of the popular fork of the originalHP libunwind
) is disabled at the moment, due toelf_prstatus
andelf
types conflicting by addinglinux/elfcore.h
header. It can probably be fixed by including<elf.h>
header (which has proper macro redefinitions guards).If all worked out well, Termux will be providing lldb and both kinds of libunwind libs. 👍
The text was updated successfully, but these errors were encountered: