Bump buildroot to 2019.02
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
From f3aa381322a4b73b9ca4e7940f802d74324ef24b Mon Sep 17 00:00:00 2001
|
||||
From: Baruch Siach <baruch@tkos.co.il>
|
||||
Date: Mon, 2 Jul 2018 21:06:43 +0300
|
||||
Subject: [PATCH] stress-netlink-proc: fix build with kernel v3.9
|
||||
|
||||
The PROC_EVENT_COREDUMP has been introduced in kernel version 3.10.
|
||||
Don't use it with 3.9 headers.
|
||||
|
||||
Fixes build failure:
|
||||
|
||||
stress-netlink-proc.c: In function 'monitor':
|
||||
stress-netlink-proc.c:108:8: error: 'PROC_EVENT_COREDUMP' undeclared (first use in this function)
|
||||
case PROC_EVENT_COREDUMP:
|
||||
^
|
||||
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
Upstream status: https://github.com/ColinIanKing/stress-ng/pull/24
|
||||
|
||||
stress-netlink-proc.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/stress-netlink-proc.c b/stress-netlink-proc.c
|
||||
index 5845610dc816..6114a0b92af1 100644
|
||||
--- a/stress-netlink-proc.c
|
||||
+++ b/stress-netlink-proc.c
|
||||
@@ -104,7 +104,7 @@ static int monitor(const args_t *args, const int sock)
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)
|
||||
case PROC_EVENT_SID:
|
||||
#endif
|
||||
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0)
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
|
||||
case PROC_EVENT_COREDUMP:
|
||||
#endif
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,1,0)
|
||||
--
|
||||
2.18.0
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
From 818ed67f67c487d519bb55ed5656cff2dd58375e Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Tue, 4 Dec 2018 21:41:12 +0100
|
||||
Subject: [PATCH] stress-ng.h: fix include on semaphore.h
|
||||
|
||||
semaphore.h is available only if HAVE_LIB_PTHREAD and
|
||||
HAVE_SEM_POSIX are defined
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/1c95898b2833683a22bbe2ff8471fa08d94210e1
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status: https://github.com/ColinIanKing/stress-ng/commit/9b861e679f9de32e4c68437453756f93e13c01fb]
|
||||
---
|
||||
stress-ng.h | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/stress-ng.h b/stress-ng.h
|
||||
index 0485dc1c..1bf2e207 100644
|
||||
--- a/stress-ng.h
|
||||
+++ b/stress-ng.h
|
||||
@@ -53,7 +53,9 @@
|
||||
#include <dirent.h>
|
||||
#include <limits.h>
|
||||
#include <setjmp.h>
|
||||
+#if defined(HAVE_LIB_PTHREAD) && (HAVE_SEM_POSIX)
|
||||
#include <semaphore.h>
|
||||
+#endif
|
||||
#include <sched.h>
|
||||
|
||||
#if defined(__GNUC__) && defined(__linux__)
|
||||
--
|
||||
2.14.1
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
From 748ac7e88833472211ccce82563beb5050528e00 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Tue, 4 Dec 2018 21:52:49 +0100
|
||||
Subject: [PATCH] stress-stackmmap: needs swapcontext
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/f2d3b06afa6e31527a71c03671c8f08eb3f46c36
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
stress-stackmmap.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/stress-stackmmap.c b/stress-stackmmap.c
|
||||
index c2f4c31d..eb31d084 100644
|
||||
--- a/stress-stackmmap.c
|
||||
+++ b/stress-stackmmap.c
|
||||
@@ -24,7 +24,7 @@
|
||||
*/
|
||||
#include "stress-ng.h"
|
||||
|
||||
-#if defined(__linux__)
|
||||
+#if defined(HAVE_SWAPCONTEXT)
|
||||
|
||||
#include <ucontext.h>
|
||||
|
||||
--
|
||||
2.14.1
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
From 291070801245da26e4841c321910b55016ca23c0 Mon Sep 17 00:00:00 2001
|
||||
From: Vadim Kochan <vadim4j@gmail.com>
|
||||
Date: Tue, 1 Jan 2019 17:24:54 +0200
|
||||
Subject: [PATCH] test/test-bsd-wchar: Explicitly include stdio.h
|
||||
|
||||
libbsd's wchar requires FILE for some it's functions, for some
|
||||
reason it is not included by wchar automatically and the test fails. So
|
||||
include it explicitly.
|
||||
|
||||
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
|
||||
---
|
||||
test/test-bsd-wchar.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/test/test-bsd-wchar.c b/test/test-bsd-wchar.c
|
||||
index 4f7c7ca..6125968 100644
|
||||
--- a/test/test-bsd-wchar.c
|
||||
+++ b/test/test-bsd-wchar.c
|
||||
@@ -22,6 +22,7 @@
|
||||
* functionality.
|
||||
*
|
||||
*/
|
||||
+#include <stdio.h>
|
||||
#include <bsd/wchar.h>
|
||||
|
||||
int main(void)
|
||||
--
|
||||
2.14.1
|
||||
|
||||
@@ -2,8 +2,7 @@ config BR2_PACKAGE_STRESS_NG
|
||||
bool "stress-ng"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
# disabled on musl: stress-malloc.c needs mallopt() and M_MMAP_THRESHOLD
|
||||
# disabled on uClibc: stress-aio.c needs aio.h
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL
|
||||
# perf.c needs PERF_COUNT_HW_REF_CPU_CYCLES
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
|
||||
depends on !BR2_microblaze # keyutils
|
||||
@@ -21,8 +20,8 @@ config BR2_PACKAGE_STRESS_NG
|
||||
|
||||
http://kernel.ubuntu.com/~cking/stress-ng/
|
||||
|
||||
comment "stress-ng needs a glibc toolchain w/ dynamic library, headers >= 3.3"
|
||||
comment "stress-ng needs a glibc or uClibc toolchain w/ dynamic library, headers >= 3.3"
|
||||
depends on !BR2_microblaze && !BR2_nios2 && !BR2_arc
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 \
|
||||
|| !BR2_TOOLCHAIN_USES_GLIBC
|
||||
|| BR2_TOOLCHAIN_USES_MUSL
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 0de97212a83b2f8a34ee31ef32a7bc69066ed49ebdc59b51aa4060cb95e29321 stress-ng-0.09.32.tar.xz
|
||||
sha256 ed888f5192297855f3ce39b4591b1decc9c580c9753f2cc9c86449f50d23aeb0 stress-ng-0.09.47.tar.xz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
STRESS_NG_VERSION = 0.09.32
|
||||
STRESS_NG_VERSION = 0.09.47
|
||||
STRESS_NG_SOURCE = stress-ng-$(STRESS_NG_VERSION).tar.xz
|
||||
STRESS_NG_SITE = http://kernel.ubuntu.com/~cking/tarballs/stress-ng
|
||||
STRESS_NG_LICENSE = GPL-2.0+
|
||||
@@ -12,6 +12,10 @@ STRESS_NG_LICENSE_FILES = COPYING
|
||||
|
||||
STRESS_NG_DEPENDENCIES = attr keyutils
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBBSD),y)
|
||||
STRESS_NG_DEPENDENCIES += libbsd
|
||||
endif
|
||||
|
||||
define STRESS_NG_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user