[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Don't install .la files when --no-la-files is used
From: |
Russ Allbery |
Subject: |
Re: [PATCH] Don't install .la files when --no-la-files is used |
Date: |
Sat, 08 Nov 2008 17:03:08 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Bob Friesenhahn <address@hidden> writes:
> Quite a lot can known from .la files but it is apparent that .la files
> are now spontaneously deleted.
Hm, I must admit that I generally find them useless compared to reading
readelf -a output, but I'm not the normal user. :)
> It is really quite a burden on the developer to try to understand what
> is needed for static and shared linking. Many Linux application/library
> authors are not even aware of all the libraries they are using and it
> might not be possible to fully know without using diagnostic tools,
> special environment variables like LD_BIND_NOW, or a particular
> execution mode of the software. Dependencies are not always obvious and
> is is possible for "pass through" dependencies to be introduced
> (stealthy hard dependencies) that the developer is not aware of.
This is all true in the general case, but most of the cases where clients
of a library need to link against that library's dependencies are weird
edge cases. My guess is that only linking with the libraries whose ABIs
you call directly works 95% of the time on modern ELF platforms, and
linking with -pthread where appropriate is the only additional bit
required in another 4% or more of the cases.
--
Russ Allbery (address@hidden) <http://www.eyrie.org/~eagle/>
- Re: [PATCH] Don't install .la files when --no-la-files is used, (continued)
- Re: [PATCH] Don't install .la files when --no-la-files is used, Roumen Petrov, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Russ Allbery, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Roumen Petrov, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Russ Allbery, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Roumen Petrov, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Russ Allbery, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Roumen Petrov, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Bob Friesenhahn, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Russ Allbery, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Bob Friesenhahn, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used,
Russ Allbery <=
- Re: [PATCH] Don't install .la files when --no-la-files is used, Dan Nicholson, 2008/11/09
- Re: [PATCH] Don't install .la files when --no-la-files is used, Kurt Roeckx, 2008/11/09
- Re: [PATCH] Don't install .la files when --no-la-files is used, Charles Wilson, 2008/11/08
- Re: [PATCH] Don't install .la files when --no-la-files is used, Bob Friesenhahn, 2008/11/09
- Re: [PATCH] Don't install .la files when --no-la-files is used, Kurt Roeckx, 2008/11/09
- Re: [PATCH] Don't install .la files when --no-la-files is used, Ralf Wildenhues, 2008/11/04
- Re: [PATCH] Don't install .la files when --no-la-files is used, Bob Friesenhahn, 2008/11/03
- Re: [PATCH] Don't install .la files when --no-la-files is used, Ralf Wildenhues, 2008/11/04