[oe] [PATCH] eglibc: Make it configurable by tuning eglibc options

Khem Raj raj.khem at gmail.com
Fri Jan 7 17:30:08 UTC 2011


On Fri, Jan 7, 2011 at 6:17 AM, Andreas Oberritter <obi at opendreambox.org> wrote:
> On 01/07/2011 02:47 PM, Otavio Salvador wrote:
>> On Fri, Jan 7, 2011 at 07:28, Khem Raj <raj.khem at gmail.com> wrote:
>>> * Look for disabled features in DISTRO_FEATURES and disable them while building eglibc
>>> * By default all features are built
>>> * One can disable a feature by specifying DISTRO_FEATURES += "noinet6 nobsd ...." e.g.
>>
>> Awesome.
>>
>> Do you think we could do something similar to busybox to avoid having
>> many defconfigs?
>>
>
> Maybe it would be better to introduce EGLIBC_FEATURES and
> BUSYBOX_FEATURES, possibly presetting some values with options already
> present in DISTRO_FEATURES.
>

I think it can get to many knobs and confusion in settings. With
system library any feature en|disable
is system  wide so having it as a distro policy is right way to go imo.

> Now it seems to be possible to specify both ipv6 and noipv6, which seems
> inintuitive to me. It's not defined, which one would take precedence
> over the other, or whether such conflicts could be catched to display an
> error message.

good one
hmm yes ipv6 exists already so probably I could reuse that one in eglibc

>
> Also, as an example, nobsd's name doesn't contain an implicit
> relationship to eglibc, so one might think that it would affect other
> packages as well.

Its a system wide feature not limited to eglibc if we disable BSD
functions in libc then we better not use them in applications
so this feature knob is the way to handle that for more than eglibc
possibly so are others.
>
> Regards,
> Andreas
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list