]> code.ossystems Code Review - openembedded-core.git/commit
webkitgtk: fix compile error for arm64
authorKai Kang <kai.kang@windriver.com>
Tue, 23 Apr 2019 10:12:16 +0000 (06:12 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 May 2019 19:50:00 +0000 (20:50 +0100)
commit754baa7ccc8afad300f1a391469b6b428e37f096
treefd76bff714413c76b631af5ac4920c036c2cdaac
parentf93f026212ebc28fce66682cdb995e061586df45
webkitgtk: fix compile error for arm64

It removes function JSC::AssemblerBuffer::data() for ARM64 in commit
https://trac.webkit.org/changeset/236589/webkit. But it is required by
Cortex A53 from https://trac.webkit.org/changeset/175514/webkit and
fails to compile for arm64:

| .../tmp/work/aarch64-poky-linux/webkitgtk/2.24.0-r0/webkitgtk-2.24.0/Source/JavaScriptCore/assembler/ARM64Assembler.h:3769:100: error: 'class JSC::AssemblerBuffer' has no member named 'data'
|     if (UNLIKELY((*reinterpret_cast_ptr<int32_t*>(reinterpret_cast_ptr<char*>(m_buffer.data()) + m_buffer.codeSize() - sizeof(int32_t)) & 0x0a000000) == 0x08000000))

Not set WTF_CPU_ARM64_CORTEXA53 for arm64 to fix the failure.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-sato/webkit/webkitgtk_2.24.0.bb