path: root/package/fio
diff options
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-26 10:44:45 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-26 10:44:45 +0100
commitb788f1ef0660b6614ddd39535fa177d24cf02579 (patch)
tree82a9e795cf14d72dd2aad67d733d00214553243c /package/fio
parent569b842985713d02f34367621ed7a6b6e5efdf73 (diff)
fio: prevent selection with unusable uClibc versions
The fio program uses posix_madvise(). However, posix_madvise() is only available in the Git tree of uClibc, and in Buildroot's version of uClibc 0.9.33, thanks to the huge number of backported patches that we carry. Therefore, trying to build fio with an external uClibc toolchain is most likely going to fail (as the uClibc version is most likely an official stable release, and no stable release of uClibc ever had the support for posix_madvise()). And similarly, building fio with uClibc 0.9.31 and 0.9.32 is always going to fail. We disable those use cases to avoid repeated autobuilder failures. No kconfig comment has been added, because we don't have a well-defined way of specifying such exceptions. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/fio')
1 files changed, 9 insertions, 0 deletions
diff --git a/package/fio/Config.in b/package/fio/Config.in
index deff12c9ff..be99f25ba7 100644
--- a/package/fio/Config.in
+++ b/package/fio/Config.in
@@ -3,6 +3,15 @@ config BR2_PACKAGE_FIO
depends on BR2_USE_MMU # fork()
depends on BR2_LARGEFILE
+ # fio uses posix_madvise(), which is not part of any official
+ # release of uClibc, but is part of uClibc Git, and backported
+ # in Buildroot patch set of uClibc 0.9.33. Therefore, we
+ # disable the build of fio for external uClibc toolchains
+ # (which use an unknown uClibc version) and for 0.9.31 and
+ # 0.9.32 which don't have posix_madvise().
+ !BR2_UCLIBC_VERSION_0_9_31 && \
fio is an I/O tool meant to be used both for benchmark
and stress/hardware verification.