commit gnu-efi for openSUSE:Factory
Hello community, here is the log from the commit of package gnu-efi for openSUSE:Factory checked in at 2017-06-23 09:16:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnu-efi (Old) and /work/SRC/openSUSE:Factory/.gnu-efi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gnu-efi" Fri Jun 23 09:16:37 2017 rev:26 rq:504045 version:3.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/gnu-efi/gnu-efi.changes 2016-03-07 13:26:13.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gnu-efi.new/gnu-efi.changes 2017-06-23 09:16:39.132954543 +0200 @@ -1,0 +2,49 @@ +Tue Jun 13 08:49:16 UTC 2017 - glin@suse.com + +- Add gnu-efi-fix-efi-pxe-base-code.patch to fix the declaration + of EFI_PXE_BASE_CODE + +------------------------------------------------------------------- +Fri Jun 2 01:55:41 UTC 2017 - glin@suse.com + +- Update to gnu-efi 3.0.5 + + Allow gcc to emit warnings for unsafe usage of setjmp/longjmp + + GCC 4.8 (and others) const warnings + + GNU ar warning about deterministic mode + + Add Debugger protocol support + + Add EBC (EFI Byte Code) protocol support + + Add support for PCI Root Bridge I/O protocol + + Add support for some UEFI 2.0 protocols + + Add GUID for SMBIOS 3 entry point structure + + adds definitions to efiprot.h for EFI_EDID_ACTIVE_PROTOCOL, + EFI_EDID_DISCOVERED_PROTOCOL, EFI_EDID_OVERRIDE_PROTOCOL + + Protocol struct/type/define renaming to match spec naming + convention + + Add support for EFI_RNG_PROTOCOL to the library + + Moved LOADED_IMAGE_PROTOCOL definitions into efiprot.h with + other protocol definitions + + Added definitions for EFI HASH PROTOCOL + + Add definitions for EFI_COMPONENT_NAME_PROTOCOL and + EFI_COMPONENT_NAME2_PROTOCOL + + Global GUID for DRIVER_BINDING_PROTOCOL + + Add definitions for EFI_DRIVER_BINDING_PROTOCOL + + make "-Wall -Wextra" work + + make "-Werror=old-style-declaration" work + + Don't pass a pointer-to-(LoadedImage *) as a void ** + + make "-Werror=unused-but-set-variable" work + + make "-Werror=unused-parameter" not fail + + arm: fix linker script for building efi binaries + + ARM/AARCH64: define C99 types explicitly when building against + older standard + + Add ARM .note.gnu.build-id input section to a dedicated output + section + + Replace ARM arithmetic support routines with EDK2 versions + + Relicense ARM and AARCH64 source files as both BSD and GPL + + lib/arm/setjmp.S: Use %function instead of @function + + Add the missing URI device path to the unions +- Add gnu-efi-fix-switch-warning.patch to fix gcc7 warning +- Add gnu-efi-ar-stable-order.patch to keep the object files in a + stable order (bsc#978586) +- Drop upstreamed patch gnu-efi-add-missing-unions.patch + +------------------------------------------------------------------- Old: ---- gnu-efi-3.0.3.tar.bz2 gnu-efi-add-missing-unions.patch New: ---- gnu-efi-3.0.5.tar.bz2 gnu-efi-ar-stable-order.patch gnu-efi-fix-efi-pxe-base-code.patch gnu-efi-fix-switch-warning.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnu-efi.spec ++++++ --- /var/tmp/diff_new_pack.bkDhql/_old 2017-06-23 09:16:40.804718325 +0200 +++ /var/tmp/diff_new_pack.bkDhql/_new 2017-06-23 09:16:40.808717759 +0200 @@ -1,7 +1,7 @@ # # spec file for package gnu-efi # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: gnu-efi -Version: 3.0.3 +Version: 3.0.5 Release: 0 Summary: Library for EFI Applications License: BSD-3-Clause and GPL-2.0+ @@ -25,7 +25,9 @@ Url: http://sourceforge.net/projects/gnu-efi Source: http://sourceforge.net/projects/gnu-efi/files/gnu-efi-%{version}.tar.bz2 Source1: %{name}-rpmlintrc -Patch1: gnu-efi-add-missing-unions.patch +Patch1: gnu-efi-fix-switch-warning.patch +Patch2: gnu-efi-ar-stable-order.patch +Patch3: gnu-efi-fix-efi-pxe-base-code.patch BuildRequires: kernel-source BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: ia64 %ix86 x86_64 aarch64 %arm @@ -38,6 +40,8 @@ %prep %setup -q %patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build ########################## ++++++ gnu-efi-3.0.3.tar.bz2 -> gnu-efi-3.0.5.tar.bz2 ++++++ ++++ 8486 lines of diff (skipped) ++++++ gnu-efi-ar-stable-order.patch ++++++
From 61859152d807ff7f6afabc0bb6072399e6396f8a Mon Sep 17 00:00:00 2001 From: Nigel Croxon <ncroxon@redhat.com> Date: Thu, 1 Jun 2017 07:47:37 -0400 Subject: [PATCH] This commit inserts the libefi.a objects in a stable order.
When building libefi.a with "make -jN", the object files in libefi.a will be inserted in a random order. Although it won't hurt the functionality, it could make the EFI image irreproducible and invalidate the detached signature after rebuilding libefi.a without any change in the source code. Signed-off-by: Gary Lin <glin@suse.com> Signed-off-by: Nigel Croxon <ncroxon@redhat.com> --- lib/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index a687495..b8d1ce7 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -74,7 +74,8 @@ all: libsubdirs libefi.a libsubdirs: for sdir in $(SUBDIRS); do mkdir -p $$sdir; done -libefi.a: $(patsubst %,libefi.a(%),$(OBJS)) +libefi.a: $(OBJS) + $(AR) rv -U $@ $^ clean: rm -f libefi.a *~ $(OBJS) */*.o -- 2.13.0 ++++++ gnu-efi-fix-efi-pxe-base-code.patch ++++++
From 97fe9c9eddb753c4e44accc0656822ff6a60bcb9 Mon Sep 17 00:00:00 2001 From: Gary Lin <glin@suse.com> Date: Tue, 13 Jun 2017 16:39:17 +0800 Subject: [PATCH] Fix EFI_PXE_BASE_CODE declaration
From 8d8a3b5dfff1b7ee09673ffb6be764f29ede9d60 Mon Sep 17 00:00:00 2001 From: Nigel Croxon <ncroxon@redhat.com> Date: Wed, 31 May 2017 06:53:49 -0400 Subject: [PATCH] Add the fallthrough attribute to notify gcc7 that it's on
Declare EFI_PXE_BASE_CODE correctly EFI_PXE_BASE_CODE was redefined in the early commit(*) to match the definition in EDK2. However, EFI_PXE_BASE_CODE wasn't declared correctly. Since EFI_PXE_BASE_CODE_PROTOCOL is already an alias of "struct _EFI_PXE_BASE_CODE_PROTOCOL", the additional struct in front of EFI_PXE_BASE_CODE_PROTOCOL actually confused the compiler and caused build fail. Remove the redundant struct to avoid confusion. *751cbce3f640c7 Update global protocol GUIDs definitions to match EDK2 Signed-off-by: Gary Lin <glin@suse.com> --- inc/efipxebc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/efipxebc.h b/inc/efipxebc.h index 580a6ef..035a853 100644 --- a/inc/efipxebc.h +++ b/inc/efipxebc.h @@ -419,7 +419,7 @@ typedef struct _EFI_PXE_BASE_CODE_PROTOCOL { // Use 'EFI_PXE_BASE_CODE_PROTOCOL_GUID' instead. typedef struct _EFI_PXE_BASE_CODE_PROTOCOL _EFI_PXE_BASE_CODE; -typedef struct EFI_PXE_BASE_CODE_PROTOCOL EFI_PXE_BASE_CODE; +typedef EFI_PXE_BASE_CODE_PROTOCOL EFI_PXE_BASE_CODE; // // Call Back Definitions -- 2.13.1 ++++++ gnu-efi-fix-switch-warning.patch ++++++ purpose. Signed-off-by: Gary Lin <glin@suse.com> Signed-off-by: Nigel Croxon <ncroxon@redhat.com> --- lib/print.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/print.c b/lib/print.c index b8a9d38..ed79c43 100644 --- a/lib/print.c +++ b/lib/print.c @@ -1131,6 +1131,9 @@ Returns: case 'X': Item.Width = Item.Long ? 16 : 8; Item.Pad = '0'; +#if __GNUC__ >= 7 + __attribute__ ((fallthrough)); +#endif case 'x': ValueToHex ( Item.Scratch, -- 2.13.0
participants (1)
-
root@hilbert.suse.de