Skip to contentSkip to conversation

iproute: make 5.5+ bbappend version-agnostic

PATCH New Denys Dmytriyenko 1 participant 3 messages Aug 12, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 iproute: make 5.5+ bbappend version-agnostic

---
 .../iproute2/{iproute2_5.5.0.bbappend => iproute2_%.bbappend}             | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename meta-arago-distro/recipes-connectivity/iproute2/{iproute2_5.5.0.bbappend => iproute2_%.bbappend} (100%)
meta-arago-distro/recipes-connectivity/iproute2/iproute2_%.bbappend renamed from meta-arago-distro/recipes-connectivity/iproute2/iproute2_5.5.0.bbappend +0 -0
similarity index 100%
rename from meta-arago-distro/recipes-connectivity/iproute2/iproute2_5.5.0.bbappend
rename to meta-arago-distro/recipes-connectivity/iproute2/iproute2_%.bbappend
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/3 ltp: overlay 20200120 locally, as ltp-ddt is based on it

---
 .../recipes-devtools/ltp-ddt/ltp-ddt_20200120.bb   |   1 +
 .../ltp/ltp/0001-Add-more-musl-exclusions.patch    |  44 ++++++++
 ...-Add-option-to-select-libc-implementation.patch | 102 +++++++++++++++++
 ...eck-for-time64-unsafe-syscalls-before-usi.patch | 122 +++++++++++++++++++++
 ...__GLIBC_PREREQ-is-defined-before-using-it.patch |  55 ++++++++++
 .../ltp/0004-guard-mallocopt-with-__GLIBC__.patch  |  34 ++++++
 .../ltp/ltp/0007-Fix-test_proc_kill-hanging.patch  |  32 ++++++
 ...etwork-nfsv4-acl-acl1.c-Security-fix-on-s.patch |  42 +++++++
 .../recipes-extended/ltp/ltp_20200120.bb           | 122 +++++++++++++++++++++
 9 files changed, 554 insertions(+)
 create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp/0001-Add-more-musl-exclusions.patch
 create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp/0001-build-Add-option-to-select-libc-implementation.patch
 create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp/0001-syscalls-Check-for-time64-unsafe-syscalls-before-usi.patch
 create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp/0003-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch
 create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp/0004-guard-mallocopt-with-__GLIBC__.patch
 create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp/0007-Fix-test_proc_kill-hanging.patch
 create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp/0008-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch
 create mode 100644 meta-arago-extras/recipes-extended/ltp/ltp_20200120.bb
meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20200120.bb +1 -0
index 85a3427..56a644e 100644
@@ -1,4 +1,5 @@
 FILESEXTRAPATHS_prepend := "${COREBASE}/meta/recipes-extended/ltp/ltp:"
+FILESEXTRAPATHS_prepend := "${ARAGOBASE}/meta-arago-extras/recipes-extended/ltp/ltp:"
 
 require recipes-extended/ltp/ltp_${PV}.bb
 
meta-arago-extras/recipes-extended/ltp/ltp/0001-Add-more-musl-exclusions.patch new file +44 -0

44 lines not on this page · raw message

meta-arago-extras/recipes-extended/ltp/ltp/0001-build-Add-option-to-select-libc-implementation.patch new file +102 -0

102 lines not on this page · raw message

meta-arago-extras/recipes-extended/ltp/ltp/0001-syscalls-Check-for-time64-unsafe-syscalls-before-usi.patch new file +122 -0

122 lines not on this page · raw message

meta-arago-extras/recipes-extended/ltp/ltp/0003-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch new file +55 -0

55 lines not on this page · raw message

meta-arago-extras/recipes-extended/ltp/ltp/0004-guard-mallocopt-with-__GLIBC__.patch new file +34 -0
new file mode 100644
index 0000000..5622a64
@@ -0,0 +1,34 @@
+From d0fc9ca5d3366f9b8907e463222403cd2327be10 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Fri, 8 Jan 2016 06:51:20 +0000
+Subject: [PATCH] guard mallocopt() with __GLIBC__
+
+mallocopt is not available on non glibc implementations
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <[email protected]>
+---
+ utils/benchmark/ebizzy-0.3/ebizzy.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/utils/benchmark/ebizzy-0.3/ebizzy.c b/utils/benchmark/ebizzy-0.3/ebizzy.c
+index 5bb8eff..934d951 100644
+--- a/utils/benchmark/ebizzy-0.3/ebizzy.c
++++ b/utils/benchmark/ebizzy-0.3/ebizzy.c
+@@ -215,10 +215,10 @@ static void read_options(int argc, char *argv[])
+ 			"\"never mmap\" option specified\n");
+ 		usage();
+ 	}
+-
++#ifdef __GLIBC__
+ 	if (never_mmap)
+ 		mallopt(M_MMAP_MAX, 0);
+-
++#endif
+ 	if (chunk_size < record_size) {
+ 		fprintf(stderr, "Chunk size %u smaller than record size %u\n",
+ 			chunk_size, record_size);
+-- 
+2.7.4
+
meta-arago-extras/recipes-extended/ltp/ltp/0007-Fix-test_proc_kill-hanging.patch new file +32 -0
new file mode 100644
index 0000000..0e72645
@@ -0,0 +1,32 @@
+From f4fafbdffae3a63c81f65cef98c72dda26283e06 Mon Sep 17 00:00:00 2001
+From: Dengke Du <[email protected]>
+Date: Wed, 8 Feb 2017 16:17:17 +0800
+Subject: [PATCH] Fix test_proc_kill hanging
+
+Sometimes the signal is delivered to memcg_process before the framework took
+into consideration its pid entered in the tasks. Fixed by delaying the signal
+send command.
+
+Upstream-Status: Pending
+
+Signed-off-by: George Nita <[email protected]>
+Signed-off-by: Dengke Du <[email protected]>
+---
+ testcases/kernel/controllers/memcg/functional/memcg_lib.sh | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/testcases/kernel/controllers/memcg/functional/memcg_lib.sh b/testcases/kernel/controllers/memcg/functional/memcg_lib.sh
+index aadaae4..deea5d6 100755
+--- a/testcases/kernel/controllers/memcg/functional/memcg_lib.sh
++++ b/testcases/kernel/controllers/memcg/functional/memcg_lib.sh
+@@ -291,6 +291,7 @@ test_proc_kill()
+ 	pid=$!
+ 	TST_CHECKPOINT_WAIT 0
+ 	echo $pid > tasks
++	sleep 1
+ 
+ 	signal_memcg_process $pid $3
+ 
+-- 
+2.7.4
+
meta-arago-extras/recipes-extended/ltp/ltp/0008-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch new file +42 -0

42 lines not on this page · raw message

meta-arago-extras/recipes-extended/ltp/ltp_20200120.bb new file +122 -0

122 lines not on this page · raw message

Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/3 toolchain: update toolchain component versions to the latest available

In reply to Denys Dmytriyenko
---
 meta-arago-distro/conf/distro/include/toolchain-arm.inc | 12 ++++++------
 meta-arago-distro/conf/distro/include/toolchain-gcc.inc | 12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)
meta-arago-distro/conf/distro/include/toolchain-arm.inc +6 -6
index 58efc00..66edede 100644
@@ -47,9 +47,9 @@ PREFERRED_PROVIDER_gcc-runtime = "external-arm-toolchain"
 
 # Set Cross and SDK toolchain preferences
 SDKGCCVERSION ?= "arm-9.2%"
-SDKGDBVERSION ?= "9.1%"
-SDKBINUVERSION ?= "2.34%"
-SDKGLIBCVERSION ?= "2.31%"
+SDKGDBVERSION ?= "9.2%"
+SDKBINUVERSION ?= "2.35%"
+SDKGLIBCVERSION ?= "2.32%"
 SDKLINUXLIBCVERSION ?= "5.4%"
 
 PREFERRED_VERSION_gcc-crosssdk-${SDK_SYS} ?= "${SDKGCCVERSION}"
@@ -69,9 +69,9 @@ PREFERRED_VERSION_nativesdk-glibc-initial ?= "${SDKGLIBCVERSION}"
 # Set target toolchain preferences to match Cross/SDK by default
 # Can be overwritten globally, if needed
 GCCVERSION ?= "arm-9.2%"
-GDBVERSION ?= "9.1%"
-BINUVERSION ?= "2.34%"
-GLIBCVERSION ?= "2.31%"
+GDBVERSION ?= "9.2%"
+BINUVERSION ?= "2.35%"
+GLIBCVERSION ?= "2.32%"
 
 PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
 PREFERRED_VERSION_gdb ?= "${GDBVERSION}"
meta-arago-distro/conf/distro/include/toolchain-gcc.inc +6 -6
index 587ba94..faf4e71 100644
@@ -13,9 +13,9 @@ PREFERRED_PROVIDER_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "binutil
 PREFERRED_PROVIDER_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
 
 # Set Cross and SDK toolchain preferences
-SDKGCCVERSION ?= "9%"
-SDKBINUVERSION ?= "2.34%"
-SDKGLIBCVERSION ?= "2.31%"
+SDKGCCVERSION ?= "10%"
+SDKBINUVERSION ?= "2.35%"
+SDKGLIBCVERSION ?= "2.32%"
 SDKLINUXLIBCVERSION ?= "5.4%"
 
 PREFERRED_VERSION_gcc-crosssdk-${SDK_SYS} ?= "${SDKGCCVERSION}"
@@ -32,9 +32,9 @@ PREFERRED_VERSION_nativesdk-glibc-initial ?= "${SDKGLIBCVERSION}"
 
 # Set target toolchain preferences to match Cross/SDK by default
 # Can be overwritten globally, if needed
-GCCVERSION ?= "9%"
-BINUVERSION ?= "2.34%"
-GLIBCVERSION ?= "2.31%"
+GCCVERSION ?= "10%"
+BINUVERSION ?= "2.35%"
+GLIBCVERSION ?= "2.32%"
 LINUXLIBCVERSION ?= "5.4%"
 
 PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
Signature · 1 line
2.7.4