[arch-general] Fwd: Proposal for the static library problem in Arch

Bardur Arantsson spam at scientician.net
Sat Sep 28 18:46:15 EDT 2013


On 2013-09-28 23:50, Dan Liew wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 28/09/13 19:32, Thomas Bächler wrote:
>> Am 28.09.2013 16:26, schrieb Delcypher:
>>> I really don't think that completely removing static libraries from
>>> the repositories is the correct approach because it I believe the
>>> choice of whether or not to have static libraries on your system
>>> should be down to the user and not the distro
>>
>> This has been discussed more than once, always with the same result.
>> Static libraries are a dead end and are going away.
>>
> I think it's a shame people think that static libraries are completely
> dead. Although I agree that shared libraries are usually preferable to
> static libraries there are circumstances where their use is warranted
> (e.g. building portable executables).
> 
> I would also be remiss if I did not point out a prominent software
> project that I doubt will ever switch to using shared libraries
> completely which is LLVM. [1] explains the reasoning behind using static
> libraries which is completly sensible.
> 
> I notice that the Arch llvm package still has it's static libraries.
> 
> Just my two cents.
> 
> [1] 11.4.2. LLVM is a Collection of Libraries
> http://www.aosabook.org/en/llvm.html

I don't think "static library" means what you think it means.

$ ldd `which clang`
        linux-vdso.so.1 (0x00007fff933fe000)
        libLLVM-3.3.so => /usr/bin/../lib/libLLVM-3.3.so
(0x00007fd694c3c000)
        ^^^^^^^^^^^^^^

        libpthread.so.0 => /usr/bin/../lib/libpthread.so.0
(0x00007fd694a1e000)
        libstdc++.so.6 => /usr/bin/../lib/libstdc++.so.6
(0x00007fd69471a000)
        libgcc_s.so.1 => /usr/bin/../lib/libgcc_s.so.1 (0x00007fd694504000)
        libc.so.6 => /usr/bin/../lib/libc.so.6 (0x00007fd694159000)
        libz.so.1 => /usr/bin/../lib/libz.so.1 (0x00007fd693f43000)
        libffi.so.6 => /usr/bin/../lib/libffi.so.6 (0x00007fd693d3b000)
        libdl.so.2 => /usr/bin/../lib/libdl.so.2 (0x00007fd693b37000)
        libm.so.6 => /usr/bin/../lib/libm.so.6 (0x00007fd693834000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fd696502000)

Regards,




More information about the arch-general mailing list