[OE-core] RFC: magic libtool .la removal

Richard Purdie richard.purdie at linuxfoundation.org
Tue Jun 18 15:47:56 UTC 2013


On Tue, 2013-06-18 at 16:05 +0100, Burton, Ross wrote:
> On 18 June 2013 16:00, Colin Walters <walters at verbum.org> wrote:
> > The relevant data I have on hand are:
> >
> > https://bugzilla.gnome.org/show_bug.cgi?id=654013
> > https://git.gnome.org/browse/jhbuild/commit/?id=965c8d5ceda9d1c5d6021ef2c534e0a7f68ca976
> >
> > I think the executive summary is that libltdl knows how to load .so
> > files directly (at least currently), so there's no reason to have even
> > ${libdir}/modulename/plugins/foo.la.
> 
> Thanks Colin.  Let's ignore the "libdir" option so this is a
> per-package keep-or-wipe option.  I'd like to default it to removing
> all by default after a verification that the build results are
> identical.

The thing which really worries me about this is that we'll start to
deviate quite massively with how upstream expect us to use autotools.

As things stand, we have a number of sysroot fixes for the sysroot
support in libtool which is basically broken out the box. I have tried
discussing them with upstream and was ignored, mainly as we patch
libtool and we're supposed to use it unpatched. 

I worry that if we go this route, the builds will stop working without
the .la file removal and that we'll lose any chance of being able to
resolve our patchset with libtool upstream. We might as well throw away
libtool at that point and save the overhead. It also means we will have
bigger problems working on something like darwin (which I've had work in
the past).

So I don't see the pressing need to set us off down a path on our own.
Yes the .la files are annoying but they're not that much of a problem,
are they?

Cheers,

Richard






More information about the Openembedded-core mailing list