Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2017 19:33:39 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r440359 - in branches/2017Q2/www: qt4-webkit/files qt5-webkit/files
Message-ID:  <201705071933.v47JXdDs004623@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun May  7 19:33:39 2017
New Revision: 440359
URL: https://svnweb.freebsd.org/changeset/ports/440359

Log:
  MFH: r440357
  
  www/qt*-webkit: unbreak on armv6
  
  In file included from Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:26:
  In file included from ./Source/JavaScriptCore/config.h:30:
  ./Source/WTF/wtf/Platform.h:308:6: error: "Not supported ARM architecture"
  #    error "Not supported ARM architecture"
       ^
  <inline asm>:149:16: error: invalid operand for instruction
  vmov.u32 r2, r3, s8, s9
  
  PR:		216153 217208
  Submitted by:	mikael.urankar@gmail.com
  Approved by:	ports-secteam blanket

Added:
  branches/2017Q2/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_JavaScriptCore_jit_ExecutableAllocator.h
     - copied unchanged from r440357, head/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_JavaScriptCore_jit_ExecutableAllocator.h
  branches/2017Q2/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_Platform.h
     - copied unchanged from r440357, head/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_Platform.h
  branches/2017Q2/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_WebCore_platform_graphics_filters_arm_FEGaussianBlurNEON.cpp
     - copied unchanged from r440357, head/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_WebCore_platform_graphics_filters_arm_FEGaussianBlurNEON.cpp
  branches/2017Q2/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_WebCore_platform_graphics_filters_arm_FELightingNEON.cpp
     - copied unchanged from r440357, head/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_WebCore_platform_graphics_filters_arm_FELightingNEON.cpp
  branches/2017Q2/www/qt5-webkit/files/patch-Source_WTF_wtf_Platform.h
     - copied unchanged from r440357, head/www/qt5-webkit/files/patch-Source_WTF_wtf_Platform.h
  branches/2017Q2/www/qt5-webkit/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp
     - copied unchanged from r440357, head/www/qt5-webkit/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp
Modified:
Directory Properties:
  branches/2017Q2/   (props changed)

Copied: branches/2017Q2/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_JavaScriptCore_jit_ExecutableAllocator.h (from r440357, head/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_JavaScriptCore_jit_ExecutableAllocator.h)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2017Q2/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_JavaScriptCore_jit_ExecutableAllocator.h	Sun May  7 19:33:39 2017	(r440359, copy of r440357, head/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_JavaScriptCore_jit_ExecutableAllocator.h)
@@ -0,0 +1,11 @@
+--- src/3rdparty/webkit/Source/JavaScriptCore/jit/ExecutableAllocator.h.orig	2017-01-05 13:47:51 UTC
++++ src/3rdparty/webkit/Source/JavaScriptCore/jit/ExecutableAllocator.h
+@@ -326,6 +326,8 @@ public:
+         syscall(__NR_cacheflush, reinterpret_cast<unsigned>(code), size, CACHEFLUSH_D_WB | CACHEFLUSH_I);
+ #endif
+     }
++#elif CPU(ARM_TRADITIONAL) && OS(FREEBSD) && COMPILER(CLANG)
++       __clear_cache(code, reinterpret_cast<char*>(code) + size);
+ #else
+     #error "The cacheFlush support is missing on this platform."
+ #endif

Copied: branches/2017Q2/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_Platform.h (from r440357, head/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_Platform.h)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2017Q2/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_Platform.h	Sun May  7 19:33:39 2017	(r440359, copy of r440357, head/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_Platform.h)
@@ -0,0 +1,12 @@
+This patch reportedly fixes build for ARM. See PR 208569
+
+--- src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h.orig	2017-02-07 10:30:44 UTC
++++ src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h
+@@ -218,6 +218,7 @@
+ #elif defined(__ARM_ARCH_6__) \
+     || defined(__ARM_ARCH_6J__) \
+     || defined(__ARM_ARCH_6K__) \
++    || defined(__ARM_ARCH_6KZ__) \
+     || defined(__ARM_ARCH_6Z__) \
+     || defined(__ARM_ARCH_6ZK__) \
+     || defined(__ARM_ARCH_6T2__) \

Copied: branches/2017Q2/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_WebCore_platform_graphics_filters_arm_FEGaussianBlurNEON.cpp (from r440357, head/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_WebCore_platform_graphics_filters_arm_FEGaussianBlurNEON.cpp)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2017Q2/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_WebCore_platform_graphics_filters_arm_FEGaussianBlurNEON.cpp	Sun May  7 19:33:39 2017	(r440359, copy of r440357, head/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_WebCore_platform_graphics_filters_arm_FEGaussianBlurNEON.cpp)
@@ -0,0 +1,11 @@
+--- src/3rdparty/webkit/Source/WebCore/platform/graphics/filters/arm/FEGaussianBlurNEON.cpp.orig	2017-01-10 15:46:28 UTC
++++ src/3rdparty/webkit/Source/WebCore/platform/graphics/filters/arm/FEGaussianBlurNEON.cpp
+@@ -285,7 +285,7 @@ TOSTRING(neonDrawAlphaChannelGaussianBlu
+     "vmov.u32 " REMAINING_STRIDES_R ", " REMAINING_STRIDES_S0 NL
+     // Early return for 0 strides.
+     "cmp " REMAINING_STRIDES_R ", #0" NL
+-    "ldmeqia sp!, {r4-r8, r10, r11, pc}" NL
++    "ldmiaeq sp!, {r4-r8, r10, r11, pc}" NL
+ 
+     // Initialize the sum variable.
+     "vmov.u32 " SUM_Q ", #0" NL

Copied: branches/2017Q2/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_WebCore_platform_graphics_filters_arm_FELightingNEON.cpp (from r440357, head/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_WebCore_platform_graphics_filters_arm_FELightingNEON.cpp)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2017Q2/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_WebCore_platform_graphics_filters_arm_FELightingNEON.cpp	Sun May  7 19:33:39 2017	(r440359, copy of r440357, head/www/qt4-webkit/files/patch-src_3rdparty_webkit_Source_WebCore_platform_graphics_filters_arm_FELightingNEON.cpp)
@@ -0,0 +1,11 @@
+--- src/3rdparty/webkit/Source/WebCore/platform/graphics/filters/arm/FELightingNEON.cpp.orig	2016-12-21 17:09:11 UTC
++++ src/3rdparty/webkit/Source/WebCore/platform/graphics/filters/arm/FELightingNEON.cpp
+@@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
+     "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
+     "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
+     "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
+-    "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
++    "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
+     // The color values are stored in-place.
+     "strb r2, [" PIXELS_R ", #-11]" NL
+     "strb r3, [" PIXELS_R ", #-10]" NL

Copied: branches/2017Q2/www/qt5-webkit/files/patch-Source_WTF_wtf_Platform.h (from r440357, head/www/qt5-webkit/files/patch-Source_WTF_wtf_Platform.h)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2017Q2/www/qt5-webkit/files/patch-Source_WTF_wtf_Platform.h	Sun May  7 19:33:39 2017	(r440359, copy of r440357, head/www/qt5-webkit/files/patch-Source_WTF_wtf_Platform.h)
@@ -0,0 +1,12 @@
+This patch reportedly fixes build for ARM. See PR 208569
+
+--- Source/WTF/wtf/Platform.h.orig	2016-04-10 06:48:36 UTC
++++ Source/WTF/wtf/Platform.h
+@@ -218,6 +218,7 @@
+ #elif defined(__ARM_ARCH_6__) \
+     || defined(__ARM_ARCH_6J__) \
+     || defined(__ARM_ARCH_6K__) \
++    || defined(__ARM_ARCH_6KZ__) \
+     || defined(__ARM_ARCH_6Z__) \
+     || defined(__ARM_ARCH_6ZK__) \
+     || defined(__ARM_ARCH_6T2__) \

Copied: branches/2017Q2/www/qt5-webkit/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp (from r440357, head/www/qt5-webkit/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2017Q2/www/qt5-webkit/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp	Sun May  7 19:33:39 2017	(r440359, copy of r440357, head/www/qt5-webkit/files/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp)
@@ -0,0 +1,11 @@
+--- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig	2016-04-10 06:48:37 UTC
++++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
+@@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
+     "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
+     "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
+     "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
+-    "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
++    "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
+     // The color values are stored in-place.
+     "strb r2, [" PIXELS_R ", #-11]" NL
+     "strb r3, [" PIXELS_R ", #-10]" NL



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705071933.v47JXdDs004623>