Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ovmf for openSUSE:Factory checked in at 2022-07-18 18:32:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ovmf (Old) and /work/SRC/openSUSE:Factory/.ovmf.new.1523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ovmf" Mon Jul 18 18:32:57 2022 rev:77 rq:989186 version:202202 Changes: -------- --- /work/SRC/openSUSE:Factory/ovmf/ovmf.changes 2022-05-04 15:17:42.056652082 +0200 +++ /work/SRC/openSUSE:Factory/.ovmf.new.1523/ovmf.changes 2022-07-18 18:33:04.329683647 +0200 @@ -1,0 +2,6 @@ +Tue Jun 21 07:46:23 UTC 2022 - Jiri Slaby <jsl...@suse.cz> + +- add ovmf-tools_def-add-fno-omit-frame-pointer-to-GCC48_-IA32-.patch. + It fixes crashes when linked using gcc 12 (bsc#1199597). + +------------------------------------------------------------------- New: ---- ovmf-tools_def-add-fno-omit-frame-pointer-to-GCC48_-IA32-.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ovmf.spec ++++++ --- /var/tmp/diff_new_pack.s97Sy8/_old 2022-07-18 18:33:05.221684916 +0200 +++ /var/tmp/diff_new_pack.s97Sy8/_new 2022-07-18 18:33:05.225684922 +0200 @@ -1,7 +1,7 @@ # # spec file for package ovmf # -# Copyright (c) 2022 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # # needssslcertforbuild @@ -27,7 +27,7 @@ Summary: Open Virtual Machine Firmware License: BSD-2-Clause-Patent Group: System/Emulators/PC -Url: https://github.com/tianocore/edk2 +URL: https://github.com/tianocore/edk2 Source0: edk2-edk2-stable%{version}.tar.gz Source1: https://www.openssl.org/source/openssl-%{openssl_version}.tar.gz Source111: https://www.openssl.org/source/openssl-%{openssl_version}.tar.gz.asc @@ -53,6 +53,7 @@ Patch6: %{name}-disable-brotli.patch Patch7: %{name}-bsc1196879-sev-fix.patch Patch8: %{name}-ignore-spurious-GCC-12-warning.patch +Patch9: %{name}-tools_def-add-fno-omit-frame-pointer-to-GCC48_-IA32-.patch BuildRequires: bc BuildRequires: cross-arm-binutils BuildRequires: cross-arm-gcc%{gcc_version} @@ -170,6 +171,7 @@ %patch6 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 # add openssl pushd CryptoPkg/Library/OpensslLib/openssl ++++++ ovmf-tools_def-add-fno-omit-frame-pointer-to-GCC48_-IA32-.patch ++++++ From: Gerd Hoffmann <kra...@redhat.com> Date: Fri, 10 Jun 2022 07:43:15 +0200 Subject: tools_def: add -fno-omit-frame-pointer to GCC48_{IA32,X64}_CC_FLAGS Git-repo: https://github.com/kraxel/edk2.git#gcc12 Git-commit: 67dd4604a04320504a565ede4053268f319b3578 Patch-mainline: https://github.com/tianocore/edk2/pull/2955 References: bsc#1199597 Fixes problems due to code assuming it runs with frame pointers and thus updates rbp / ebp registers when switching stacks. Signed-off-by: Gerd Hoffmann <kra...@redhat.com> Signed-off-by: Jiri Slaby <jsl...@suse.cz> --- BaseTools/Conf/tools_def.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -1903,8 +1903,8 @@ DEFINE GCC_DEPS_FLAGS = -MM DEFINE GCC48_ALL_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -ffunction-sections -fdata-sections -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings DEFINE GCC48_IA32_X64_DLINK_COMMON = -nostdlib -Wl,-n,-q,--gc-sections -z common-page-size=0x20 -DEFINE GCC48_IA32_CC_FLAGS = DEF(GCC48_ALL_CC_FLAGS) -m32 -march=i586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-unwind-tables -Wno-address -fno-pic -fno-pie -DEFINE GCC48_X64_CC_FLAGS = DEF(GCC48_ALL_CC_FLAGS) -m64 -fno-stack-protector "-DEFIAPI=__attribute__((ms_abi))" -maccumulate-outgoing-args -mno-red-zone -Wno-address -mcmodel=small -fpie -fno-asynchronous-unwind-tables -Wno-address +DEFINE GCC48_IA32_CC_FLAGS = DEF(GCC48_ALL_CC_FLAGS) -m32 -march=i586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-unwind-tables -Wno-address -fno-pic -fno-pie -fno-omit-frame-pointer +DEFINE GCC48_X64_CC_FLAGS = DEF(GCC48_ALL_CC_FLAGS) -m64 -fno-stack-protector "-DEFIAPI=__attribute__((ms_abi))" -maccumulate-outgoing-args -mno-red-zone -Wno-address -mcmodel=small -fpie -fno-asynchronous-unwind-tables -Wno-address -fno-omit-frame-pointer DEFINE GCC48_IA32_X64_ASLDLINK_FLAGS = DEF(GCC48_IA32_X64_DLINK_COMMON) -Wl,--entry,ReferenceAcpiTable -u ReferenceAcpiTable DEFINE GCC48_IA32_X64_DLINK_FLAGS = DEF(GCC48_IA32_X64_DLINK_COMMON) -Wl,--entry,$(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Wl,-Map,$(DEST_DIR_DEBUG)/$(BASE_NAME).map,--whole-archive DEFINE GCC48_IA32_DLINK2_FLAGS = -Wl,--defsym=PECOFF_HEADER_SIZE=0x220 DEF(GCC_DLINK2_FLAGS_COMMON)