[pkg-remote-commits] [xrdp] 02/06: Bring back SIMD-on-i386-related control/rules changes
Thorsten Glaser
tg at moszumanska.debian.org
Sat Mar 25 21:50:00 UTC 2017
This is an automated email from the git hooks/post-receive script.
tg pushed a commit to branch experimental
in repository xrdp.
commit 497c1760b03e11d97b761307f47b7c7dd512f3cd
Author: mirabilos <thorsten.glaser at teckids.org>
Date: Sat Mar 25 21:54:51 2017 +0100
Bring back SIMD-on-i386-related control/rules changes
This reverts commit c17d7aace3075dd6eee5b7891d2c1ad5961df794.
---
debian/control | 3 +--
debian/rules | 22 ----------------------
2 files changed, 1 insertion(+), 24 deletions(-)
diff --git a/debian/control b/debian/control
index d627eeb..a477588 100644
--- a/debian/control
+++ b/debian/control
@@ -20,8 +20,7 @@ Build-Depends:
libx11-dev,
libxfixes-dev,
libxrandr-dev,
-# for now; see debian/rules for details
- nasm [amd64 kfreebsd-amd64],
+ nasm [amd64 hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386],
openssl,
pkg-config,
systemd [linux-any],
diff --git a/debian/rules b/debian/rules
index e2dfce2..1dfb2a7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,28 +27,6 @@ ifneq (${DEB_BUILD_GNU_TYPE},${DEB_HOST_GNU_TYPE})
CONFIGURE_ARGS+= --host=${DEB_HOST_GNU_TYPE}
endif
-ifeq (i386,${DEB_HOST_ARCH_CPU})
-# The following files must be rewritten to use PIC if -DPIC is passed:
-# - librfxcodec/src/x86/rfxcodec_encode_dwt_shift_x86_sse2.asm
-# - librfxcodec/src/x86/rfxcodec_encode_dwt_shift_x86_sse41.asm
-# - xorgxrdp/module/x86/a8r8g8b8_to_a8b8g8r8_box_x86_sse2.asm
-# - xorgxrdp/module/x86/a8r8g8b8_to_nv12_box_x86_sse2.asm
-# - xorgxrdp/module/x86/i420_to_rgb32_x86_sse2.asm
-# - xorgxrdp/module/x86/uyvy_to_rgb32_x86_sse2.asm
-# - xorgxrdp/module/x86/yuy2_to_rgb32_x86_sse2.asm
-# - xorgxrdp/module/x86/yv12_to_rgb32_x86_sse2.asm
-# Documentation: http://www.nasm.us/doc/nasmdoc9.html#section-9.2
-# Unfortunately, this requires reserving the EBX register, which
-# is used extensively by this code; to avoid crashes or security
-# issues in xrdp, we disable the code on any-i386 for stretch and
-# will revisit this later and with upstream; amd64 isn’t affected
-# (as it uses RIP-relative addressing), x32 and other architectures
-# don’t use the assembly code at all.
-# When fixed, change Build-Depends’ nasm component to:
-# nasm [amd64 hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386],
-CONFIGURE_ARGS+= --without-simd
-endif
-
ifeq (x32,${DEB_HOST_ARCH})
# autodetection fails on x32 (wrongly recognised as amd64)
CONFIGURE_ARGS+= --without-simd
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-remote/xrdp.git
More information about the pkg-remote-commits
mailing list