[Buildroot] [PATCH] gdb: Fix compilation for arc-2018.09 in some cases

Alexey Brodkin alexey.brodkin at synopsys.com
Mon Dec 10 11:09:19 UTC 2018


Hi Thomas,

On Mon, 2018-12-10 at 12:03 +0100, Thomas Petazzoni wrote:
> Hello,
> 
> On Mon, 10 Dec 2018 10:52:20 +0000, Alexey Brodkin wrote:
> 
> > > Applied to master, thanks. I see this patch is in gdb 8.2, so surely
> > > gdb 8.2 is not affected. What about previous gdb releases ?  
> > 
> > In OpenEmbedded they used to apply that patch for 8.1.x GDB unconditionally [1]
> > which means we may want to have it in "package/gdb/8.0.1" and "package/gdb/8.1.1"
> > but I didn't add it there since I had no way to reproduce this failure as
> > compared to ARC.
> 
> Under what exact situations is this build failure happening ?

That's a good question.
As I wrote in my commit message it has to do with some specifics of toolchain headers
configuration. But I'm not really sure what triggers this.

I mean I spent quite some time looking at differences between very similar build trees
in one of which this issue happens but not in another but didn't get to any
conclusion.

And given there's an upstream fix for that issue I didn't want to invest more time into
this investigation, sorry.

-Alexey


More information about the buildroot mailing list