# Julia 1.8.5 not working on Rock Pi 4

**URL:** <https://discourse.julialang.org/t/julia-1-8-5-not-working-on-rock-pi-4/95425>\
**Category:** General Usage\
**Created:** [March 2, 2023, 8:00am UTC](https://discourse.julialang.org/t/julia-1-8-5-not-working-on-rock-pi-4/95425 "2023-03-02T08:00:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![minetest2048](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/minetest2048/32/45961_2.png) [@minetest2048](https://discourse.julialang.org/u/minetest2048)\
**Post date:** [March 2, 2023, 8:00am UTC](https://discourse.julialang.org/t/julia-1-8-5-not-working-on-rock-pi-4/95425/1 "2023-03-02T08:00:58Z")

</div>

I’ve downloaded Julia 1.8.5 aarch64 to my Rock Pi 4 running `Ubuntu 18.04.1 LTS (GNU/Linux 4.4.154-95-rockchip-gd2ab1f26e1b3 aarch64)`

When I tried to run the REPL it just get stuck trying to write the exception

```julia
rock@harry2-prod:/media/picklejar/julia-1.8.5/bin$ ./julia 
               _
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.8.5 (2023-01-08)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

SYSTEM: caught exception of type 

```

If I ctrl-c it says no exception handler available

```julia
SYSTEM: caught exception of type ^Cfatal: error thrown and no exception handler available.
InterruptException()
jl_mutex_unlock at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/julia_locks.h:129 [inlined]
ijl_task_get_next at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/partr.c:569
poptask at ./task.jl:921
wait at ./task.jl:930
task_done_hook at ./task.jl:634
jfptr_task_done_hook_51304 at /media/picklejar/julia-1.8.5/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/gf.c:2559
jl_apply at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/julia.h:1843 [inlined]
jl_finish_task at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/task.c:254
start_task at /cache/build/default-armageddon-4/julialang/julia-release-1-dot-8/src/task.c:942

```

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [March 2, 2023, 8:49am UTC](https://discourse.julialang.org/t/julia-1-8-5-not-working-on-rock-pi-4/95425/2 "2023-03-02T08:49:31Z")

</div>

Can you try [this build](https://buildkite.com/organizations/julialang/pipelines/julia-master/builds/21275/jobs/0186610c-4ccd-479c-b6d3-51cf332cfda3/artifacts/0186611e-c357-4578-a729-818f326e1467)? It’s the CI build from the pull request [Enable JITLink on aarch64 linux. by sunho · Pull Request #45859 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/pull/45859)

---

<div class="post-metadata">

**Author:** ![minetest2048](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/minetest2048/32/45961_2.png) [@minetest2048](https://discourse.julialang.org/u/minetest2048)\
**Post date:** [March 2, 2023, 10:11am UTC](https://discourse.julialang.org/t/julia-1-8-5-not-working-on-rock-pi-4/95425/3 "2023-03-02T10:11:44Z")

</div>

That build works! You have saved my friend life

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [March 2, 2023, 10:25am UTC](https://discourse.julialang.org/t/julia-1-8-5-not-working-on-rock-pi-4/95425/4 "2023-03-02T10:25:01Z")

</div>

It’d be nice to report on the PR that it fixes your problems on Rock Pi 4 🙂 That PR will solves a ridiculously large number of issues on aarch64 linux. However do note that it’s based on a work-in-progress PR to [upgrade Julia to LLVM 15](https://github.com/JuliaLang/julia/pull/48700), so some things may not be working correctly just yet.

---

<div class="post-metadata">

**Author:** ![minetest2048](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/minetest2048/32/45961_2.png) [@minetest2048](https://discourse.julialang.org/u/minetest2048)\
**Post date:** [March 2, 2023, 10:31am UTC](https://discourse.julialang.org/t/julia-1-8-5-not-working-on-rock-pi-4/95425/5 "2023-03-02T10:31:49Z")

</div>

The weird thing is that the official 1.8.5 binary works with Raspberry Pi CM4 and AWS Graviton but it breaks with Rock Pi 4, and all of them are aarch64

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [March 2, 2023, 10:35am UTC](https://discourse.julialang.org/t/julia-1-8-5-not-working-on-rock-pi-4/95425/6 "2023-03-02T10:35:22Z")

</div>

It’s a problem upstream in LLVM: I’ve experienced Julia working fine on a ThunderX2 machine, but not another one, which has supposedly the same CPU 🤷 The good news is that now we have a way forward!
