I'm trying to compile webkit-gtk natively on a Raspberry PI 3. The ebuild stops in the cmake test phase: -- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success CMake Error at Source/cmake/OptionsCommon.cmake:39 (WEBKIT_PREPEND_GLOBAL_COMPILER_FLAG): Unknown CMake command "WEBKIT_PREPEND_GLOBAL_COMPILER_FLAG". Call Stack (most recent call first): Source/cmake/WebKitCommon.cmake:58 (include) CMakeLists.txt:168 (include) Cmake checks for the current CPU if (WTF_CPU_ARM64_CORTEXA53) and then tries to add another compiler flag: WEBKIT_PREPEND_GLOBAL_COMPILER_FLAG(-mfix-cortex-a53-835769) I've had a look at Source/cmake/WebKitCompilerFlags.cmake and it seems the name should be WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS
Looks like they had this bug ever since adding the compile tested flag adding in https://bugs.webkit.org/show_bug.cgi?id=174490 or something. Note that this compile flag and another errata one can be useful globally to avoid issues on at least the earlier Cortex A53's like RPi3. Should get this reported upstream if it isn't yet at bugs.webkit.org, feel free to help with doing that yourself sooner and linking with See also, URL or comment (in that order of preference, depending on what you can edit)
Any news about this bug? Inside this "https://bugs.webkit.org/show_bug.cgi?id=174490" there is a patch that I can't use
I 've managed to find the root of the problem here. https://trac.webkit.org/changeset/229155/webkit
Created attachment 527478 [details, diff] rpi3_64.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8803068b11340f0bc7c1d0b9f157c3605ec84a9b commit 8803068b11340f0bc7c1d0b9f157c3605ec84a9b Author: Virgil Dupras <vdupras@gentoo.org> AuthorDate: 2018-07-18 12:59:55 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2018-07-23 22:23:35 +0000 net-libs/webkit-gtk: bump to 2.20.3 * New dependency on media-libs/woff2 require us to drop keywords * Drop redundant python dependency under tests * The ia64 patch is no longer needed: the fatal build error on unknown CPUs has been removed. * arm64 compilation is fixed upstream. Closes: https://bugs.gentoo.org/655550 Closes: https://bugs.gentoo.org/644284 Closes: https://github.com/gentoo/gentoo/pull/9271 Package-Manager: Portage-2.3.40, Repoman-2.3.9 net-libs/webkit-gtk/Manifest | 1 + net-libs/webkit-gtk/webkit-gtk-2.20.3.ebuild | 283 +++++++++++++++++++++++++++ 2 files changed, 284 insertions(+)