From 268f66fe0e2eddf543fda26c50ef3123c5ef6b1a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 11 May 2016 10:35:11 -0700 Subject: webkitgtk: Upgrade to 2.12.1 Fix build with gcc-6 Do not tinker with -isystem, this causes issues where gcc does not find standard C++ headers since the default search ordered for system headers is changed and is not correct anymore. Errorr like WebCore/editing/gtk/EditorGtk.cpp:27: /mnt/oe/poky/build/tmp/sysroots/qemuarm/usr/include/c++/6.0.1/cstdlib:75:25: fatal error: stdlib.h: No such file or directory #include_next It brings a patch to fix typename mismatch for pow() see https://bugs.webkit.org/show_bug.cgi?id=153071 Drop upstreamed patches User -fPIC on aarch64 to fix relocation truncated to fit: R_AARCH64_LD64_GOTPAGE_LO15 against symbol `__stack_chk_guard@@GLIBC_2.17' defined in .data.rel.ro section (From OE-Core rev: 0a6e162c47017ecf51b466218fb549e0e199f4c4) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-sato/webkit/webkitgtk/clang.patch | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 meta/recipes-sato/webkit/webkitgtk/clang.patch (limited to 'meta/recipes-sato/webkit/webkitgtk/clang.patch') diff --git a/meta/recipes-sato/webkit/webkitgtk/clang.patch b/meta/recipes-sato/webkit/webkitgtk/clang.patch deleted file mode 100644 index e5267138bf..0000000000 --- a/meta/recipes-sato/webkit/webkitgtk/clang.patch +++ /dev/null @@ -1,25 +0,0 @@ -Clang's builtin for clear_cache accepts char* and errors out when using void*, -using char* work on both gcc and clang since char* is auto-converted to void* in gcc case - -Source/JavaScriptCore/assembler/ARM64Assembler.h:2857:33: error: cannot initialize a parameter of type 'char *' with an rvalue of type 'void *' - __builtin___clear_cache(reinterpret_cast(begin), reinterpret_cast(end)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -1 error generated. - -Signed-off-by: Khem Raj - -Upstream-Status: Accepted - -Index: webkitgtk-2.8.5/Source/JavaScriptCore/assembler/ARM64Assembler.h -=================================================================== ---- webkitgtk-2.8.5.orig/Source/JavaScriptCore/assembler/ARM64Assembler.h -+++ webkitgtk-2.8.5/Source/JavaScriptCore/assembler/ARM64Assembler.h -@@ -2854,7 +2854,7 @@ public: - #if OS(LINUX) && COMPILER(GCC) - static inline void linuxPageFlush(uintptr_t begin, uintptr_t end) - { -- __builtin___clear_cache(reinterpret_cast(begin), reinterpret_cast(end)); -+ __builtin___clear_cache(reinterpret_cast(begin), reinterpret_cast(end)); - } - #endif - -- cgit v1.2.3-54-g00ecf