[OE-core] [PATCH 26/50] webkitgtk: update to 2.18.0

Khem Raj raj.khem at gmail.com
Thu Oct 12 13:57:10 UTC 2017


On Thu, Oct 12, 2017 at 5:55 AM, Alexander Kanavin
<alexander.kanavin at linux.intel.com> wrote:
> On 10/12/2017 08:09 AM, Khem Raj wrote:
>>>
>>> +Upstream-Status: Inappropriate [needs to use musl-specific defines to be
>>> upstreamable]
>>
>>
>> I think using __GLIBC__ is sub optimal here. So this change should be
>> upstreamable.
>>
>>> +-#if OS(DARWIN) || ((OS(FREEBSD) || defined(__GLIBC__)) && (CPU(X86) ||
>>> CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS)))
>>> ++#if OS(DARWIN) || ((OS(FREEBSD) || defined(__linux__)) && (CPU(X86) ||
>>> CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS)))
>>
>>
>> We should probably use (OS(LINUX)  instead of defined(__linux__)
>> and this could be upstreamed too.
>>
>
> I'm not sure if LINUX or __linux___ is optimal either. Perhaps__GLIBC___ ||
> __musl___ would be better?
>

musl intentionally does not have a define to identify C library, since this has
historicslly made libc hide lot of trash under this carpet.
most of times people assume __GLIBC__ == linux which ofcourse it not true.

>
> I've changed the upstream-status to Pending in the branch.
>

OK


> Alex



More information about the Openembedded-core mailing list