Stop linking with -lnsl on Linux

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Jun 10 22:46:11 UTC 2010


Martin,

Do you need a real bug-ID -- it looks like you were not the lucky 
recipient of 6666666?

-- Jon


On 06/10/2010 03:23 PM, Kelly O'Hair wrote:
>
> Looks good to me.
>
> -kto
>
> On Jun 10, 2010, at 3:16 PM, Martin Buchholz wrote:
>
>> Hi Kelly, I'd like you to do a code review.
>>
>> The JDK links with libnsl on Linux, but this is an unused dependency.
>>
>> Here's a patch to stop linking with it - very similar to the handling
>> of libsocket:
>>
>> http://cr.openjdk.java.net/~martin/webrevs/openjdk7/libnsl
>>
>> I don't know whether libnsl is also unused on Solaris - I'll leave
>> that up to someone else.  Solaris and Linux libnsls are very
>> different.
>>
>> Thanks,
>>
>> Martin
>




More information about the build-dev mailing list