[Bug 272192] emulators/pcsx2-1.7.4097_2 crashes at start with "Program terminated with signal SIGILL, Illegal instruction."

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 24 Jun 2023 19:10:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272192

            Bug ID: 272192
           Summary: emulators/pcsx2-1.7.4097_2 crashes at start with
                    "Program terminated with signal SIGILL, Illegal
                    instruction."
           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: doctorwhoguy@gmail.com

The program dumped core, and I tried to get a backtrace. But it didn't have
debugging symbols. So I compiled it from ports with debugging turned on. But
when I compiled it for my system, it started up with no trouble at all.

I did notice what the problem may be. Although I have the CPUTYPE on my system
set to ivibridge, I see this snippet of output during compilation:
"-march=ivybridge -g -fstack-protector-strong -fno-strict-aliasing -fPIE
-march=native". As you can see, whether this is the fault of the port or
PCSX2's own build system, -march=native is being passed during compilation. So
the prebuilt package was most likely built for the native CPU of the machine it
was built on rather than generic amd64. So obviously it won't be compatible for
all systems.

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