svn commit: r289471 - in user/ngie/bug203673: bin/df bin/ls bin/ps lib/libxo lib/libxo/tests lib/libxo/tests/encoder libexec/ftpd sbin/savecore share/mk usr.bin/iscsictl usr.bin/netstat usr.bin/pro...

Bryan Drewery bdrewery at FreeBSD.org
Sat Oct 17 23:09:19 UTC 2015


On 10/17/15 4:04 PM, NGie Cooper wrote:
> 
>> On Oct 17, 2015, at 15:57, Bryan Drewery <bdrewery at FreeBSD.org> wrote:
>>
>> On 10/17/15 3:56 PM, NGie Cooper wrote:
>>>
>>>> On Oct 17, 2015, at 15:52, Bryan Drewery <bdrewery at FreeBSD.org> wrote:
>>>>
>>>> On 10/17/15 2:38 PM, Garrett Cooper wrote:
>>>>> -LIBADD=	xo util
>>>>> +LIBADD=	util xo
>>>>
>>>> Woops!
>>>
>>> It’s intentional. I sorted the lists alphabetically and in doing so also made it more apparent that libxo isn’t the one pull in libutil by accident :) (someone went and added libxo before libutil everywhere so it was hard to know who needed libutil as a first order dependency instead of as a side-effect of libxo).
>>>
>>> I’ll change the final commit message to reflect that.
>>>
>>> Thanks for the pointers earlier :).
>>>
>>
>> Do keep in mind that ordering can be significant for linking.
> 
> How? As far as the final object size, the time it takes to link the objects, ...?
> 

If two libraries provide the same symbols. For example r265003. Easily
sen with libmd and libcrypto too if I remember right.

-- 
Regards,
Bryan Drewery


More information about the svn-src-user mailing list