Skip to contentSkip to conversation

fio: bump to version 2.7

PATCH New Thomas Petazzoni 2 participants 4 messages Mar 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 fio: bump to version 2.7

The patch 0001-compile-fix-for-linux-header-changes.patch is removed as it was a backport from an upstream patch.

---
 ...0001-compile-fix-for-linux-header-changes.patch | 42 ----------------------
 package/fio/fio.mk                                 |  2 +-
 2 files changed, 1 insertion(+), 43 deletions(-)
 delete mode 100644 package/fio/0001-compile-fix-for-linux-header-changes.patch
package/fio/0001-compile-fix-for-linux-header-changes.patch deleted +0 -42
deleted file mode 100644
index 4a37e9d..0000000
@@ -1,42 +0,0 @@
-From d7bb6180f831091c468e5aa749b142efd5eddda4 Mon Sep 17 00:00:00 2001
-From: "Robin H. Johnson" <[email protected]>
-Date: Wed, 3 Feb 2016 08:32:19 -0800
-Subject: [PATCH] libmtd: compile fix for linux header changes.
-
-In the Linux kernel source, mtd/mtd-user.h had a change
-'mtd: mtd-user: remove stdint.h include'
-(137d36af4a53858b8db7ca83c8480247118b8bdf)
-
-This causes the uint8_t/uint64_t types to be undefined in libmtd.h
-now, as they were implicitly coming from it before.
-
-Import stdint.h explicitly into libmtd.h to resolve this.
-
-X-URL: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=137d36af4a53858b8db7ca83c8480247118b8bdf
-Signed-off-by: Robin H. Johnson <[email protected]>
----
-Patch downloaded from upstream repo:
-http://git.kernel.dk/?p=fio.git;a=patch;h=d7bb6180f831091c468e5aa749b142efd5eddda4
-
-Signed-off-by: Ricardo Martincoski <[email protected]>
----
- oslib/libmtd.h | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/oslib/libmtd.h b/oslib/libmtd.h
-index 3625de5..b5fd3f3 100644
---- a/oslib/libmtd.h
-+++ b/oslib/libmtd.h
-@@ -29,6 +29,9 @@
- extern "C" {
- #endif
- 
-+// Needed for uint8_t, uint64_t
-+#include <stdint.h>
-+
- /* Maximum MTD device name length */
- #define MTD_NAME_MAX 127
- /* Maximum MTD device type string length */
--- 
-2.5.0
-
package/fio/fio.mk +1 -1
index 08fef5f..acebb6f 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-FIO_VERSION = fio-2.6
+FIO_VERSION = fio-2.7
 FIO_SITE = git://git.kernel.dk/fio.git
 FIO_LICENSE = GPLv2 + special obligations
 FIO_LICENSE_FILES = COPYING
Signature · 1 line
2.6.4
#1 lore raw

PATCH 2/2 fio: disable on SuperH

fio doesn't build on SuperH due to arch_flags being undefined while building the test programs. Since the fix isn't immediate, the bug was reported upstream, and this commit disables fio on SuperH until it gets fixed upstream.

Fixes:

http://autobuild.buildroot.net/results/578/578ae9da10d017ee9e2c15d37014f31a1114ef3a/build-end.log

Fixes #8751.

---
 package/fio/Config.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/fio/Config.in +4 -1
index 89f54f9..bdfb8ff 100644
@@ -13,6 +13,9 @@ config BR2_PACKAGE_FIO
 	# fio uses fallocate() which becomes fallocate64() while compiling with
 	# largefile support, but fallocate64() is not available on nios2
 	depends on !BR2_nios2
+	# does not build on SuperH, issue reported upstream:
+	# https://github.com/axboe/fio/issues/154
+	depends on !BR2_sh
 	help
 	  fio is an I/O tool meant to be used both for benchmark
 	  and stress/hardware verification.
@@ -22,5 +25,5 @@ config BR2_PACKAGE_FIO
 comment "fio needs a toolchain w/ dynamic library, threads"
 	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4
-	depends on !BR2_nios2
+	depends on !BR2_nios2 && !BR2_sh
 	depends on BR2_USE_MMU
Signature · 1 line
2.6.4
#2 lore raw

PATCH 2/2 fio: disable on SuperH

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

fio doesn't build on SuperH due to arch_flags being undefined while building the test programs. Since the fix isn't immediate, the bug was reported upstream, and this commit disables fio on SuperH until it gets fixed upstream.

Quoted 5 lines

Fixes:

http://autobuild.buildroot.net/results/578/578ae9da10d017ee9e2c15d37014f31a1114ef3a/build-end.log

Fixes #8751.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard