[Buildroot] [PATCH v2] package/libbroadvoice: Broken on BR2_arc with gcc <= 4.8

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jan 17 14:38:06 UTC 2016


Bernd,

On Sun, 17 Jan 2016 14:53:16 +0100, Bernd Kuhls wrote:

> diff --git a/package/libbroadvoice/Config.in b/package/libbroadvoice/Config.in
> index d695df0..3301ba8 100644
> --- a/package/libbroadvoice/Config.in
> +++ b/package/libbroadvoice/Config.in
> @@ -1,5 +1,8 @@
>  config BR2_PACKAGE_LIBBROADVOICE
>  	bool "libbroadvoice"
> +	# broken with gcc <= 4.8 on arc
> +	# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049
> +	depends on !BR2_arc || BR2_TOOLCHAIN_GCC_AT_LEAST_4_9

If the bug affects gcc 4.8, and ARC currently uses gcc 4.8, why do you
need the "!BR2_arc" part of the condition ?

Doing:

	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9

is sufficient, and will ensure that this package will be built again
once ARC is moved to a gcc 4.9 based toolchain.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list