From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] gdb: properly pass the PATH when building gdb for the host
Date: Wed, 28 Nov 2012 11:37:04 -0800 [thread overview]
Message-ID: <8738ztzfhb.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1354120492-17059-1-git-send-email-thomas.petazzoni@free-electrons.com> (Thomas Petazzoni's message of "Wed, 28 Nov 2012 17:34:52 +0100")
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> When building gdb for the host, we properly pass the PATH (through
Thomas> HOST_CONFIGURE_OPTS) during the configure step, but we forget to do so
Thomas> for the compilation step.
Thomas> The result of this is that when the Crosstool-NG backend is used, gawk
Thomas> is built and installed in $(HOST_DIR), as a dependency of the
Thomas> crosstool-ng package.
Thomas> Then, the host gdb configure script detects this gawk binary
Thomas> ($(HOST_DIR) is in the PATH), and assumes gawk is
Thomas> available. Unfortunately, during the compilation step, it fails to
Thomas> find the expected gawk binary, because $(HOST_DIR) is no longer in the
Thomas> PATH. This causes the following build failure:
Thomas> http://autobuild.buildroot.org/results/067d0c2ea01673ba98ec11de2426f1ab92dac800/build-end.log
Committed, thanks.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2012-11-28 19:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-28 16:34 [Buildroot] [PATCH] gdb: properly pass the PATH when building gdb for the host Thomas Petazzoni
2012-11-28 19:37 ` Peter Korsgaard [this message]
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=8738ztzfhb.fsf@dell.be.48ers.dk \
--to=jacmet@uclibc.org \
--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