Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] gdb: fix target gdb building from git
Date: Mon, 9 Mar 2015 21:55:55 +0000	[thread overview]
Message-ID: <1425938155.2312.22.camel@synopsys.com> (raw)
In-Reply-To: <20150309185549.625180ba@free-electrons.com>

Hi Thomas,

On Mon, 2015-03-09 at 18:55 +0100, Thomas Petazzoni wrote:
> Dear Alexey Brodkin,
> 
> On Tue, 24 Feb 2015 12:03:20 +0300, Alexey Brodkin wrote:
> > Currently we only add "host-texinfo" dependency for host GDB built
> > from git sources. But in case of target gdb texinfo won't be built
> > and so gdb building will fail on attempt to build documentation.
> > 
> > Fix is trivial - add "host-texinfo" as a dependency for target gdb
> > in the sme way as we disable documentation building via both
> > GDB_CONF_ENV (for target) and HOST_GDB_CONF_ENV (host) GDB flavors.
> > 
> > Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> > Cc: Anton Kolesov <akolesov@synopsys.com>
> > Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> > Cc: Peter Korsgaard <peter@korsgaard.com>
> 
> Do you have a failing configuration for this one? I've tried to build
> the ARC target gdb today, without selecting cross-gdb (so that the
> host-texinfo dependency is not pulled in), and I couldn't get a failure.

Actually I discovered this issue when I tried to build target gdb with
external tools.

So to reproduce this issue please apply
http://patchwork.ozlabs.org/patch/448242/ to your local git tree, then
select external tools for ARC and try to build target gdb.

And this is my defconfig to reproduce the issue:
 --->8---
 BR2_arcle=y
 BR2_TOOLCHAIN_EXTERNAL=y
 BR2_PACKAGE_GDB=y
 BR2_PACKAGE_GDB_DEBUGGER=y
 --->8---

Indeed if you build toolchain yourself this issue won't happen because
"host-texinfo" gets built during toolchain building.

-Alexey

  reply	other threads:[~2015-03-09 21:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-24  9:03 [Buildroot] [PATCH] gdb: fix target gdb building from git Alexey Brodkin
2015-03-09 17:55 ` Thomas Petazzoni
2015-03-09 21:55   ` Alexey Brodkin [this message]
2015-03-09 22:20     ` Thomas Petazzoni
2015-03-16 21:10 ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1425938155.2312.22.camel@synopsys.com \
    --to=alexey.brodkin@synopsys.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox