[yocto] Building gdb-7.10 for arm with master

Burton, Ross ross.burton at intel.com
Sat Mar 5 13:40:48 PST 2016


On 5 March 2016 at 21:19, Rudolf J Streif <rudolf.streif at gmail.com> wrote:

> compile fails with the following error message:
>
> | make[2]: *** No rule to make target '../readline/libreadline.a', needed
> by 'gdb'.  Stop.
> | make[2]: *** Waiting for unfinished jobs....
>
> The reason seems to be a broken path to the built-in readline in the
> makefile as the default configuration is
> --without-system-readline. Enabling
>
> PACKAGECONFIG_append_pn-dbg = " readline"
>

The default is with system readline...

gdb-common.inc:PACKAGECONFIG ??= "readline"

However if you do have PACKAGECONFIG set to "" for gdb for some reason then
you'll want to cherry-pick ce2542057d877044a7548f2884d192f4f672c75a
(master-next) to fix builds with the internal readline if you've got
no-static-libs enabled (which is true for Poky).

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160305/e7f7f287/attachment.html>


More information about the yocto mailing list