package/xenomai: bump to version 3.0.4
authorRomain Naour <romain.naour@gmail.com>
Sat, 15 Apr 2017 17:41:59 +0000 (19:41 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 16 Apr 2017 08:35:12 +0000 (10:35 +0200)
Remove upstream patch 0001-testsuite-cyclictest.

Announce:
http://xenomai.org/pipermail/xenomai/2017-April/037254.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Pawel Sikora <sikor6@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/xenomai/0001-arm-enable-armv5tej-support.patch [new file with mode: 0644]
package/xenomai/0001-testsuite-cyclictest-silence-UMR-false-positive-with.patch [deleted file]
package/xenomai/0002-arm-enable-armv5tej-support.patch [deleted file]
package/xenomai/xenomai.hash
package/xenomai/xenomai.mk

diff --git a/package/xenomai/0001-arm-enable-armv5tej-support.patch b/package/xenomai/0001-arm-enable-armv5tej-support.patch
new file mode 100644 (file)
index 0000000..5feaa59
--- /dev/null
@@ -0,0 +1,32 @@
+From fcd06f42fef4d52bb0d9772fa71015988c828b1b Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@gmail.com>
+Date: Fri, 31 Mar 2017 21:10:23 +0200
+Subject: [PATCH] arm: enable armv5tej support
+
+armv5tej are not detected in lib/cobalt/arch/arm/include/asm/xenomai/features.h
+
+Apply the same patch from xenomai-2.6:
+https://git.xenomai.org/xenomai-2.6.git/commit/?id=ebc2779baa222db4a5936c3d3022803355585b8c
+
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ lib/cobalt/arch/arm/include/asm/xenomai/features.h | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/lib/cobalt/arch/arm/include/asm/xenomai/features.h b/lib/cobalt/arch/arm/include/asm/xenomai/features.h
+index 10bd0c7..e84b809 100644
+--- a/lib/cobalt/arch/arm/include/asm/xenomai/features.h
++++ b/lib/cobalt/arch/arm/include/asm/xenomai/features.h
+@@ -34,7 +34,8 @@
+ #endif /* armv4 */
+ #if defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5T__) \
+-      || defined(__ARM_ARCH_5E__) || defined(__ARM_ARCH_5TE__)
++      || defined(__ARM_ARCH_5E__) || defined(__ARM_ARCH_5TE__) \
++      || defined(__ARM_ARCH_5TEJ__)
+ #define __LINUX_ARM_ARCH__ 5
+ #endif /* armv5 */
+-- 
+2.9.3
+
diff --git a/package/xenomai/0001-testsuite-cyclictest-silence-UMR-false-positive-with.patch b/package/xenomai/0001-testsuite-cyclictest-silence-UMR-false-positive-with.patch
deleted file mode 100644 (file)
index bc115b4..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-From 3fa7c63c33920aa89490ae42538944d81815bf05 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Maciej=20Sumi=C5=84ski?= <maciej.suminski@cern.ch>
-Date: Fri, 2 Dec 2016 09:59:00 +0100
-Subject: [PATCH] testsuite/cyclictest: silence UMR false-positive with GCC 6.x
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-cyclictest.c: In function ‘timerthread’:
-cyclictest.c:347:30: error: ‘*((void *)&stop+8)’ may be used
-uninitialized in this function [-Werror=maybe-uninitialized]
-  diff += ((int) t1.tv_nsec - (int) t2.tv_nsec) / 1000;
-                              ^~~~~~~~~~~~~~~~
-cyclictest.c:760:39: note: ‘*((void *)&stop+8)’ was declared here
-  struct timespec now, next, interval, stop;
-                                       ^~~~
-cyclictest.c:346:54: error: ‘stop.tv_sec’ may be used uninitialized in
-this function [-Werror=maybe-uninitialized]
-  diff = USEC_PER_SEC * (long long)((int) t1.tv_sec - (int) t2.tv_sec);
-                                                      ^~~~~~~~~~~~~~~
-cyclictest.c:760:39: note: ‘stop.tv_sec’ was declared here
-  struct timespec now, next, interval, stop;
-                                       ^~~~
-[Thomas: needed to fix a gcc 6.x build failure.]
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- demo/posix/cyclictest/cyclictest.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/demo/posix/cyclictest/cyclictest.c b/demo/posix/cyclictest/cyclictest.c
-index 3bb4386..31d9e5d 100644
---- a/demo/posix/cyclictest/cyclictest.c
-+++ b/demo/posix/cyclictest/cyclictest.c
-@@ -734,7 +734,7 @@ static inline void barrier_wait(struct thread_barrier *barrier)
-               while (barrier->count > 0)
-                       pthread_cond_wait(&barrier->wait, &barrier->lock);
-       }
--      
-+
-       pthread_mutex_unlock(&barrier->lock);
- }
-@@ -832,8 +832,9 @@ void *timerthread(void *param)
-       next.tv_nsec += interval.tv_nsec;
-       tsnorm(&next);
-+      memset(&stop, 0, sizeof(stop)); /* grrr */
-+
-       if (duration) {
--              memset(&stop, 0, sizeof(stop)); /* grrr */
-               stop = now;
-               stop.tv_sec += duration;
-       }
--- 
-2.7.4
-
diff --git a/package/xenomai/0002-arm-enable-armv5tej-support.patch b/package/xenomai/0002-arm-enable-armv5tej-support.patch
deleted file mode 100644 (file)
index 5feaa59..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-From fcd06f42fef4d52bb0d9772fa71015988c828b1b Mon Sep 17 00:00:00 2001
-From: Romain Naour <romain.naour@gmail.com>
-Date: Fri, 31 Mar 2017 21:10:23 +0200
-Subject: [PATCH] arm: enable armv5tej support
-
-armv5tej are not detected in lib/cobalt/arch/arm/include/asm/xenomai/features.h
-
-Apply the same patch from xenomai-2.6:
-https://git.xenomai.org/xenomai-2.6.git/commit/?id=ebc2779baa222db4a5936c3d3022803355585b8c
-
-Signed-off-by: Romain Naour <romain.naour@gmail.com>
----
- lib/cobalt/arch/arm/include/asm/xenomai/features.h | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/lib/cobalt/arch/arm/include/asm/xenomai/features.h b/lib/cobalt/arch/arm/include/asm/xenomai/features.h
-index 10bd0c7..e84b809 100644
---- a/lib/cobalt/arch/arm/include/asm/xenomai/features.h
-+++ b/lib/cobalt/arch/arm/include/asm/xenomai/features.h
-@@ -34,7 +34,8 @@
- #endif /* armv4 */
- #if defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5T__) \
--      || defined(__ARM_ARCH_5E__) || defined(__ARM_ARCH_5TE__)
-+      || defined(__ARM_ARCH_5E__) || defined(__ARM_ARCH_5TE__) \
-+      || defined(__ARM_ARCH_5TEJ__)
- #define __LINUX_ARM_ARCH__ 5
- #endif /* armv5 */
--- 
-2.9.3
-
index e4185934396b277b130bf48bfedff0cf75ca23a5..a6c43edfc58919f0445d2b48d3a2d9d4af4d3a36 100644 (file)
@@ -1,2 +1,2 @@
 # Locally computed;
-sha256  4c396b4d447efd414c4d7c0894f97ef52b4ec45c87f512c14adee981a45f0e3b  xenomai-3.0.3.tar.bz2
+sha256  8a03e150d80ebf5935f97804881095d2d5d7509de22f7b8791776688a29d7110  xenomai-3.0.4.tar.bz2
index 4ae045af099b46e96612140d573830fdede8bc37..8a512acfd235257473665ecd7153afee464950de 100644 (file)
@@ -6,7 +6,7 @@
 
 XENOMAI_VERSION = $(call qstrip,$(BR2_PACKAGE_XENOMAI_VERSION))
 ifeq ($(XENOMAI_VERSION),)
-XENOMAI_VERSION = 3.0.3
+XENOMAI_VERSION = 3.0.4
 else
 BR_NO_CHECK_HASH_FOR += $(XENOMAI_SOURCE)
 endif