Hello community, here is the log from the commit of package libqt5-qtwebkit for openSUSE:Factory checked in at 2017-07-08 12:25:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libqt5-qtwebkit (Old) and /work/SRC/openSUSE:Factory/.libqt5-qtwebkit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqt5-qtwebkit" Sat Jul 8 12:25:24 2017 rev:43 rq:508390 version:5.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libqt5-qtwebkit/libqt5-qtwebkit.changes 2017-06-13 16:05:50.321843211 +0200 +++ /work/SRC/openSUSE:Factory/.libqt5-qtwebkit.new/libqt5-qtwebkit.changes 2017-07-08 12:25:26.526262132 +0200 @@ -1,0 +2,7 @@ +Wed Jul 5 17:11:50 UTC 2017 - fab...@ritter-vogt.de + +- Add patch to workaround crash if compiled with GCC7: + * workaround-gcc7-crash.patch +- Set minimum amount of RAM in _constraints to 8 GiB + +------------------------------------------------------------------- New: ---- workaround-gcc7-crash.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqt5-qtwebkit.spec ++++++ --- /var/tmp/diff_new_pack.fPKROf/_old 2017-07-08 12:25:27.958060161 +0200 +++ /var/tmp/diff_new_pack.fPKROf/_new 2017-07-08 12:25:27.958060161 +0200 @@ -47,6 +47,8 @@ Patch5: 05-fix-linker-errors.diff # PATCH-FIX-UPSTREAM fix-build-icu59.patch Patch6: fix-build-icu59.patch +# PATCH-FIX-UPSTREAM workaround-gcc7-crash.patch +Patch7: workaround-gcc7-crash.patch # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch130: no-Werror-rpath.diff @@ -125,6 +127,7 @@ %patch4 -Rp1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 %patch130 -p1 %package -n %libname ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.fPKROf/_old 2017-07-08 12:25:28.010052827 +0200 +++ /var/tmp/diff_new_pack.fPKROf/_new 2017-07-08 12:25:28.014052263 +0200 @@ -1,7 +1,7 @@ <constraints> <hardware> <memory> - <size unit="G">4</size> + <size unit="G">8</size> </memory> <processors>4</processors> </hardware> ++++++ workaround-gcc7-crash.patch ++++++ From: Fabian Vogt <fab...@ritter-vogt.de> Subject: Workaround crash in WTF::StringImpl::copyChars with GCC7 Undefined behaviour, see also https://github.com/annulen/webkit/issues/562 and https://bugs.webkit.org/show_bug.cgi?id=173407 Index: qtwebkit-opensource-src-5.9.0/Source/WTF/wtf/text/StringImpl.h =================================================================== --- qtwebkit-opensource-src-5.9.0.orig/Source/WTF/wtf/text/StringImpl.h +++ qtwebkit-opensource-src-5.9.0/Source/WTF/wtf/text/StringImpl.h @@ -630,24 +630,7 @@ public: return; } - if (numCharacters <= s_copyCharsInlineCutOff) { - unsigned i = 0; -#if (CPU(X86) || CPU(X86_64)) - const unsigned charsPerInt = sizeof(uint32_t) / sizeof(T); - - if (numCharacters > charsPerInt) { - unsigned stopCount = numCharacters & ~(charsPerInt - 1); - - const uint32_t* srcCharacters = reinterpret_cast<const uint32_t*>(source); - uint32_t* destCharacters = reinterpret_cast<uint32_t*>(destination); - for (unsigned j = 0; i < stopCount; i += charsPerInt, ++j) - destCharacters[j] = srcCharacters[j]; - } -#endif - for (; i < numCharacters; ++i) - destination[i] = source[i]; - } else - memcpy(destination, source, numCharacters * sizeof(T)); + memcpy(destination, source, numCharacters * sizeof(T)); } ALWAYS_INLINE static void copyChars(UChar* destination, const LChar* source, unsigned numCharacters)