Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Rémi Cardona <remi@g.o>
Subject: Re: .la files and their future on Gentoo
Date: Mon, 04 Oct 2010 00:00:22 +0200
Le 03/10/2010 16:29, Luca Barbato a écrit :
> I think the simpler solution is that if it needs .la, before reaching
> the tree it has to be fixed...

Using libltdl (libtool's dlopen wrapper) is a *legitimate* use of .la
files. Those programs do not need to be fixed as they are not broken.

The discussion here is about random apps and libs, that install .la
files for no other reason that they were *built* using libtool.

Such programs will work just fine without .la files. The only risk is
breaking :

 1) building other packages (see the dbus bug)
 2) building *static* programs/libs

#1 can be "fixed" using lafilefixer which sanitizes .la files so that
they stop referencing other .la files.

#2 is harder :

#2a) pkg-config is one solution (what upstream Xorg says: "if you want a
static libX11, use pkg-config --static"), other teams/herds could fix
their packages' .pc files to correctly list all required packages for
proper static linking. It's not rocket science.

#2b) drop support for static linking altogether. It can make sense for
some packages, but definitely isn't suitable for the entire portage tree.

So again, these are the only 2 issues we should be addressing.

Cheers,

Rémi


Replies:
Re: .la files and their future on Gentoo
-- Michał Górny
Re: .la files and their future on Gentoo
-- Luca Barbato
References:
.la files and their future on Gentoo
-- Jorge Manuel B. S. Vicetto
Re: .la files and their future on Gentoo
-- David Leverton
Re: .la files and their future on Gentoo
-- Luca Barbato
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: .la files and their future on Gentoo
Next by thread:
Re: .la files and their future on Gentoo
Previous by date:
Re: Re: [gentoo-commits] gentoo-x86 commit in dev-tex/latex-beamer: ChangeLog latex-beamer-3.10.ebuild
Next by date:
Automated Package Removal and Addition Tracker, for the week ending 2010-10-03 23h59 UTC


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.