[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Okteta moved to kdereview; kdeutils coordinator?
From:       Alex Merry <huntedhacker () tiscali ! co ! uk>
Date:       2008-04-01 13:03:49
Message-ID: 200804011403.59700.huntedhacker () tiscali ! co ! uk
[Download RAW message or body]


On Tuesday 01 April 2008 00:12:05 Alexander Neundorf wrote:
> only the object files of symbols which are referenced somewhere in the
> object files of the shared library are copied into the resulting shared
> library. This would work somewhat and only the object files from the static
> library which are not referenced from the shared library (i.e. which
> provide independent functions/classes) would be lost.

I seem to recall from previous discussions here that this is the correct 
explanation: if you link to the shared lib and reference a method in the 
static lib that wasn't used in the shared lib, you get a linking error because 
the linker tries to be efficient too early on.

We should probably put this on techbase once it's confirmed by someone who 
actually knows what they're talking about (Thiago?  You always seem very clued 
up on compiler and linker issues).

Alex


-- 
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic