odin-lang / Odin

Odin Programming Language
https://odin-lang.org
BSD 3-Clause "New" or "Revised" License
6.2k stars 555 forks source link

[Freebsd] Error code 132 when building and running demo after #array programming #3014

Open Nomarian opened 7 months ago

Nomarian commented 7 months ago

Building on llvm17 freebsd, after make, seems to run the demo, the demo exits with error code 132 after #array programming

Version:

Odin version: commit 040b90ce76f797e7cf7201c12a6115bf56a557ab (grafted, HEAD -> master, origin/master, origin/HEAD)

; odin report Odin: dev-2023-12:040b90c OS: FreeBSD 13.2-RELEASE-p4 GENERIC, revision 199506 CPU: AMD E-300 APU with Radeon(tm) HD Graphics RAM: 3655 MiB

odin.txt

Botster commented 2 months ago

I have the exact same issue except on a different OS, and the failure message is slightly different: "# array programming make: *** [Makefile:10: debug] Error 132"

I have tried with LLVM13 (& Clang13) and LLVM17 (& Clang17).

Odin: dev-2024-05 -> after commit f9fd8f0 OS: openSUSE Leap 15.5 Kernel: 5.14.21-150500.55.59 CPU: AMD Phenom II X6 1045T (x86-64) RAM: 15981M

Botster commented 2 months ago

Just FYI, on Debian 12 (Bookworm), the failure message is only slightly more informative: "Illegal instruction (core dumped) make: *** [Makefile:10: debug] Error 132"

The error appears to occur at line 1239: "c := a * b"