Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Phil Blundell <pb@pbcl.net>
Cc: Darren Hart <dvhart@linux.intel.com>,
	Poky <poky@yoctoproject.org>,
	Otavio Salvador <otavio@ossystems.com.br>,
	OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/4] xorg-driver-common: Add configure and install appends from meta-intel
Date: Thu, 05 Sep 2013 16:32:05 +0100	[thread overview]
Message-ID: <1378395125.32427.78.camel@ted> (raw)
In-Reply-To: <1378383839.6940.83.camel@phil-desktop.brightsign>

On Thu, 2013-09-05 at 13:23 +0100, Phil Blundell wrote:
> On Thu, 2013-09-05 at 13:14 +0100, Richard Purdie wrote:
> > * Figuring out any runtime issues with dlopen is the hardest part and we
> > don't actually have real data on whether there are issues there or not.
> 
> Do we have any particular reason to believe that there would be issues
> (and if so, what they might be)?  I guess it should be easy enough to
> gather data if we know what we're looking for.
> 
> Right now the .la files go into the -dev packages anyway and hence
> aren't usually going to be available at runtime for anything calling
> dlopen() on the target.  Is it native packages you're concerned about?

The -dev package argument is a good one, we seem to be surviving without
those and that probably addresses the concern I was thinking of. I'm
also thinking of ltdl and its dlopen wrapping, not dlopen itself which
is a much smaller subset of recipes.

> > * We'd be deviating from the way the libtool authors suggest their tool
> > should operate. This makes filing bug reports and interacting with
> > upstream harder. 
> 
> This is true, though interacting with libtool upstream already seems to
> be hard enough that I'm not sure this would make a material difference.

It does seem somewhat tricky, agreed.

> > * They are used in places, for example the darwin shlibs code currently
> > uses them. It could be updated to use otool these days mind but I'd
> > probably make the current code a fallback for unknown arches since it is
> > guaranteed to work everywhere.
> 
> There's no reason in principle that folks on darwin (and/or
> hitherto-undiscovered architectures) couldn't retain the .la files if
> they wanted.  The original patch that I sent used a DISTRO_FEATURE to
> control this and those people building for darwin could simply refrain
> from setting it.  Alternatively we could make it explicitly conditional
> on TARGET_OS or some such if there are reasons to believe that some
> targets do genuinely require this stuff.

There are ways to avoid problems for darwin. Using otool instead of
the .la files would be nice, equally mangling DISTRO_FEATURES based on
an SDK override is possible, albeit ugly. The la handling code will
likely bitrot as soon as its disabled by default and metadata starts
getting dropped which is probably a bigger concern. The number of SDK
darwin builds is currently a tiny portion of the usercase and codebase.

I guess the .la files just don't seem to be a big issue that some people
seem to paint them as. Why do we need to remove them and deviate from
the upstream?

Anyhow, if someone can show some world builds with and without the .la
files and see what build history shows we'd be closer to taking a patch
to turning them off. If we do it, we'll have to do it everywhere for
everything since the remaining code will bitrot badly IMO otherwise.

Cheers,

Richard






  parent reply	other threads:[~2013-09-05 15:32 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-05  0:18 [PATCH 0/4] Updates in support of genericx86* Darren Hart
2013-09-05  0:18 ` [PATCH 1/4] linux-firmware: Update SRCREV, pull in iwlwifi-7260 support Darren Hart
2013-09-05  1:04   ` Otavio Salvador
2013-09-05  3:34     ` Darren Hart
2013-09-05  6:57       ` [poky] " Saul Wold
2013-09-05  8:50         ` Richard Purdie
2013-09-05 14:49           ` Darren Hart
2013-09-05  0:18 ` [PATCH 2/4] xorg-driver-common: Add configure and install appends from meta-intel Darren Hart
2013-09-05  0:54   ` Otavio Salvador
2013-09-05  3:33     ` Darren Hart
2013-09-05  9:53   ` Burton, Ross
2013-09-05 11:37     ` Otavio Salvador
2013-09-05 11:40       ` Burton, Ross
2013-09-05 12:14         ` Richard Purdie
2013-09-05 12:23           ` Phil Blundell
2013-09-05 13:48             ` Burton, Ross
2013-09-05 15:32             ` Richard Purdie [this message]
2013-09-05 16:23               ` Burton, Ross
2013-09-05 15:00     ` Darren Hart
2013-09-05  0:18 ` [PATCH 3/4] xf86-video-mga: Pull in Matrox MGA support " Darren Hart
2013-09-05  9:57   ` Burton, Ross
2013-09-05 13:04     ` Tom Zanussi
2013-09-05 14:52     ` Darren Hart
2013-09-05 15:11       ` Burton, Ross
2013-09-05 15:21         ` Burton, Ross
     [not found]       ` <5229303F.1090209@windriver.com>
2013-09-10  2:37         ` Darren Hart
     [not found]           ` <522E9996.8000107@windriver.com>
2013-09-10 17:54             ` Darren Hart
2013-09-05  0:18 ` [PATCH 4/4] genericx86: Create a x86-common.inc base for the x86 BSPs Darren Hart
2013-09-05  1:16 ` [PATCH 0/4] Updates in support of genericx86* Otavio Salvador
2013-09-05  3:35   ` Darren Hart
2013-09-05  9:47     ` [poky] " Burton, Ross
2013-09-05 11:06       ` Richard Purdie
2013-09-05 11:40         ` Otavio Salvador

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=1378395125.32427.78.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=dvhart@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=otavio@ossystems.com.br \
    --cc=pb@pbcl.net \
    --cc=poky@yoctoproject.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