All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kang Kai <Kai.Kang@windriver.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/2] bind: build with threads and update configure options
Date: Sat, 27 May 2017 11:24:50 +0800	[thread overview]
Message-ID: <726d845f-268e-0f27-bcd7-c6b2fd9f4c53@windriver.com> (raw)
In-Reply-To: <c46b6cd7-cf25-8fd6-789f-c9cfbcbf9026@windriver.com>

[-- Attachment #1: Type: text/plain, Size: 2038 bytes --]

On 2017年05月23日 17:58, Kang Kai wrote:
> On 2017年05月19日 19:47, Burton, Ross wrote:
>>
>> On 19 May 2017 at 09:52, <kai.kang@windriver.com 
>> <mailto:kai.kang@windriver.com>> wrote:
>>
>>     Build without threads for bind is inherited from legacy openembedded.
>>     All libc's support proper threading on Linux now, so enable threads
>>     support for bind.
>>
>>     It is also need to disable static library build which cause
>>     package dhcp
>>     fail to build after enable bind threads support.
>>
>>     Options devpoll and epoll are configured to choose most preferable
>>     multiplex method for unix socket. The priorities are: epoll > poll >
>>     select. When set '--enable-epoll', it just defines a var and include
>>     header file that is available for cross compile. So use epoll for
>>     bind.
>>
>>     Add PACKAGECONFIG 'urandom' that could use /dev/urandom as random
>>     device.
>>
>>     Update file/directory ownerships to fix daemon start failure.
>>
>>
>> This is changing more than documented:
>>
>> packages/corei7-64-poky-linux/bind/bind-utils: RDEPENDS: removed 
>> "libcrypto (['>= 1.0.2k'])", added "bind (['>= 9.10.3-P3'])"

Hi Ross,

Sorry for late reply.

Before this patch, bind is static built.  So the 2 elf files "dig and 
host" in sub-packages bind-utils pack the libraries which require 
libcrypto from package bind itself.
So bind-utils only depends on libcrypto but does not require bind.

When build dynamically, all the functions which require libcrypto are 
packages into dynamic libraries. And these libraries are packaged into 
bind. That cause bind
depends on librypto and bind-utils depends on bind.

dhcp has the similar reason.


Regards,
Kai


>
> It is a problem and I am still working to figure it out.
>
> Thanks,
> Kai
>
>>
>> (and dhcp has the same dropping of libcrypto)
>>
>> Is this intentional?
>>
>> Ross
>
>
> -- 
> Regards,
> Neil | Kai Kang


-- 
Regards,
Neil | Kai Kang


[-- Attachment #2: Type: text/html, Size: 5054 bytes --]

  reply	other threads:[~2017-05-27  3:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-19  8:52 [PATCH 0/2] Build bind with threads kai.kang
2017-05-19  8:52 ` [PATCH 1/2] bind: build with threads and update configure options kai.kang
2017-05-19 11:47   ` Burton, Ross
2017-05-23  9:58     ` Kang Kai
2017-05-27  3:24       ` Kang Kai [this message]
2017-11-16 10:27         ` Andre McCurdy
2017-11-17  1:46           ` Kang Kai
2017-11-20  6:56             ` Kang Kai
2017-11-21  3:27               ` Andre McCurdy
2017-11-16 11:50   ` André Draszik
2017-05-19  8:52 ` [PATCH 2/2] dhcp: build shared libraries kai.kang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=726d845f-268e-0f27-bcd7-c6b2fd9f4c53@windriver.com \
    --to=kai.kang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.