[OE-core] [PATCH] no-static-libs.inc: add gdb

Martin Jansa martin.jansa at gmail.com
Thu Mar 3 15:01:35 UTC 2016


On Mon, Feb 29, 2016 at 12:50:03PM -0800, Andre McCurdy wrote:
> On Mon, Feb 29, 2016 at 12:43 PM, Burton, Ross <ross.burton at intel.com> wrote:
> >
> > On 29 February 2016 at 20:40, Richard Purdie
> > <richard.purdie at linuxfoundation.org> wrote:
> >>
> >> I'm a bit puzzled as our autobuilders build this all the time and we
> >> don't see failures. Any idea what the configuration difference might
> >> be?
> >
> > Since oe-core 94e1b917078bedf73830e54278af77f742c93581 gdb has a
> > packageconfig for system readline, which is enabled by default (and has been
> > enabled explicitly for a long time).  Do you have some local patches adding
> > more PACKAGECONFIG options but not enabling readline?
> 
> gdb 7.10.1 depends on readline features which are not present in
> readline 5.2 (ie the GPLv2 version). Using the gdb internal readline
> is a workaround for people who don't want to switch to the GPLv3
> version of readline.

Thanks!

After fixing the default in meta-qt5 I've started to see this issue in
other builds which were indeed built with
PREFERRED_VERSION_readline ?= "5.2"
to prevent GPLv3 readline being used by other components.

For gdb which isn't part of our release builds we can use bundled
readline, so I had to apply this no-static-libs.inc change and
explicitly remove readline from gdb's PACKAGECONFIG.

So to recap, meta-qt5 change fixed my jenkins "bitbake world" builds by
enabling system readline.
For internal builds (without GPLv3 where possible) on the other hand I
need to remove readline from PACKAGECONFIG and apply this fix to build
static readline inside gdb's build.

> (Although gdb is itself GPLv3, it's self contained and easy to exclude
> from release builds).
> 
> > Ross
> >
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> >

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160303/d293ef28/attachment-0002.sig>


More information about the Openembedded-core mailing list