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

Yann E. MORIN yann.morin.1998 at free.fr
Thu Nov 2 21:25:43 UTC 2017


Thomas, All,

On 2017-11-02 22:12 +0100, Thomas Petazzoni spake thusly:
> 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 ?

For two reasons:

1. you said so in your analysis. OK, you could be wrong, so...
2. that is the case for gdb-8.0.x, later in that same file.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list