Fatal error: Failed to create the main Isolate. (code 24)
I suppose the issue affects linux/aarch64 platform in general.
Originally created by @allexun on GitHub (Jan 5, 2025).
I tried running Pkl on my Raspberry Pi 5 but could not get it to work.
Followed the installation instructions from the docs:
```
curl -L -o pkl 'https://github.com/apple/pkl/releases/download/0.27.1/pkl-linux-aarch64'
chmod +x pkl
./pkl --version
```
But got this error and nothing else:
```
Fatal error: Failed to create the main Isolate. (code 24)
```
I suppose the issue affects `linux/aarch64` platform in general.
The Linux aarch64 binary is well-tested on ARM Macs under virtualization, so I suspect this is unique to the rpi and similar systems. It might be related to page size, like this issue https://github.com/clojure-lsp/clojure-lsp/issues/1748. If that theory is correct then this should also repro on Asahi Linux.
@HT154 commented on GitHub (Jan 5, 2025):
The Linux aarch64 binary is well-tested on ARM Macs under virtualization, so I suspect this is unique to the rpi and similar systems. It might be related to page size, like this issue https://github.com/clojure-lsp/clojure-lsp/issues/1748. If that theory is correct then this should also repro on Asahi Linux.
$ uname -a
Linux js-macbook-pro 6.12.1-404.asahi.fc41.aarch64+16k #1 SMP PREEMPT_DYNAMIC Mon Dec 2 23:05:31 UTC 2024 aarch64 GNU/Linux
$ ./pkl --version
Fatal error: Failed to create the main Isolate. (code 24)
I'll look into fixing this since I can readily repro.
@HT154 commented on GitHub (Jan 5, 2025):
Yup, this all but confirms my theory:
```console
$ uname -a
Linux js-macbook-pro 6.12.1-404.asahi.fc41.aarch64+16k #1 SMP PREEMPT_DYNAMIC Mon Dec 2 23:05:31 UTC 2024 aarch64 GNU/Linux
$ ./pkl --version
Fatal error: Failed to create the main Isolate. (code 24)
```
I'll look into fixing this since I can readily repro.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @allexun on GitHub (Jan 5, 2025).
I tried running Pkl on my Raspberry Pi 5 but could not get it to work.
Followed the installation instructions from the docs:
But got this error and nothing else:
I suppose the issue affects
linux/aarch64platform in general.@HT154 commented on GitHub (Jan 5, 2025):
The Linux aarch64 binary is well-tested on ARM Macs under virtualization, so I suspect this is unique to the rpi and similar systems. It might be related to page size, like this issue https://github.com/clojure-lsp/clojure-lsp/issues/1748. If that theory is correct then this should also repro on Asahi Linux.
@HT154 commented on GitHub (Jan 5, 2025):
Yup, this all but confirms my theory:
I'll look into fixing this since I can readily repro.
@allexun commented on GitHub (Jan 6, 2025):
Thanks for the quick reply! Hope the fix makes it into the next release