[OE-core] [PATCH v1] site: enable pthread support for x86_64 APR builds

Khem Raj raj.khem at gmail.com
Fri Mar 18 22:47:10 UTC 2016


On Mar 18, 2016 4:38 AM, "Burton, Ross" <ross.burton at intel.com> wrote:
>
>
> On 18 March 2016 at 00:22, Khem Raj <raj.khem at gmail.com> wrote:
>>>
>>> Which is interesting as building apr-native (so the site files don't
get used) for x86-64 gives:
>>>
>>> apr_cv_process_shared_works=yes
>>>
>>> Can we not go around disabling stuff when it actually does work?
>>
>>
>> No it really doesnt work. its running a configure time test on your
build host ( which I assume is x86_64 mostly now
>> a days) and then deciding that process shared mutexes work, which is not
correct.
>>
>> If we think that it should work on x86_64 then lets cache the value to
‘yes’ but not leave it
>> at the mercy of configure.
>
>
> That was my point: the patch was to add works=no to x86-64 target builds,
but if I run the same test on x86-64 hardware directly then the result is
works=yes.

Actually it depends on libc implementation of process shared mutexes. So
glibc for most arches should set it yes. Musl doesnt have it. So that
should be no mostly
>
> Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160318/ac5ccbac/attachment-0002.html>


More information about the Openembedded-core mailing list