summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2023-11-24 19:08:02 +0100
committergregor herrmann <gregoa@debian.org>2023-11-24 19:10:07 +0100
commitb279cb83a0e026cb211b6976cbcf3fcd9551bfdf (patch)
treef87364b8a7c05cae26e5c7effcaf15cbdf63c317
parent46d83aaa1942a1a8e9f3a115a3f65d6ca3a9e7d9 (diff)
add patch headers
Gbp-Dch: Ignore
-rw-r--r--debian/patches/x86_64-baseline.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/x86_64-baseline.patch b/debian/patches/x86_64-baseline.patch
index a1ca37d0..ab3d27c0 100644
--- a/debian/patches/x86_64-baseline.patch
+++ b/debian/patches/x86_64-baseline.patch
@@ -1,3 +1,24 @@
+Description: Step back to Debian architectural baseline
+ .
+ libcryptx-perl is build with the compiler flags -sse4.1 and -maes.
+ SSE4.1 is supported by Intel CPUs, but not by all AMD CPUs. AMD CPUs
+ support SSE4a, which is not supported by Intel CPUs. The Debian
+ architectural baseline therefore states:
+ .
+ amd64 x86_64 with no optional extensions (psABI baseline). The
+ core specification includes MMX, SSE and SSE2 so these
+ are OK, but SSE3 and up are not guaranteed.
+
+ See psABI (Table 3.1: Micro-Architecture Levels) for
+ amd64 ABI level.
+ .
+ Remove the SSE4.1 and AES compiler flags.
+Bug-Debian: https://bugs.debian.org/1056399
+Forwarded: not-needed
+Author: Benedikt Spranger <b.spranger@linutronix.de>
+Reviewed-by: gregor herrmann <gregoa@debian.org>
+Last-Update: 2023-11-24
+
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -38,7 +38,6 @@