[Buildroot] [PATCH] iozone: disable for uClibc 0.9.31

Peter Korsgaard jacmet at uclibc.org
Mon Nov 11 09:53:57 UTC 2013


>>>>> "spdawson" == spdawson  <spdawson at gmail.com> writes:

> From: Simon Dawson <spdawson at gmail.com>
> uClibc 0.9.31.x does not include the pthread_setaffinity_np GNU extension.

> Fixes build failures such as the following.

>   http://autobuild.buildroot.net/results/e21526c0c18733310d3fb322d79d5fff3a71af51/

> Signed-off-by: Simon Dawson <spdawson at gmail.com>
> ---
>  package/iozone/Config.in | 1 +
>  1 file changed, 1 insertion(+)

> diff --git a/package/iozone/Config.in b/package/iozone/Config.in
> index 26d4daa..33e12ca 100644
> --- a/package/iozone/Config.in
> +++ b/package/iozone/Config.in
> @@ -1,6 +1,7 @@
>  config BR2_PACKAGE_IOZONE
>  	bool "iozone"
>  	depends on BR2_USE_MMU # fork()
> +	depends on !BR2_UCLIBC_VERSION_0_9_31 # no pthread_setaffinity_np

Committed, thanks. It sounds like it also needs to depend on
BR2_TOOLCHAIN_HAS_THREADS. Care to send a patch adding that dependency
and a comment line?

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list