svn commit: r362304 - head/x11-toolkits/pango
John Marino
freebsd.contact at marino.st
Mon Jul 21 12:16:40 UTC 2014
On 7/21/2014 13:26, Tijl Coosemans wrote:
> On Mon, 21 Jul 2014 12:55:23 +0200 John Marino wrote:
>> Everything that uses a pango function that has a libm symbol must also
>> link with libm.
>
> This is a completely false statement. If X links to Y and Y uses Z
> symbols, you do not have to link X with Z. Y links with Z and that is
> enough. Otherwise X would have to link with its entire dependency
> tree.
If the linker doesn't follow Y's link to Z, how is it supposed to
resolve Z references? so yes, you do have to link X with Z -- that's
what explicit linking requires.
Following indirect links (like your Y -> Z) example is the original ld
behavior. The latest binutils linkers don't do this be default. You
either had to pass a flag to change how it's built during configuration
(or maybe patch the linker, not sure) to restore the original behavior.
John
More information about the svn-ports-all
mailing list