[OE-core] [PATCH] eglibc: Make ld.so.conf more flexible

Mark Hatle mark.hatle at windriver.com
Thu Jul 24 01:59:27 UTC 2014


On 7/23/14, 8:48 PM, Khem Raj wrote:
> On Wed, Jul 23, 2014 at 4:50 PM, Peter Seebach
> <peter.seebach at windriver.com> wrote:
>> On Wed, 23 Jul 2014 17:41:30 -0500
>> Ben Shelton <ben.shelton at ni.com> wrote:
>>
>>> Most modern distros will include conf files in /etc/ld.so.conf.d/
>>> when generating the ld.so cache. This change will bring that flexibility.
>>
>> I was just looking at a patch to do roughly this. Mine added a
>> USE_LDCONFIG_CONF_D flag, and then had eglibc's install create the directory
>> and append that line to ld.so.conf if the flag was set. I'm not sure whether
>> the extra functionality justifies the effort. I would suggest that, if
>> this is going to be unconditionally present, the directory should be too.
>
> Many embedded systems dont use ldconfig and we have USE_LDCONFIG knob
> to control it.
> This should fall under that knob as well.

Original idea was two knobs.. one for USE_LDCONFIG, and one for using the 
ld.so.conf.d directory and setup.

The later has been requested of me many times, but we've not implemented it 
generically.  I think it's time to do so -- but it should be tied to 
USE_LDCONFIG at a minimum, I just don't know if it should always be enabled or 
just sometimes.  (Always means the ld.so.conf file gets the include line, so 
it's NOT a lot of bytes.)

--Mark

>>
>> -s
>> --
>> Listen, get this.  Nobody with a good compiler needs to be justified.
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list