Skip to content
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

Crashes on Mac M1 under Linux Asahi #35

Open
fmatosqg opened this issue Nov 1, 2022 · 0 comments
Open

Crashes on Mac M1 under Linux Asahi #35

fmatosqg opened this issue Nov 1, 2022 · 0 comments

Comments

@fmatosqg
Copy link

fmatosqg commented Nov 1, 2022

I'm trying to run pre-build aapt downloaded from this repository, but no success.

Android 9 version crashes with

fmatos@fabio-mac:~/Downloads -$ ./aapt2\(1\) compile file
libc: pthread_create failed: couldn't mprotect TLS: Invalid argument
failed to initialize TLS: Invalid argument
libc: failed to initialize TLS: Invalid argument
[1]    29469 IOT instruction (core dumped)  ./aapt2\(1\) compile file

and Andrioid 11 crashes with

fmatos@fabio-mac:~/Downloads -$ ./aapt2 compile file
[1]    29492 segmentation fault  ./aapt2 compile file
fmatos@fabio-mac:~/Downloads 134$ uname -a
Linux fabio-mac 5.19.0-rc5-asahi-7-1-ARCH #1 SMP PREEMPT_DYNAMIC Sun, 17 Jul 2022 12:30:54 +0000 aarch64 GNU/Linux
fmatos@fabio-mac:~/Downloads -$ file aap*
aapt2:                      ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, BuildID[md5/uuid]=94f64bdde4f6b0610497708a2afc9d67, stripped
aapt2(1):                   ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, BuildID[md5/uuid]=64fe4b44d1e7d9b1ae78a1d376f81859, stripped

For comparison, ls downloaded from Arch's AUR gives me

fmatos@fabio-mac:~/Downloads -$ file /usr/bin/ls
/usr/bin/ls: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=a415f1ababdad1abf47af006ce591343a4960a1d, for GNU/Linux 3.7.0, stripped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant