[Buildroot] [PATCH] package/gdb: ARC version has stringent dependencies on host gcc

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Nov 2 21:12:15 UTC 2017


Hello,

Thanks for looking into this issue!

On Thu,  2 Nov 2017 19:14:05 +0100, Yann E. MORIN wrote:

> diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
> index c2cfc34284..797c07c3f9 100644
> --- a/package/gdb/Config.in.host
> +++ b/package/gdb/Config.in.host
> @@ -1,4 +1,17 @@
> +config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS
> +	bool
> +	default y
> +	# The ARC version needs C++11, thus gcc >= 4.8, like gdb-8.0.x
> +	depends on BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_arc
> +	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_arc

Why do we have a dependency on the target compiler version for
host-gdb ?

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


More information about the buildroot mailing list