ndd7xv / heh

A terminal UI to edit bytes by the nibble.
MIT License
434 stars 18 forks source link

LLVM build error on Alpine Linux x86 #126

Open orhun opened 2 months ago

orhun commented 2 months ago

Describe the bug I'm the maintainer of heh for Alpine Linux, and hit a very weird build issue while building 0.5.0:

   Compiling heh v0.5.0 (/builds/orhun/aports/testing/heh/src/heh-0.5.0)
LLVM ERROR: Cannot emit physreg copy instruction
error: could not compile `heh` (bin "heh")

P.S. never seen such an error in my life 😳

To Reproduce The issue is reproducible on Alpine Linux x86, see the logs here: https://gitlab.alpinelinux.org/orhun/aports/-/jobs/1337171

Expected behavior Successful build.

Desktop (please complete the following information):

Additional context

ndd7xv commented 2 months ago

I, too, have never seen this in my life 😳 just given the message I wonder if this is beyond my repo since it seems like an error with LLVM and it would be strange that any sort of Rust code would be compiled down to IR that can't be emitted. I don't know too much about Rust/LLVM internals though, so I can say anything with confidence...

orhun commented 2 months ago

Yeah, I feel like this is a heisenbug, but let's see.