Failing to compile explorer in RPI4

Hi :slight_smile:

I am trying to compile Explorer 0.8.2 in my RPI4 but it is failing with the next message:

   Compiling explorer v0.1.0 (/TRNLake/deps/explorer/native/explorer)
thread 'fatal runtime error: Rust cannot catch foreign exceptions
coordinator' panicked at compiler/rustc_middle/src/util/bug.rs:36:26:
/rustc/397937d812852f9bbeb671005cb399dbcb357cde/compiler/rustc_codegen_ssa/src/back/write.rs:1607:29: worker thread panicked
stack backtrace:
error: could not compile `explorer` (lib)

== Compilation error in file lib/explorer/polars_backend/native.ex ==
** (RuntimeError) Rust NIF compile error (rustc exit code 101)
    (rustler 0.32.1) lib/rustler/compiler.ex:36: Rustler.Compiler.compile_crate/3
    lib/explorer/polars_backend/native.ex:32: (module)

Explorer → 0.8.2
Rustler → 0.32.0
rpi_arch → armv7l (I know I am using the 32 bits version)

Do you have any idea what might be happening?
Thank you :slight_smile:

BTW, the library is awesome (Big data engineer here :raised_hand:)

There’s a bug report (now fixed) with the same error code, but I don’t know if that’s strictly related or just a generic “oh no” result:

What versions of Elixir and Erlang are you using?

1 Like

I am using elixir 1.17.0-rc.0-otp-26 and erlang 26.2.5, but of course I can move to a lower version an try to compile it again.

Trying with 1.15.7 and 25.2…