* [Buildroot] [PATCH v2 1/1] fio: disable on nios2 because of missing fallocate64()
@ 2014-05-19 19:23 Frank Bergmann
2014-05-19 19:50 ` Yann E. MORIN
2014-05-19 20:04 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Frank Bergmann @ 2014-05-19 19:23 UTC (permalink / raw)
To: buildroot
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@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@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
help
fio is an I/O tool meant to be used both for benchmark
and stress/hardware verification.
@@ -20,3 +23,4 @@ config BR2_PACKAGE_FIO
comment "fio needs a toolchain w/ largefile, threads"
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_nios2
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v2 1/1] fio: disable on nios2 because of missing fallocate64()
2014-05-19 19:23 [Buildroot] [PATCH v2 1/1] fio: disable on nios2 because of missing fallocate64() Frank Bergmann
@ 2014-05-19 19:50 ` Yann E. MORIN
2014-05-19 20:04 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2014-05-19 19:50 UTC (permalink / raw)
To: buildroot
Frank, All,
On 2014-05-19 21:23 +0200, Frank Bergmann spake thusly:
> The fallocate() function is replaced by fallocate64() while compiling
> with LARGE_FILE flags. Current nios2 toolchain is missing the fallocate64()
> function.
It would have been nice to have autobuilders referneces:
Fixes:
http://autobuild.buildroot.net/results/9cd/9cd30031a40f768f6090cfba44c880fb2406672b
http://autobuild.buildroot.net/results/7da/7da32ca8178aa6bada06dfaea38e9e693fba0db2
http://autobuild.buildroot.net/results/0ef/0ef7358289bff2a5f9efda27115eddb379c1a0b9
[...]
> Signed-off-by: Frank Bergmann <frank@frajasalo.de>
With the aforementioned autobuilders references:
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> 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@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
> help
> fio is an I/O tool meant to be used both for benchmark
> and stress/hardware verification.
> @@ -20,3 +23,4 @@ config BR2_PACKAGE_FIO
>
> comment "fio needs a toolchain w/ largefile, threads"
> depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
> + depends on !BR2_nios2
> --
> 1.9.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 3+ messages in thread* [Buildroot] [PATCH v2 1/1] fio: disable on nios2 because of missing fallocate64()
2014-05-19 19:23 [Buildroot] [PATCH v2 1/1] fio: disable on nios2 because of missing fallocate64() Frank Bergmann
2014-05-19 19:50 ` Yann E. MORIN
@ 2014-05-19 20:04 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2014-05-19 20:04 UTC (permalink / raw)
To: buildroot
>>>>> "Frank" == Frank Bergmann <frank@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@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@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-19 20:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-19 19:23 [Buildroot] [PATCH v2 1/1] fio: disable on nios2 because of missing fallocate64() Frank Bergmann
2014-05-19 19:50 ` Yann E. MORIN
2014-05-19 20:04 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox