/[ports]
ViewVC logotype

Revision 489754


Jump to revision: Previous Next
Author: zeising
Date: Wed Jan 9 07:25:55 2019 UTC (4 years, 6 months ago)
Changed paths: 2
Log Message:
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
MFH:		2019Q1


Changed paths

Path Details
Directoryhead/x11-servers/xorg-server/Makefile modified , text changed
Directoryhead/x11-servers/xorg-server/files/patch-Xserver-hw-xfree86-os-support-misc-Makefile.in
(Copied from head/x11-servers/xorg-server/files/patch-Xserver-hw-xfree86-os-support-misc-Makefile.in, r433862)
added

  ViewVC Help
Powered by ViewVC 1.1.27