summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <ukleinek@debian.org>2019-12-08 22:11:18 +0100
committerUwe Kleine-König <ukleinek@debian.org>2019-12-08 22:11:18 +0100
commit02567881b49bbd614ef35301f23ffdda833ebead (patch)
tree7d4769be89b905d87b70a24339b6161189353d4d
parentb3675246d9f540ad9d34942d2fafb57645f4f52a (diff)
downloadrt-tests-02567881b49bbd614ef35301f23ffdda833ebead.tar.gz
rt-tests-02567881b49bbd614ef35301f23ffdda833ebead.tar.xz
[debian] Fix FTBFS on all but arm32 and x86
-rw-r--r--debian/changelog1
-rw-r--r--debian/patches/queuelat-use-ARM-implementation-of-gettick-also-for-.patch23
-rw-r--r--debian/patches/series1
3 files changed, 25 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index ee0424e..1c148c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
rt-tests (1.5-2) UNRELEASED; urgency=medium
* drop Conflicts to xenomai-runtime which only exists in Jessie.
+ * Fix FTBFS on all platforms but arm{el,hf} and x86.
-- Uwe Kleine-König <ukleinek@debian.org> Fri, 06 Dec 2019 09:19:35 +0100
diff --git a/debian/patches/queuelat-use-ARM-implementation-of-gettick-also-for-.patch b/debian/patches/queuelat-use-ARM-implementation-of-gettick-also-for-.patch
new file mode 100644
index 0000000..5ef8524
--- /dev/null
+++ b/debian/patches/queuelat-use-ARM-implementation-of-gettick-also-for-.patch
@@ -0,0 +1,23 @@
+From: Uwe Kleine-König <ukleinek@debian.org>
+Date: Sun, 8 Dec 2019 22:05:09 +0100
+Subject: [PATCH rt-tests] queuelat: use ARM implementation of gettick also for
+ all !x86 archs
+
+This fixes a build error on arm64, mips*, ppc and several others
+
+Forwarded: id:20191208210625.5999-1-ukleinek@debian.org
+---
+ src/queuelat/queuelat.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/src/queuelat/queuelat.c
++++ b/src/queuelat/queuelat.c
+@@ -275,7 +275,7 @@
+
+ #define gettick(val) do { (val) = __rdtscll(); } while (0)
+
+-#elif defined __arm__
++#else
+
+ static inline unsigned long long __clock_gettime(void)
+ {
diff --git a/debian/patches/series b/debian/patches/series
index a8d0e45..7515bd3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,6 @@
cyclictest-fix-typos.patch
Makefile-don-t-create-empty-directories-in-install-t.patch
+queuelat-use-ARM-implementation-of-gettick-also-for-.patch
install_hwlatdetect_into_sbindir.patch
debian_adapt_errormsg_on_failure_to_open_device.patch
debian_has_recent_glibc.patch