[Bug 283314] lang/go building go app immediately fails at compile "unexpected return pc for cmd/compile/internal/ssa.Compile"

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 17 Dec 2024 02:24:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283314

Mike Watkins <git@mikewatkins.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Affects Only Me             |Affects Some People

--- Comment #3 from Mike Watkins <git@mikewatkins.ca> ---
As noted in this Go issues thread, a C program written by @kostikbel to
demonstrate the problem in a 2021 FreeBSD issue can cause the same failure on
the FreeBSD VM. See:

https://github.com/golang/go/issues/46272#issuecomment-991682800

From #46272 I ran the @kostikbel 's avx_sig.c code from this comment on the
problematic VM; it reliably SIGABRTs on every single run, more or less
instantly.

The code runs without apparent issue (10 minutes each before I interrupted) on:

- a different VM host provider using kvm/qemu; guest is 14.2-RELEASE (hw.model:
Intel Core Processor (Skylake, IBRS))
- real hardware running 14.2-RELEASE (hw.model: Intel(R) Core(TM) i9-14900K)
- a Bhyve VM running 14.2-RELEASE, on ^ real hardware host

I first noted unusual behaviour on FreeBSD 14.1 on the VM in question with
random panics that didn't make sense from a Go mail server (SMTP, IMAP etc)
that I migrated in November to FreeBSD from Linux on that very same VM
instance. There were no panics on Linux.

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