HomeFreeBSD

MFH: r489754

Description

MFH: r489754

Fix illegal instruction when running in kvm/qemu

Fix illegal instruction when running xserver in kvm or qemu (and possibly
others) virtualisation. This is solved by disabling sse instructions while
compiling the xf86SlowBcopy (don't ask) function.

This fix was originally committed by dim as r396167 in 2015, and then most
likely accidentally removed in r433863 in 2017.

Bump portrevision

Original commit message:

Disable use of SSE instructions in Xorg's xf86SlowBcopy() function.

When such instructions are used to copy data from/to mapped video
memory, some hypervisors (e.g. KVM, Microsoft Hyper-V) can generate
SIGILL or SIGBUS exceptions, causing Xorg to crash.

PR: 202643
Reported by: nogcjx@fastmail.fm
Requested by: dim
Diagnose and fix by: dim

Approved by: ports-secteam (miwi)

Details

Provenance
zeisingAuthored on
Parents
rP489816: Remove expired ports:
Branches
Unknown
Tags
Unknown