[Buildroot] [PATCH] gdb: properly pass the PATH when building gdb for the host
Peter Korsgaard
jacmet at uclibc.org
Wed Nov 28 19:37:04 UTC 2012
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at 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
More information about the buildroot
mailing list