From: Colin Walters <walters@verbum.org>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: RFC: magic libtool .la removal
Date: Tue, 18 Jun 2013 12:39:43 -0400 [thread overview]
Message-ID: <1371573583.3466.35.camel@localhost> (raw)
In-Reply-To: <1371571538.3466.27.camel@localhost>
On Tue, 2013-06-18 at 12:05 -0400, Colin Walters wrote:
> Yeah, I dunno...maybe someone needs to fork libtool.
I should follow up to this; the thing is, libtool is at the intersection
of so many cross-cutting issues:
* RPM-style multilib vs Debian-style multiarch
* Supporting libraries that use pkg-config vs those that still
sadly don't
* Windows vs Darwin vs GNU/Linux (in all its variations)
* Cross vs native builds
* "sysroot" support
* Plugins: libltdl (and how that interacts with other cross-platform
module loaders like e.g. GModule)
* Component-internal build system vs external interaction; specifically
libtool makes it easy to run *uninstalled* binaries, which is
quite useful, and to do that inside the tree does require
extra metadata in .la files
So when I say .la files are worthless and broken, I really mean just for
GNU/Linux systems (generally native builds, but likely also cross), and
where things I care about know how to find .so files instead of .la,
and only for *external* build system interaction; having .la files
*inside* the build tree for a single component is fine, etc.
I can't say for sure myself that having libtool unilaterally stop
installing .la files wouldn't break anything; maybe there's some library
out there that doesn't use pkg-config and relies on consumers using
dependency_libs. But I do think it's at best unnecessary for the use
case above; so maybe it should come down to an option, or something.
prev parent reply other threads:[~2013-06-18 16:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-18 14:31 RFC: magic libtool .la removal Burton, Ross
2013-06-18 14:42 ` Phil Blundell
2013-06-18 14:56 ` Burton, Ross
2013-06-18 15:00 ` Colin Walters
2013-06-18 15:05 ` Burton, Ross
2013-06-18 15:47 ` Richard Purdie
2013-06-18 15:52 ` Burton, Ross
2013-06-18 15:54 ` Phil Blundell
2013-06-18 15:59 ` Burton, Ross
2013-06-18 16:05 ` Colin Walters
2013-06-18 16:39 ` Colin Walters [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=1371573583.3466.35.camel@localhost \
--to=walters@verbum.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.org \
/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