[Bug 292566] math/openblas: Fails to build: "Program received signal SIGILL: Illegal instruction." on Proxmox VM on AMD Ryzen 7 5700G

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 18 Jan 2026 15:31:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292566

            Bug ID: 292566
           Summary: math/openblas: Fails to build: "Program received
                    signal SIGILL: Illegal instruction." on Proxmox VM on
                    AMD Ryzen 7 5700G
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: nimaje+fbz@bureaucracy.de
                CC: phd_kimberlite@yahoo.co.jp
                CC: phd_kimberlite@yahoo.co.jp
             Flags: maintainer-feedback?(phd_kimberlite@yahoo.co.jp)

On my ports building VM building math/openblas fails with:

OMP_NUM_THREADS=1 OMP_NUM_THREADS=1 ./cblat3_3m < ./cblat3_3m.dat

Program received signal SIGILL: Illegal instruction.

Backtrace for this error:
#0  0x8284208f9 in ???
#1  0x82841f915 in ???
#2  0x823d6849f in ???
#3  0x823d67a6a in ???
#4  0x822cb42d2 in ???
#5  0xb3ee26 in ???
gmake[1]: *** [Makefile:272: level3_3m] Illegal instruction (core dumped)

The VM runs on top of a proxmox host on AMD Ryzen 7 5700G and mostly uses
default settings of proxmox, so the VM runs on an emulated x86-64-v2-AES
CPU[0].

I will later try a WITH_DEBUG build of math/openblas to hopefully make that
backtrace more useable. I can provide additional information (like a full build
log) if needed.

[0]: dmesg of the VM: https://dmesgd.nycbug.org/index.cgi?do=view&id=8805

-- 
You are receiving this mail because:
You are the assignee for the bug.