Feature Request: armv8l support
Prerequisites
- [x] I am running the latest code. Mention the version if possible as well.
- [x] I carefully followed the README.md.
- [x] I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
- [x] I reviewed the Discussions, and have a new and useful enhancement to share.
Feature Description
I tried to run vim from https://cosmo.zip/pub/cosmos/bin/vim on an Android device with 32-bit userspace and 64-bit kernel (this is a common setup for low-RAM devices). The output was:
/data/local/tmp/vim: this ape program lacks armv8l support
Then I created a dummy uname script in the $PATH that unconditionally printed aarch64. This helped and vim ran flawlessly.
Motivation
There will be one more officially supported platform
Possible Implementation
armv8l should be treated in the same way as aarch64
Cosmopolitan is strictly x86_64. I think this belongs in blink, which is what cosmopolitan uses to support other platforms.
No, this belongs here because APE implementation is here. And you can find many references to aarch64 in this repository as well.
@alganet Cosmopolitan Libc supports ARM64. It has for years.
@dereference23 What operating system / distro are you using? I've never heard of uname -m reporting armv8l before. Normally it's supposed to say aarch64 or arm64.
@jart As I mentioned, it is 32-bit Android. But I think every 32-bit OS with 64-bit Linux kernel will report armv8l
@dereference23 @jart yep, sorry, my mistake!