ish-app / ish

Linux shell for iOS
https://ish.app
Other
16.84k stars 885 forks source link

Libheif - Illegal Instruction #1067

Open jankais3r opened 3 years ago

jankais3r commented 3 years ago

Libheif, an opensource library and a collection of tools for working with HEIC files, crashes with Illegal Instruction. To install it in iSH, run apk add libheif-dev. This one would be great to have working in iSH, because there are very few alternatives (i.e. HEIC files are still not natively supported by Safari, all Python libraries rely on libheif, etc.)

Jans-iPad-Pro:~# uname -a
Linux Jans-iPad-Pro 4.20.69-ish iSH 1.0.2 (79) Nov 11 2020 23:59:13 i686 Linux
Jans-iPad-Pro:~# heif-convert test.heic test.jpg
File contains 1 images
Illegal instruction
Jans-iPad-Pro:~# dmesg
19 stub syscall 375
19 illegal instruction at 0xf7e9ff2f: 0f 75 f6 66 0f 70 ff 00 
saagarjha commented 3 years ago

pcmpeqw

Mnpn commented 2 years ago

Now hits packuswb (illegal instruction at 0xf7e81438: 66 0f 67 c2 66 0f 7f 07).