From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Mon, 19 May 2014 22:04:08 +0200 Subject: [Buildroot] [PATCH v2 1/1] fio: disable on nios2 because of missing fallocate64() In-Reply-To: <1400527410-4637-1-git-send-email-frank@frajasalo.de> (Frank Bergmann's message of "Mon, 19 May 2014 21:23:30 +0200") References: <1400527410-4637-1-git-send-email-frank@frajasalo.de> Message-ID: <87oaytk01z.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Frank" == Frank Bergmann writes: > The fallocate() function is replaced by fallocate64() while compiling > with LARGE_FILE flags. Current nios2 toolchain is missing the fallocate64() > function. > Signed-off-by: Frank Bergmann > --- > Changes v1 -> v2: > - don't use an architecture-specific patch > - disable whole package for nios (suggested by Thomas Petazzoni) > Signed-off-by: Frank Bergmann > --- > package/fio/Config.in | 4 ++++ > 1 file changed, 4 insertions(+) > diff --git a/package/fio/Config.in b/package/fio/Config.in > index be99f25..5a20b85 100644 > --- a/package/fio/Config.in > +++ b/package/fio/Config.in > @@ -12,6 +12,9 @@ config BR2_PACKAGE_FIO > depends on !BR2_TOOLCHAIN_EXTERNAL_UCLIBC && \ > !BR2_UCLIBC_VERSION_0_9_31 && \ > !BR2_UCLIBC_VERSION_0_9_32 > + # fio uses fallocate() which gets fallocate64() while compiling > + # with *LARGE_FILE* flags but fallocate64() is not available on nios2 > + depends on !BR2_nios2 Changed *LARGE_FILE* to the Buildroot symbol (BR2_LARGEFILE), added the autobuilder references as suggested by Yann and committed, thanks. -- Bye, Peter Korsgaard