Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package chromium for openSUSE:Factory 
checked in at 2021-12-16 21:19:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/chromium (Old)
 and      /work/SRC/openSUSE:Factory/.chromium.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "chromium"

Thu Dec 16 21:19:34 2021 rev:311 rq:940698 version:96.0.4664.110

Changes:
--------
--- /work/SRC/openSUSE:Factory/chromium/chromium.changes        2021-11-27 
00:50:29.114975902 +0100
+++ /work/SRC/openSUSE:Factory/.chromium.new.2520/chromium.changes      
2021-12-16 21:20:41.794552844 +0100
@@ -1,0 +2,78 @@
+Wed Dec 15 10:54:35 UTC 2021 - Callum Farmer <gm...@opensuse.org>
+
+- Revert to gcc10 on TW: gcc11 is entirely broken
+- No auto thread LTO: linker crash on ARM
+
+-------------------------------------------------------------------
+Tue Dec 14 15:24:47 UTC 2021 - Andreas Stieger <andreas.stie...@gmx.de>
+
+- Chromium 96.0.4664.110 (boo#1193713):
+  * CVE-2021-4098: Insufficient data validation in Mojo
+  * CVE-2021-4099: Use after free in Swiftshader
+  * CVE-2021-4100: Object lifecycle issue in ANGLE
+  * CVE-2021-4101: Heap buffer overflow in Swiftshader
+  * CVE-2021-4102: Use after free in V8
+
+-------------------------------------------------------------------
+Thu Dec  9 09:49:23 UTC 2021 - Callum Farmer <gm...@opensuse.org>
+
+- Lord of the Browsers: The Two Compilers:
+  * Go back to GCC
+  * GCC: LTO removes needed assembly symbols
+  * Clang: issues with libstdc++
+- Chromium 96.0.4664.93 (boo#1193519):
+  * CVE-2021-4052: Use after free in web apps
+  * CVE-2021-4053: Use after free in UI
+  * CVE-2021-4079: Out of bounds write in WebRTC
+  * CVE-2021-4054: Incorrect security UI in autofill
+  * CVE-2021-4078: Type confusion in V8
+  * CVE-2021-4055: Heap buffer overflow in extensions
+  * CVE-2021-4056: Type Confusion in loader
+  * CVE-2021-4057: Use after free in file API
+  * CVE-2021-4058: Heap buffer overflow in ANGLE
+  * CVE-2021-4059: Insufficient data validation in loader
+  * CVE-2021-4061: Type Confusion in V8
+  * CVE-2021-4062: Heap buffer overflow in BFCache
+  * CVE-2021-4063: Use after free in developer tools
+  * CVE-2021-4064: Use after free in screen capture
+  * CVE-2021-4065: Use after free in autofill
+  * CVE-2021-4066: Integer underflow in ANGLE
+  * CVE-2021-4067: Use after free in window manager
+  * CVE-2021-4068: Insufficient validation of untrusted input in new tab page
+- Chromium 96.0.4664.45 (boo#1192734):
+  * CVE-2021-38007: Type Confusion in V8
+  * CVE-2021-38008: Use after free in media
+  * CVE-2021-38009: Inappropriate implementation in cache
+  * CVE-2021-38006: Use after free in storage foundation
+  * CVE-2021-38005: Use after free in loader
+  * CVE-2021-38010: Inappropriate implementation in service workers
+  * CVE-2021-38011: Use after free in storage foundation
+  * CVE-2021-38012: Type Confusion in V8
+  * CVE-2021-38013: Heap buffer overflow in fingerprint recognition
+  * CVE-2021-38014: Out of bounds write in Swiftshader
+  * CVE-2021-38015: Inappropriate implementation in input
+  * CVE-2021-38016: Insufficient policy enforcement in background fetch
+  * CVE-2021-38017: Insufficient policy enforcement in iframe sandbox
+  * CVE-2021-38018: Inappropriate implementation in navigation
+  * CVE-2021-38019: Insufficient policy enforcement in CORS
+  * CVE-2021-38020: Insufficient policy enforcement in contacts picker
+  * CVE-2021-38021: Inappropriate implementation in referrer
+  * CVE-2021-38022: Inappropriate implementation in WebAuthentication
+- Removed old patches:
+  * chromium-95-compiler.patch
+  * chromium-95-BitstreamReader-namespace.patch
+  * chromium-95-system-zlib.patch
+  * chromium-older-harfbuzz.patch
+  * pipewire-do-not-typecheck-the-portal-session_handle.patch
+- Removed build breaking patches:
+  * chromium-93-EnumTable-crash.patch
+- Added patches:
+  * chromium-96-compiler.patch
+  * chromium-96-CommandLine-include.patch
+  * chromium-96-RestrictedCookieManager-tuple.patch
+  * chromium-96-DrmRenderNodePathFinder-include.patch
+  * chromium-96-CouponDB-include.patch
+- Changed patches:
+  * gcc-enable-lto.patch: see above
+
+-------------------------------------------------------------------

Old:
----
  chromium-93-EnumTable-crash.patch
  chromium-95-BitstreamReader-namespace.patch
  chromium-95-compiler.patch
  chromium-95-system-zlib.patch
  chromium-95.0.4638.69.tar.xz
  chromium-older-harfbuzz.patch
  pipewire-do-not-typecheck-the-portal-session_handle.patch

New:
----
  chromium-96-CommandLine-include.patch
  chromium-96-CouponDB-include.patch
  chromium-96-DrmRenderNodePathFinder-include.patch
  chromium-96-RestrictedCookieManager-tuple.patch
  chromium-96-compiler.patch
  chromium-96.0.4664.110.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ chromium.spec ++++++
--- /var/tmp/diff_new_pack.JvfiN1/_old  2021-12-16 21:20:49.810555894 +0100
+++ /var/tmp/diff_new_pack.JvfiN1/_new  2021-12-16 21:20:49.810555894 +0100
@@ -20,34 +20,35 @@
 %define outputdir ${TMPOUT}
 # bsc#1108175
 %define __provides_exclude ^lib.*\\.so.*$
-%if 0%{?suse_version} > 1500
+%if 0%{?suse_version} >= 1550
 %bcond_without system_icu
 %bcond_with system_vpx
 %else
 %bcond_with system_icu
 %bcond_with system_vpx
 %endif
-%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200
+%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200
 %bcond_without pipewire
 %else
 %bcond_with pipewire
 %endif
 %bcond_without system_ffmpeg
+%bcond_without system_zlib
 %bcond_with system_freetype
 %ifarch %{arm} aarch64
 %bcond_with swiftshader
 %else
 %bcond_without swiftshader
 %endif
-%if 0%{?suse_version} > 1500
+%if 0%{?suse_version} >= 1550
 %bcond_without system_harfbuzz
 %else
 %bcond_with system_harfbuzz
 %endif
-%bcond_with lto
-%bcond_without clang
+%bcond_without lto
+%bcond_with clang
 Name:           chromium
-Version:        95.0.4638.69
+Version:        96.0.4664.110
 Release:        0
 Summary:        Google's open source browser project
 License:        BSD-3-Clause AND LGPL-2.1-or-later
@@ -80,14 +81,13 @@
 # gentoo/fedora/arch patchset
 Patch12:        chromium-78-protobuf-RepeatedPtrField-export.patch
 Patch13:        chromium-80-QuicStreamSendBuffer-deleted-move-constructor.patch
-Patch15:        chromium-95-compiler.patch
+Patch15:        chromium-96-compiler.patch
 Patch17:        chromium-86-ImageMemoryBarrierData-init.patch
 Patch18:        chromium-86-nearby-explicit.patch
 Patch19:        chromium-86-nearby-include.patch
 Patch20:        chromium-86-f_seal.patch
 Patch21:        chromium-gcc11.patch
 Patch25:        chromium-90-fseal.patch
-Patch29:        chromium-93-EnumTable-crash.patch
 Patch31:        chromium-89-missing-cstring-header.patch
 Patch40:        chromium-91-java-only-allowed-in-android-builds.patch
 Patch44:        chromium-95-libyuv-aarch64.patch
@@ -97,13 +97,13 @@
 Patch62:        chromium-93-ffmpeg-4.4.patch
 Patch63:        chromium-ffmpeg-lp152.patch
 Patch65:        chromium-94-sql-no-assert.patch
-Patch67:        chromium-older-harfbuzz.patch
 Patch68:        chromium-94-ffmpeg-roll.patch
 Patch69:        chromium-93-InkDropHost-crash.patch
-Patch70:        pipewire-do-not-typecheck-the-portal-session_handle.patch
-Patch71:        chromium-95-BitstreamReader-namespace.patch
 Patch72:        chromium-95-quiche-include.patch
-Patch73:        chromium-95-system-zlib.patch
+Patch73:        chromium-96-CommandLine-include.patch
+Patch74:        chromium-96-RestrictedCookieManager-tuple.patch
+Patch75:        chromium-96-DrmRenderNodePathFinder-include.patch
+Patch76:        chromium-96-CouponDB-include.patch
 # Google seem not too keen on merging this but GPU accel is quite important
 #  https://chromium-review.googlesource.com/c/chromium/src/+/532294
 #  
https://github.com/saiarcot895/chromium-ubuntu-build/tree/master/debian/patches
@@ -219,7 +219,6 @@
 BuildRequires:  pkgconfig(xshmfence)
 BuildRequires:  pkgconfig(xt)
 BuildRequires:  pkgconfig(xtst)
-BuildRequires:  pkgconfig(zlib)
 Requires:       xdg-utils
 Requires(pre):  permissions
 Recommends:     noto-coloremoji-fonts
@@ -259,6 +258,9 @@
 %if %{with system_freetype}
 BuildRequires:  pkgconfig(freetype2)
 %endif
+%if %{with system_zlib}
+BuildRequires:  pkgconfig(zlib)
+%endif
 %if %{with clang}
 %if %{?suse_version} < 1550
 BuildRequires:  clang12
@@ -274,13 +276,13 @@
 %endif
 %if %{without clang}
 BuildRequires:  binutils-gold
-%if %{?suse_version} > 1500
-BuildRequires:  gcc >= 10
-BuildRequires:  gcc-c++ >= 10
-%else
+#%if %{?suse_version} >= 1550
+#BuildRequires:  gcc
+#BuildRequires:  gcc-c++
+#%else
 BuildRequires:  gcc10
 BuildRequires:  gcc10-c++
-%endif
+#%endif
 %endif
 
 %description
@@ -398,6 +400,7 @@
     third_party/devtools-frontend/src/front_end/third_party/wasmparser
     third_party/devtools-frontend/src/third_party
     third_party/devtools-frontend/src/test/unittests/front_end/third_party/i18n
+    third_party/distributed_point_functions
     third_party/dom_distiller_js
     third_party/eigen3
     third_party/emoji-segmenter
@@ -511,7 +514,6 @@
     third_party/tflite
     third_party/tflite/src/third_party/eigen3
     third_party/tflite/src/third_party/fft2d
-    third_party/tflite-support
     third_party/ukey2
     third_party/usrsctp
     third_party/utf
@@ -558,6 +560,9 @@
 %if !%{with system_ffmpeg}
 keeplibs+=( third_party/ffmpeg )
 %endif
+%if !%{with system_zlib}
+keeplibs+=( third_party/zlib )
+%endif
 %if !%{with system_vpx}
 keeplibs+=(
     third_party/libvpx
@@ -577,23 +582,21 @@
 %if %{with clang}
 export CC=clang
 export CXX=clang++
-export AR=llvm-ar
-export NM=llvm-nm
 %else
-export AR=ar
-export NM=nm
-%if 0%{?suse_version} <= 1500
+#%if 0%{?suse_version} <= 1500
 export CC=gcc-10
 export CXX=g++-10
 # some still call gcc/g++
 ln -sfn %{_bindir}/$CC $HOME/bin/gcc
 ln -sfn %{_bindir}/$CXX $HOME/bin/g++
 export PATH="$HOME/bin/:$PATH"
-%else
-export CC=gcc
-export CXX=g++
-%endif
+#%else
+#export CC=gcc
+#export CXX=g++
+#%endif
 %endif
+export AR=ar
+export NM=nm
 # REDUCE DEBUG as it gets TOO large
 ARCH_FLAGS="`echo %{optflags} | sed -e 's/^-g / /g' -e 's/ -g / /g' -e 's/ 
-g$//g'`"
 export CXXFLAGS="${ARCH_FLAGS} -Wno-return-type"

++++++ chromium-89-missing-cstring-header.patch ++++++
--- /var/tmp/diff_new_pack.JvfiN1/_old  2021-12-16 21:20:49.882555922 +0100
+++ /var/tmp/diff_new_pack.JvfiN1/_new  2021-12-16 21:20:49.886555923 +0100
@@ -1,6 +1,7 @@
-diff -up 
chromium-89.0.4389.72/third_party/webrtc/audio/utility/channel_mixer.cc.missing-cstring
 chromium-89.0.4389.72/third_party/webrtc/audio/utility/channel_mixer.cc
---- 
chromium-89.0.4389.72/third_party/webrtc/audio/utility/channel_mixer.cc.missing-cstring
    2021-03-02 12:48:16.000000000 -0500
-+++ chromium-89.0.4389.72/third_party/webrtc/audio/utility/channel_mixer.cc    
2021-03-04 13:31:42.894817353 -0500
+Index: chromium-96.0.4664.45/third_party/webrtc/audio/utility/channel_mixer.cc
+===================================================================
+--- 
chromium-96.0.4664.45.orig/third_party/webrtc/audio/utility/channel_mixer.cc
++++ chromium-96.0.4664.45/third_party/webrtc/audio/utility/channel_mixer.cc
 @@ -8,6 +8,8 @@
   *  be found in the AUTHORS file in the root of the source tree.
   */
@@ -10,20 +11,22 @@
  #include "audio/utility/channel_mixer.h"
  
  #include "audio/utility/channel_mixing_matrix.h"
-diff -up 
chromium-89.0.4389.72/third_party/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc.missing-cstring
 
chromium-89.0.4389.72/third_party/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc
---- 
chromium-89.0.4389.72/third_party/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc.missing-cstring
   2021-03-04 13:31:42.895817359 -0500
-+++ 
chromium-89.0.4389.72/third_party/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc
   2021-03-04 13:45:27.795162431 -0500
-@@ -23,6 +23,7 @@
- #include <sys/mman.h>
+Index: 
chromium-96.0.4664.45/third_party/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc
+===================================================================
+--- 
chromium-96.0.4664.45.orig/third_party/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc
++++ 
chromium-96.0.4664.45/third_party/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc
+@@ -19,6 +19,7 @@
  #include <sys/syscall.h>
+ #include <unistd.h>
  
 +#include <cstring>
  #include <memory>
+ #include <string>
  #include <utility>
- 
-diff -up 
chromium-89.0.4389.72/third_party/webrtc/modules/video_coding/utility/ivf_file_reader.cc.missing-cstring
 
chromium-89.0.4389.72/third_party/webrtc/modules/video_coding/utility/ivf_file_reader.cc
---- 
chromium-89.0.4389.72/third_party/webrtc/modules/video_coding/utility/ivf_file_reader.cc.missing-cstring
   2021-03-02 12:48:17.000000000 -0500
-+++ 
chromium-89.0.4389.72/third_party/webrtc/modules/video_coding/utility/ivf_file_reader.cc
   2021-03-04 13:31:42.895817359 -0500
+Index: 
chromium-96.0.4664.45/third_party/webrtc/modules/video_coding/utility/ivf_file_reader.cc
+===================================================================
+--- 
chromium-96.0.4664.45.orig/third_party/webrtc/modules/video_coding/utility/ivf_file_reader.cc
++++ 
chromium-96.0.4664.45/third_party/webrtc/modules/video_coding/utility/ivf_file_reader.cc
 @@ -10,6 +10,7 @@
  
  #include "modules/video_coding/utility/ivf_file_reader.h"

++++++ chromium-95-quiche-include.patch ++++++
--- /var/tmp/diff_new_pack.JvfiN1/_old  2021-12-16 21:20:49.910555932 +0100
+++ /var/tmp/diff_new_pack.JvfiN1/_new  2021-12-16 21:20:49.914555934 +0100
@@ -7,20 +7,17 @@
  net/third_party/quiche/src/http2/adapter/window_manager.h | 2 ++
  1 file changed, 2 insertions(+)
 
-diff --git a/net/third_party/quiche/src/http2/adapter/window_manager.h 
b/net/third_party/quiche/src/http2/adapter/window_manager.h
-index f15982d..5a7701e 100644
---- a/net/third_party/quiche/src/http2/adapter/window_manager.h
-+++ b/net/third_party/quiche/src/http2/adapter/window_manager.h
-@@ -1,6 +1,8 @@
- #ifndef QUICHE_HTTP2_ADAPTER_WINDOW_MANAGER_H_
- #define QUICHE_HTTP2_ADAPTER_WINDOW_MANAGER_H_
+Index: 
chromium-96.0.4664.45/net/third_party/quiche/src/http2/adapter/window_manager.h
+===================================================================
+--- 
chromium-96.0.4664.45.orig/net/third_party/quiche/src/http2/adapter/window_manager.h
++++ 
chromium-96.0.4664.45/net/third_party/quiche/src/http2/adapter/window_manager.h
+@@ -3,6 +3,8 @@
+ 
+ #include <stddef.h>
  
 +#include <stddef.h>
 +
  #include <functional>
  
  #include "common/platform/api/quiche_export.h"
--- 
-2.32.0
-
 

++++++ chromium-96-CommandLine-include.patch ++++++
>From 39e6e77798d86033e5eb1fb2a2caf20a5bca2262 Mon Sep 17 00:00:00 2001
From: Stephan Hartmann <sth...@googlemail.com>
Date: Sat, 9 Oct 2021 08:27:04 +0000
Subject: [PATCH] IWYU: add memory for std::unique_ptr in base::CommandLine

---
 base/command_line.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/base/command_line.h b/base/command_line.h
index 706726a..ad02812 100644
--- a/base/command_line.h
+++ b/base/command_line.h
@@ -19,6 +19,7 @@
 #include <stddef.h>
 #include <functional>
 #include <map>
+#include <memory>
 #include <string>
 #include <vector>
 
-- 
2.32.0


++++++ chromium-96-CouponDB-include.patch ++++++
>From 3a7b8dd0fcceffcfd0ea7e3186d2850deed7a00b Mon Sep 17 00:00:00 2001
From: Stephan Hartmann <sth...@googlemail.com>
Date: Wed, 6 Oct 2021 15:36:47 +0000
Subject: [PATCH] IWYU: add vector for std::vector in CouponDB

---
 chrome/browser/commerce/coupons/coupon_db.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/chrome/browser/commerce/coupons/coupon_db.h 
b/chrome/browser/commerce/coupons/coupon_db.h
index f0758f4..93e2dd3 100644
--- a/chrome/browser/commerce/coupons/coupon_db.h
+++ b/chrome/browser/commerce/coupons/coupon_db.h
@@ -5,6 +5,8 @@
 #ifndef CHROME_BROWSER_COMMERCE_COUPONS_COUPON_DB_H_
 #define CHROME_BROWSER_COMMERCE_COUPONS_COUPON_DB_H_
 
+#include <vector>
+
 #include "base/callback_helpers.h"
 #include "base/memory/weak_ptr.h"
 #include "url/gurl.h"
-- 
2.32.0


++++++ chromium-96-DrmRenderNodePathFinder-include.patch ++++++
>From 9e36b3c28935fb50d43ccef443be786a8e3f8a5f Mon Sep 17 00:00:00 2001
From: Stephan Hartmann <sth...@googlemail.com>
Date: Sat, 9 Oct 2021 16:17:34 +0000
Subject: [PATCH] IWYU: add string.h for memcmp in ui:: DrmRenderNodePathFinder

---
 ui/ozone/platform/wayland/gpu/drm_render_node_path_finder.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/ozone/platform/wayland/gpu/drm_render_node_path_finder.cc 
b/ui/ozone/platform/wayland/gpu/drm_render_node_path_finder.cc
index 06776a7..d5b7b71 100644
--- a/ui/ozone/platform/wayland/gpu/drm_render_node_path_finder.cc
+++ b/ui/ozone/platform/wayland/gpu/drm_render_node_path_finder.cc
@@ -5,6 +5,7 @@
 #include "ui/ozone/platform/wayland/gpu/drm_render_node_path_finder.h"
 
 #include <fcntl.h>
+#include <string.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
-- 
2.32.0


++++++ chromium-96-RestrictedCookieManager-tuple.patch ++++++
>From 86b1886673c3e75d3a7b8c802b3e9fa6ea945a1e Mon Sep 17 00:00:00 2001
From: Jose Dapena Paz <jdap...@igalia.com>
Date: Fri, 08 Oct 2021 06:32:55 +0000
Subject: [PATCH] libstdc++: no implicit conversion from tuple created with 
std::tie to an std::pair in restricted cookie manager.

Fix compilation error:
    ../../services/network/restricted_cookie_manager.cc:164:30: error: no match 
for ???operator[]??? (operand types are 
???network::CookieAccessesByURLAndSite??? {aka ???std::map<std::pair<GURL, 
net::SiteForCookies>, std::unique_ptr<std::set<net::CookieWithAccessResult, 
network::CookieWithAccessResultComparer> > >???} and ???std::tuple<const GURL&, 
const net::SiteForCookies&>???)

There is no conversion from tuple to pair.

Bug: 957519
Change-Id: Idf29c7b21895ae28f45b35d6193ab4ac555945c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3211752
Reviewed-by: Robbie McElrath <rmcelr...@chromium.org>
Commit-Queue: Jos?? Dapena Paz <jdap...@igalia.com>
Cr-Commit-Position: refs/heads/main@{#929597}
---

diff --git a/services/network/restricted_cookie_manager.cc 
b/services/network/restricted_cookie_manager.cc
index 425426f..c8c10c6 100644
--- a/services/network/restricted_cookie_manager.cc
+++ b/services/network/restricted_cookie_manager.cc
@@ -161,7 +161,7 @@
     const GURL& url,
     const net::SiteForCookies& site_for_cookies) {
   std::unique_ptr<CookieAccesses>& entry =
-      recent_cookie_accesses_[std::tie(url, site_for_cookies)];
+      recent_cookie_accesses_[std::make_pair(url, site_for_cookies)];
   if (!entry) {
     entry = std::make_unique<CookieAccesses>();
   }

++++++ chromium-95-compiler.patch -> chromium-96-compiler.patch ++++++
--- /work/SRC/openSUSE:Factory/chromium/chromium-95-compiler.patch      
2021-10-30 23:13:13.499030767 +0200
+++ /work/SRC/openSUSE:Factory/.chromium.new.2520/chromium-96-compiler.patch    
2021-12-16 21:20:30.490548543 +0100
@@ -1,14 +1,14 @@
 From f4d0b0eb899005b4b8b6388e1d8bb82cc0018fc8 Mon Sep 17 00:00:00 2001
 From: Mike Gilbert <flop...@gentoo.org>
-Date: Sat, 4 Sep 2021 15:13:20 +0000
+Date: Fri, 1 Oct 2021 12:17:48 +0000
 Subject: [PATCH] Disable various compiler configs
 
 ---
- build/config/compiler/BUILD.gn | 105 ++++++---------------------------
- 1 file changed, 17 insertions(+), 88 deletions(-)
+ build/config/compiler/BUILD.gn | 98 ++++++----------------------------
+ 1 file changed, 17 insertions(+), 81 deletions(-)
 
 diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
-index 219a2be..7565c83 100644
+index 673716f..3ff820e 100644
 --- a/build/config/compiler/BUILD.gn
 +++ b/build/config/compiler/BUILD.gn
 @@ -292,8 +292,6 @@ config("compiler") {
@@ -20,7 +20,7 @@
      ":compiler_codegen",
      ":compiler_deterministic",
    ]
-@@ -531,31 +529,6 @@ config("compiler") {
+@@ -532,24 +530,6 @@ config("compiler") {
      ldflags += [ "-Wl,-z,keep-text-section-prefix" ]
    }
  
@@ -40,19 +40,12 @@
 -        ldflags += [ "-Wl,-mllvm,-instcombine-lower-dbg-declare=0" ]
 -      }
 -    }
--
--    # TODO(crbug.com/1235145): Investigate why/if this should be needed.
--    if (is_win) {
--      cflags += [ "/clang:-ffp-contract=off" ]
--    } else {
--      cflags += [ "-ffp-contract=off" ]
--    }
 -  }
 -
    # C11/C++11 compiler flags setup.
    # ---------------------------
    if (is_linux || is_chromeos || is_android || (is_nacl && is_clang) ||
-@@ -1246,45 +1219,6 @@ config("compiler_deterministic") {
+@@ -1240,45 +1220,6 @@ config("compiler_deterministic") {
      }
    }
  
@@ -98,7 +91,7 @@
    # Tells the compiler not to use absolute paths when passing the default
    # paths to the tools it invokes. We don't want this because we don't
    # really need it and it can mess up the goma cache entries.
-@@ -1704,7 +1638,7 @@ config("chromium_code") {
+@@ -1698,7 +1639,7 @@ config("chromium_code") {
        defines = [ "_HAS_NODISCARD" ]
      }
    } else {
@@ -107,7 +100,7 @@
      if (treat_warnings_as_errors) {
        cflags += [ "-Werror" ]
  
-@@ -1713,10 +1647,6 @@ config("chromium_code") {
+@@ -1707,10 +1648,6 @@ config("chromium_code") {
        # well.
        ldflags = [ "-Werror" ]
      }
@@ -118,7 +111,7 @@
  
      # In Chromium code, we define __STDC_foo_MACROS in order to get the
      # C99 macros on Mac and Linux.
-@@ -1725,15 +1655,6 @@ config("chromium_code") {
+@@ -1719,15 +1656,6 @@ config("chromium_code") {
        "__STDC_FORMAT_MACROS",
      ]
  
@@ -134,7 +127,7 @@
      if (is_mac) {
        cflags_objc = [ "-Wobjc-missing-property-synthesis" ]
        cflags_objcc = [ "-Wobjc-missing-property-synthesis" ]
-@@ -2101,7 +2022,8 @@ config("default_stack_frames") {
+@@ -2095,7 +2023,8 @@ config("default_stack_frames") {
  }
  
  # Default "optimization on" config.
@@ -144,7 +137,7 @@
    if (is_win) {
      if (chrome_pgo_phase != 2) {
        # Favor size over speed, /O1 must be before the common flags.
-@@ -2141,7 +2063,8 @@ config("optimize") {
+@@ -2135,7 +2064,8 @@ config("optimize") {
  }
  
  # Turn off optimizations.
@@ -154,7 +147,7 @@
    if (is_win) {
      cflags = [
        "/Od",  # Disable optimization.
-@@ -2181,7 +2104,8 @@ config("no_optimize") {
+@@ -2175,7 +2105,8 @@ config("no_optimize") {
  # Turns up the optimization level. On Windows, this implies whole program
  # optimization and link-time code generation which is very expensive and 
should
  # be used sparingly.
@@ -164,7 +157,7 @@
    if (is_nacl && is_nacl_irt) {
      # The NaCl IRT is a special case and always wants its own config.
      # Various components do:
-@@ -2214,7 +2138,8 @@ config("optimize_max") {
+@@ -2208,7 +2139,8 @@ config("optimize_max") {
  #
  # TODO(crbug.com/621335) - rework how all of these configs are related
  # so that we don't need this disclaimer.
@@ -174,7 +167,7 @@
    if (is_nacl && is_nacl_irt) {
      # The NaCl IRT is a special case and always wants its own config.
      # Various components do:
-@@ -2240,7 +2165,8 @@ config("optimize_speed") {
+@@ -2234,7 +2166,8 @@ config("optimize_speed") {
    }
  }
  
@@ -184,7 +177,7 @@
    cflags = [ "-O1" ] + common_optimize_on_cflags
    rustflags = [ "-Copt-level=1" ]
    ldflags = common_optimize_on_ldflags
-@@ -2360,7 +2286,8 @@ config("win_pdbaltpath") {
+@@ -2354,7 +2287,8 @@ config("win_pdbaltpath") {
  }
  
  # Full symbols.
@@ -194,7 +187,7 @@
    if (is_win) {
      if (is_clang) {
        cflags = [ "/Z7" ]  # Debug information in the .obj files.
-@@ -2474,7 +2401,8 @@ config("symbols") {
+@@ -2468,7 +2402,8 @@ config("symbols") {
  # Minimal symbols.
  # This config guarantees to hold symbol for stack trace which are shown to 
user
  # when crash happens in unittests running on buildbot.
@@ -204,7 +197,7 @@
    if (is_win) {
      # Functions, files, and line tables only.
      cflags = []
-@@ -2546,7 +2474,8 @@ config("minimal_symbols") {
+@@ -2540,7 +2475,8 @@ config("minimal_symbols") {
  # This configuration contains function names only. That is, the compiler is
  # told to not generate debug information and the linker then just puts 
function
  # names in the final debug information.

++++++ chromium-95.0.4638.69.tar.xz -> chromium-96.0.4664.110.tar.xz ++++++
/work/SRC/openSUSE:Factory/chromium/chromium-95.0.4638.69.tar.xz 
/work/SRC/openSUSE:Factory/.chromium.new.2520/chromium-96.0.4664.110.tar.xz 
differ: char 25, line 1


++++++ gcc-enable-lto.patch ++++++
--- /var/tmp/diff_new_pack.JvfiN1/_old  2021-12-16 21:20:50.042555982 +0100
+++ /var/tmp/diff_new_pack.JvfiN1/_new  2021-12-16 21:20:50.046555984 +0100
@@ -53,4 +53,19 @@
  
    if (is_android) {
      sources += [
+Index: chromium-96.0.4664.93/base/BUILD.gn
+===================================================================     
+--- a/base/BUILD.gn
++++ b/base/BUILD.gn
+@@ -1986,6 +1986,10 @@
+         ]
+       }
+
++      if (gcc_lto) {
++        configs -= [ "//build/config/compiler:gcc_lto" ]
++      }
++
+       if (current_cpu == "x64") {
+         defines += [ "PA_PCSCAN_STACK_SUPPORTED" ]
+         sources += [ 
"allocator/partition_allocator/starscan/stack/asm/x64/push_registers_asm.cc" ]
 

Reply via email to