Hello community, here is the log from the commit of package ipxe for openSUSE:Factory checked in at 2018-12-04 20:54:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ipxe (Old) and /work/SRC/openSUSE:Factory/.ipxe.new.19453 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ipxe" Tue Dec 4 20:54:51 2018 rev:5 rq:653519 version:1.0.0+git20180203.546dd51d Changes: -------- --- /work/SRC/openSUSE:Factory/ipxe/ipxe.changes 2018-08-28 09:24:48.504896168 +0200 +++ /work/SRC/openSUSE:Factory/.ipxe.new.19453/ipxe.changes 2018-12-04 20:55:06.816800493 +0100 @@ -1,0 +2,15 @@ +Tue Nov 27 07:44:32 UTC 2018 - e...@suse.com + +- Make sure correct cross-gcc version is picked: + * For Leap15/SLE15: gcc7 + * For oS Factory and TW: gcc8 + +------------------------------------------------------------------- +Fri Oct 12 15:16:39 UTC 2018 - jjo...@suse.com + +- Enable bin-arm64-efi/snp.efi cross-compile build + This allows to boot an arm box from an x86_64 system. +- Add ipxe-aarch64-inline-asm-const-modifier.patch + * Fixes aarch64 build error with inline assembly output modifier + +------------------------------------------------------------------- New: ---- ipxe-aarch64-inline-asm-const-modifier.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ipxe.spec ++++++ --- /var/tmp/diff_new_pack.Av4vmR/_old 2018-12-04 20:55:07.316799936 +0100 +++ /var/tmp/diff_new_pack.Av4vmR/_new 2018-12-04 20:55:07.316799936 +0100 @@ -20,14 +20,26 @@ Version: 1.0.0+git20180203.546dd51d Release: 0 Summary: A Network Boot Firmware -License: GPL-2.0 +License: GPL-2.0-only Group: System/Boot Url: http://ipxe.org/ Source: %{name}-%{version}.tar.gz +# PATCH-FIX-SUSE: See http://lists.ipxe.org/pipermail/ipxe-devel/2018-April/006139.html +# We can probably drop this since the gcc option has been dropped during build +# See http://lists.ipxe.org/pipermail/ipxe-devel/2018-April/006146.html +# and https://github.com/ipxe/ipxe/commit/8ed4e3049f5fcb3a0b32f5190940e78c61654cff#diff-55d8c3cd8df4b3cc4beb7239822b6c95 Patch0: ipxe-efi-guard-strncpy-with-gcc-warning-ignore-pragma.patch +# PATCH-FIX-SUSE: See http://lists.ipxe.org/pipermail/ipxe-devel/2018-August/006267.html +# to check if it was applied upstream or not Patch1: ipxe-efi-recognize-plt32-relocation.patch +Patch2: ipxe-aarch64-inline-asm-const-modifier.patch BuildRequires: /usr/bin/mkisofs BuildRequires: binutils-devel +%if 0%{?sle_version} >= 150000 && 0%{?sle_version} < 159999 +BuildRequires: cross-aarch64-gcc7 +%else +BuildRequires: cross-aarch64-gcc8 +%endif BuildRequires: perl BuildRequires: syslinux BuildRequires: xz-devel @@ -58,6 +70,7 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build cd src @@ -73,7 +86,8 @@ # ix86 can't cross-compile make_ipxe bin-x86_64-efi/ipxe.efi make_ipxe bin-x86_64-efi/snp.efi -%endif +make_ipxe CROSS="aarch64-suse-linux-" bin-arm64-efi/snp.efi +%endif # x86_64 make_ipxe bin/undionly.kpxe bin/ipxe.{dsk,iso,usb,lkrn} @@ -88,6 +102,7 @@ %ifarch x86_64 install -D -m0644 src/bin-x86_64-efi/ipxe.efi %{buildroot}/%{_datadir}/%{name}/ipxe-x86_64.efi install -D -m0644 src/bin-x86_64-efi/snp.efi %{buildroot}/%{_datadir}/%{name}/snp-x86_64.efi +install -D -m0644 src/bin-arm64-efi/snp.efi %{buildroot}/%{_datadir}/%{name}/snp-arm64.efi %endif %files bootimgs @@ -102,6 +117,7 @@ %ifarch x86_64 %{_datadir}/%{name}/ipxe-x86_64.efi %{_datadir}/%{name}/snp-x86_64.efi +%{_datadir}/%{name}/snp-arm64.efi %endif %{_datadir}/%{name}/undionly.kpxe %doc COPYING COPYING.GPLv2 COPYING.UBDL ++++++ ipxe-aarch64-inline-asm-const-modifier.patch ++++++ Index: b/src/include/errno.h =================================================================== --- a/src/include/errno.h +++ b/src/include/errno.h @@ -262,10 +262,10 @@ static inline void eplatform_discard ( i ".align 8\n\t" \ "\n1:\n\t" \ ".long ( 4f - 1b )\n\t" \ - ".long %a0\n\t" \ + ".long %c0\n\t" \ ".long ( 2f - 1b )\n\t" \ ".long ( 3f - 1b )\n\t" \ - ".long %a1\n\t" \ + ".long %c1\n\t" \ "\n2:\t.asciz \"" __einfo_desc ( einfo ) "\"\n\t" \ "\n3:\t.asciz \"" __FILE__ "\"\n\t" \ ".align 8\n\t" \