diff mbox

[2/2] fio: disable on SuperH

Message ID 1457620346-18948-2-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Commit b0c04616174737dd0b8ff27e73769fc4ea39320c
Headers show

Commit Message

Thomas Petazzoni March 10, 2016, 2:32 p.m. UTC
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.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/fio/Config.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Peter Korsgaard March 10, 2016, 2:38 p.m. UTC | #1
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 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.

 > Fixes:

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

 > Fixes #8751.

Committed, thanks.
diff mbox

Patch

diff --git a/package/fio/Config.in b/package/fio/Config.in
index 89f54f9..bdfb8ff 100644
--- a/package/fio/Config.in
+++ b/package/fio/Config.in
@@ -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