[Buildroot] [PATCH v2 1/1] fio: disable on nios2 because of missing fallocate64()

Peter Korsgaard jacmet at uclibc.org
Mon May 19 20:04:08 UTC 2014


>>>>> "Frank" == Frank Bergmann <frank at frajasalo.de> 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 <frank at frajasalo.de>
 > ---
 > Changes v1 -> v2:
 >   - don't use an architecture-specific patch
 >   - disable whole package for nios (suggested by Thomas Petazzoni)

 > Signed-off-by: Frank Bergmann <frank at frajasalo.de>
 > ---
 >  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



More information about the buildroot mailing list