From: Alexey Brodkin Date: Mon, 10 Dec 2018 11:09:19 +0000 Subject: [Buildroot] [PATCH] gdb: Fix compilation for arc-2018.09 in some cases In-Reply-To: <20181210120340.112055e6@windsurf> References: <20181210093526.29619-1-abrodkin@synopsys.com> <20181210114726.7df0a5fa@windsurf> <20181210120340.112055e6@windsurf> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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