[Buildroot] [PATCH v2] stress-ng: Depend on kernel headers >= 3.3

Vicente Olivert Riera Vincent.Riera at imgtec.com
Mon Sep 14 08:59:15 UTC 2015


Dear Julien Corjon,

On 09/14/2015 08:43 AM, Julien Corjon wrote:
> perf.c need PERF_COUNT_HW_REF_CPU_CYCLES generic PMU event which
> is available only since 3.3 kernel version
> 
> Fixes:
>   http://autobuild.buildroot.net/results/88909b118dc927f31ed5c3b5f3513734a88085a9
>   http://autobuild.buildroot.net/results/dac6a85fdd721b959175caf5629b91dee717c3c6
>   http://autobuild.buildroot.net/results/88909b118dc927f31ed5c3b5f3513734a88085a9
> 
> Signed-off-by: Julien Corjon <corjon.j at ecagroup.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>

Could you please mark as superseded your previous patch?

http://patchwork.ozlabs.org/patch/516900/

Regards,

Vincent.

> ---
> v1 -> v2 : 
>   - Fixe commit log (suggested by Vincente Olivert Riera)
>   - Add autobuild references (suggested by Romain Naour)
>  package/stress-ng/Config.in | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/package/stress-ng/Config.in b/package/stress-ng/Config.in
> index cdf9984..1e475b1 100644
> --- a/package/stress-ng/Config.in
> +++ b/package/stress-ng/Config.in
> @@ -4,8 +4,8 @@ config BR2_PACKAGE_STRESS_NG
>  	# disabled on musl: stress-malloc.c needs mallopt() and M_MMAP_THRESHOLD
>  	# disabled on uClibc: stress-aio.c needs aio.h
>  	depends on BR2_TOOLCHAIN_USES_GLIBC
> -	# perf.c needs PERF_COUNT_HW_STALLED_CYCLES_FRONTEND
> -	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
> +	# perf.c needs PERF_COUNT_HW_REF_CPU_CYCLES
> +	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
>  	depends on !BR2_microblaze # keyutils
>  	depends on !BR2_STATIC_LIBS # keyutils
>  	select BR2_PACKAGE_KEYUTILS # stress-key.c needs keyutils.h
> @@ -18,8 +18,8 @@ config BR2_PACKAGE_STRESS_NG
>  
>  	  http://kernel.ubuntu.com/~cking/stress-ng/
>  
> -comment "stress-ng needs a glibc toolchain w/ dynamic library, headers >= 3.0"
> +comment "stress-ng needs a glibc toolchain w/ dynamic library, headers >= 3.3"
>  	depends on !BR2_microblaze
>  	depends on BR2_USE_MMU
> -	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
> +	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 \
>  		|| !BR2_TOOLCHAIN_USES_GLIBC
> 


More information about the buildroot mailing list