commit memtest86+ for openSUSE:Factory

2024-04-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package memtest86+ for openSUSE:Factory 
checked in at 2024-04-18 22:10:26

Comparing /work/SRC/openSUSE:Factory/memtest86+ (Old)
 and  /work/SRC/openSUSE:Factory/.memtest86+.new.26366 (New)


Package is "memtest86+"

Thu Apr 18 22:10:26 2024 rev:42 rq:1155821 version:7.00

Changes:

--- /work/SRC/openSUSE:Factory/memtest86+/memtest86+.changes2024-01-26 
22:46:37.090795539 +0100
+++ /work/SRC/openSUSE:Factory/.memtest86+.new.26366/memtest86+.changes 
2024-04-18 22:11:11.318355817 +0200
@@ -1,0 +2,7 @@
+Mon Mar  4 14:56:40 UTC 2024 - Giacomo Comes 
+
+- add source 20_memtest86
+  * replace similar file from package grub2
+- don't install files in /boot. The OS needs to stay in /usr
+
+---

New:

  20_memtest86



Other differences:
--
++ memtest86+.spec ++
--- /var/tmp/diff_new_pack.6s4yDq/_old  2024-04-18 22:11:12.006381101 +0200
+++ /var/tmp/diff_new_pack.6s4yDq/_new  2024-04-18 22:11:12.006381101 +0200
@@ -25,6 +25,7 @@
 Group:  System/Boot
 URL:https://www.memtest.org
 Source: 
https://github.com/memtest86plus/memtest86plus/archive/v%{version}/%{name}-%{version}.tar.gz
+Source1:20_memtest86
 #!BuildIgnore:  gcc-PIE
 Provides:   lilo:/boot/memtest.bin
 Obsoletes:  memtest86 <= 3.2
@@ -55,15 +56,18 @@
 make
 
 %install
+# Script to generate memtest86+ menu entry
+mkdir -p %{buildroot}/%{_sysconfdir}/grub.d
+install -m 755 %{SOURCE1} %{buildroot}/%{_sysconfdir}/grub.d/
 %ifarch x86_64
 cd build64
 %else
 cd build32
 %endif
 install -Dpm 0644 memtest.bin \
-  %{buildroot}/boot/memtest.bin
+  %{buildroot}%{_prefix}/lib/memtest86/memtest.bin
 install -Dpm 0644 memtest.efi \
-  %{buildroot}/boot/efi/EFI/memtest86/memtest.efi
+  %{buildroot}%{_prefix}/lib/memtest86/memtest.efi
 export BRP_PESIGN_FILES="*.efi"
 
 %post
@@ -76,9 +80,8 @@
 %license LICENSE
 %doc README.md
 %doc doc
-/boot/memtest.bin
-%dir /boot/efi
-%dir /boot/efi/EFI
-%dir /boot/efi/EFI/memtest86
-/boot/efi/EFI/memtest86/memtest.efi
+%dir %{_prefix}/lib/memtest86
+%{_prefix}/lib/memtest86/memtest.*
+%dir %{_sysconfdir}/grub.d
+%config(noreplace) %{_sysconfdir}/grub.d/20_memtest86
 

++ 20_memtest86 ++
#! /bin/sh
set -e

# grub-mkconfig helper script.
# Copyright (C) 2011  Michal Ambroz 
# Adapted for openSUSE by Andrey Borzenkov 
# Adapted for EFI by Hans-Peter Jansen 
#
# you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with the script.  If not, see .

. "$pkgdatadir/grub-mkconfig_lib"

export TEXTDOMAIN=grub2
export TEXTDOMAINDIR=/usr/share/locale

CLASS="--class memtest86 --class gnu --class tools"

if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
  OS=Memtest
else
  OS="${GRUB_DISTRIBUTOR} Memtest"
  CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1) 
${CLASS}"
fi

# memtest86+ comes in two flavours, one EFI and one suitable for x86 real mode.
if [ -d /sys/firmware/efi ]; then
  if [ -f /usr/lib/memtest86/memtest.efi ]; then
memtest=/usr/lib/memtest86/memtest.efi
  else
#memtest.efi not found
exit 0
  fi
  loader='linux  '
  message="$(gettext_printf "Loading EFI memtest ...\n" | grub_quote)"
else
  if [ -f /usr/lib/memtest86/memtest.bin ]; then
memtest=/usr/lib/memtest86/memtest.bin
  else
#memtest.bin not found
exit 0
  fi
  loader='linux16'
  message="$(gettext_printf "Loading x86 memtest ...\n" | grub_quote)"
fi
# locate the real partition
GRUB_DEVICE_BOOT=$(grub2-probe -t device "$memtest")

if grub_file_is_not_garbage "$memtest" ; then
  gettext_printf "Found memtest image: %s\n" "$memtest" >&2
  basename=`basename $memtest`
  dirname=`dirname $memtest`
  rel_dirname=`make_system_path_relative_to_its_root $dirname`
  boot_device_id="$(grub_get_device_id "${GRUB_DEVICE_BOOT}")"

  printf "menuentry '%s' %s \$menuentry_id_option '%s' {\n" "${OS}" "${CLASS}" 
"memtest-$boot_device_id"
  prepare_boot_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed 
-e "s/^/\t/")"
  printf '%s\n' "${prepare_boot_cache}"
  cat << EOF
echo'$message'
${loader} ${rel_dirname}/${basename}
}

EOF
fi


commit memtest86+ for openSUSE:Factory

2024-01-26 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package memtest86+ for openSUSE:Factory 
checked in at 2024-01-26 22:46:32

Comparing /work/SRC/openSUSE:Factory/memtest86+ (Old)
 and  /work/SRC/openSUSE:Factory/.memtest86+.new.1815 (New)


Package is "memtest86+"

Fri Jan 26 22:46:32 2024 rev:41 rq:1141780 version:7.00

Changes:

--- /work/SRC/openSUSE:Factory/memtest86+/memtest86+.changes2024-01-17 
22:14:28.957195890 +0100
+++ /work/SRC/openSUSE:Factory/.memtest86+.new.1815/memtest86+.changes  
2024-01-26 22:46:37.090795539 +0100
@@ -7,0 +8,10 @@
+Mon Jan  8 09:41:12 UTC 2024 - ecsos 
+
+- Update to 7.00
+  - IMC polling for live RAM settings
+  - Preliminary support for ECC polling
+  - Add support for MMIO UART
+  - Add debugging options
+  - Bug fixes & optimizations
+
+---
@@ -462 +471,0 @@


Old:

  memtest86+-6.20.tar.gz

New:

  memtest86+-7.00.tar.gz



Other differences:
--
++ memtest86+.spec ++
--- /var/tmp/diff_new_pack.y7WF0u/_old  2024-01-26 22:46:37.826822044 +0100
+++ /var/tmp/diff_new_pack.y7WF0u/_new  2024-01-26 22:46:37.830822189 +0100
@@ -18,7 +18,7 @@
 
 
 Name:   memtest86+
-Version:6.20
+Version:7.00
 Release:0
 Summary:Memory Testing Image for x86 Architecture
 License:GPL-2.0-only

++ memtest86+-6.20.tar.gz -> memtest86+-7.00.tar.gz ++
 3695 lines of diff (skipped)


commit memtest86+ for openSUSE:Factory

2023-05-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package memtest86+ for openSUSE:Factory 
checked in at 2023-05-16 14:16:02

Comparing /work/SRC/openSUSE:Factory/memtest86+ (Old)
 and  /work/SRC/openSUSE:Factory/.memtest86+.new.1533 (New)


Package is "memtest86+"

Tue May 16 14:16:02 2023 rev:39 rq:1087247 version:6.20

Changes:

--- /work/SRC/openSUSE:Factory/memtest86+/memtest86+.changes2023-02-09 
16:22:07.882380497 +0100
+++ /work/SRC/openSUSE:Factory/.memtest86+.new.1533/memtest86+.changes  
2023-05-16 14:27:08.995647109 +0200
@@ -1,0 +2,25 @@
+Sat May 13 10:30:43 UTC 2023 - ecsos 
+
+- Revert change from Mon Mar 13, as this prevents the use of memtest
+  and memtest is no longer displayed in the boot menu.
+
+---
+Sat May 13 10:08:09 UTC 2023 - ecsos 
+
+- Update to 6.20
+  - Add support for Alder Lake-N CPUs
+  - Add support for VIA VT8233(A)/VT8237
+  - Add support for nVidia nForce 3
+  - Add support for ALi M1533/1543(C)/1535
+  - Add temperature reporting on AMD K8 CPUs
+  - Add some JEDEC Manufacturers
+  - Better handling of SPD reading on Mobile CPUs
+  - Fix APIC Timer fail on some mobile platforms
+  - Fix older CPU (P5/P6-class) detection
+
+---
+Mon Mar 13 11:29:33 UTC 2023 - Ludwig Nussel 
+
+- don't install files in /boot. The OS needs to stay in /usr
+
+---

Old:

  memtest86+-6.10.tar.gz

New:

  memtest86+-6.20.tar.gz



Other differences:
--
++ memtest86+.spec ++
--- /var/tmp/diff_new_pack.HlQy5m/_old  2023-05-16 14:27:09.359649191 +0200
+++ /var/tmp/diff_new_pack.HlQy5m/_new  2023-05-16 14:27:09.363649213 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   memtest86+
-Version:6.10
+Version:6.20
 Release:0
 Summary:Memory Testing Image for x86 Architecture
 License:BSD-3-Clause

++ memtest86+-6.10.tar.gz -> memtest86+-6.20.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/memtest86plus-6.10/.github/workflows/Linux.yml 
new/memtest86plus-6.20/.github/workflows/Linux.yml
--- old/memtest86plus-6.10/.github/workflows/Linux.yml  2023-02-02 
23:52:18.0 +0100
+++ new/memtest86plus-6.20/.github/workflows/Linux.yml  2023-05-07 
16:55:03.0 +0200
@@ -20,7 +20,7 @@
   fail-fast: false
   matrix:
 compiler: [gcc, clang]
-os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04]
+os: [ubuntu-20.04, ubuntu-22.04]
 
 steps:
   - uses: actions/checkout@v3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/memtest86plus-6.10/.github/workflows/expired.yml 
new/memtest86plus-6.20/.github/workflows/expired.yml
--- old/memtest86plus-6.10/.github/workflows/expired.yml2023-02-02 
23:52:18.0 +0100
+++ new/memtest86plus-6.20/.github/workflows/expired.yml2023-05-07 
16:55:03.0 +0200
@@ -6,7 +6,7 @@
   stale:
 runs-on: ubuntu-latest
 steps:
-  - uses: actions/stale@v7
+  - uses: actions/stale@v8
 with:
   repo-token: ${{ secrets.GITHUB_TOKEN }}
   exempt-issue-milestones: 'future,alpha,beta,release'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/memtest86plus-6.10/README.md 
new/memtest86plus-6.20/README.md
--- old/memtest86plus-6.10/README.md2023-02-02 23:52:18.0 +0100
+++ new/memtest86plus-6.20/README.md2023-05-07 16:55:03.0 +0200
@@ -157,7 +157,7 @@
   * 9600
   * 19200
   * 38400
-  * 54600
+  * 57600
   * 115200 (default if not specified or invalid)
   * 230400
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/memtest86plus-6.10/app/display.c 
new/memtest86plus-6.20/app/display.c
--- old/memtest86plus-6.10/app/display.c2023-02-02 23:52:18.0 
+0100
+++ new/memtest86plus-6.20/app/display.c2023-05-07 16:55:03.0 
+0200
@@ -409,6 +409,7 @@
 return;
 } else if (big_status_displayed) {
 restore_big_status();
+enable_big_status = false;
 }
 
 switch (input_key) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/memtest86plus-6.10/app/main.c 
new/memtest86plus-6.20/app/main.c
--- old/memtest86plus-6.10/app/main.c   2023-02-02 23:52:18.0 +0100
+++ new/memtest86plus-6.20/app/main.c   2023-05-07 16:55:03.0 +0200
@@ -251,6 +251,8 @@
 
 error_init();
 
+temperature_init();
+
 initial_config();
 
   

commit memtest86+ for openSUSE:Factory

2023-02-09 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package memtest86+ for openSUSE:Factory 
checked in at 2023-02-09 16:21:56

Comparing /work/SRC/openSUSE:Factory/memtest86+ (Old)
 and  /work/SRC/openSUSE:Factory/.memtest86+.new.4462 (New)


Package is "memtest86+"

Thu Feb  9 16:21:56 2023 rev:38 rq:1063852 version:6.10

Changes:

--- /work/SRC/openSUSE:Factory/memtest86+/memtest86+.changes2021-05-20 
19:25:01.065952973 +0200
+++ /work/SRC/openSUSE:Factory/.memtest86+.new.4462/memtest86+.changes  
2023-02-09 16:22:07.882380497 +0100
@@ -1,0 +2,31 @@
+Wed Feb  8 09:50:09 UTC 2023 - Marcus Meissner 
+
+- add pesign magic
+- fixed i586 build
+
+---
+Sat Feb  4 15:41:14 UTC 2023 - ecsos 
+
+- Update to 6.10
+  - Add support for Secure Boot Signing
+  - Add support for Headless EFI system
+  - Add various command line options
+  - Add support for legacy ATI SB400
+  - Fix an issue related to BadRAM pattern
+  - Fix disabling SMP using F2 at startup
+  - Fix crash on SuperMicro X10SDV
+  - Various bug fixes and optimizations
+- Update to 6.01
+  - False positives in test 9 [Modulo 20, random pattern] (issue #216)
+  - Failing to remove the big PASS/FAIL status banner (issue #130 and #173)
+
+---
+Sat Oct 29 10:23:02 UTC 2022 - ecsos 
+
+- Update to 6.00:
+- Drop all patches can no more use:
+  fix-destdir
+  memtest86+-5.01-no-optimization.patch
+  memtest86+-5.31b-discard-note_gnu_property.patch
+
+---

Old:

  fix-destdir
  memtest86+-5.01-no-optimization.patch
  memtest86+-5.31b-discard-note_gnu_property.patch
  memtest86+-5.31b.tar.gz

New:

  memtest86+-6.10.tar.gz



Other differences:
--
++ memtest86+.spec ++
--- /var/tmp/diff_new_pack.KyAzEK/_old  2023-02-09 16:22:10.182392346 +0100
+++ /var/tmp/diff_new_pack.KyAzEK/_new  2023-02-09 16:22:10.186392367 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package memtest86+
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -14,19 +14,17 @@
 
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
+# needssslcertforbuild
 
 
 Name:   memtest86+
-Version:5.31b
+Version:6.10
 Release:0
 Summary:Memory Testing Image for x86 Architecture
 License:BSD-3-Clause
 Group:  System/Boot
 URL:https://www.memtest.org
-Source: 
https://www.memtest.org/download/%{version}/memtest86+-%{version}.tar.gz
-Patch0: fix-destdir
-Patch1: memtest86+-5.01-no-optimization.patch
-Patch2: memtest86+-5.31b-discard-note_gnu_property.patch
+Source: 
https://github.com/memtest86plus/memtest86plus/archive/v%{version}/%{name}-%{version}.tar.gz
 #!BuildIgnore:  gcc-PIE
 Provides:   lilo:/boot/memtest.bin
 Obsoletes:  memtest86 <= 3.2
@@ -35,6 +33,7 @@
 %ifarch x86_64
 BuildRequires:  glibc-devel-32bit
 %endif
+BuildRequires:  pesign-obs-integration
 %define _binary_payload w1.gzdio
 BuildRequires:  update-bootloader-rpm-macros
 %{?update_bootloader_requires}
@@ -44,27 +43,43 @@
 it can be used to test the computer's memory.
 
 %prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+%setup -q -n memtest86plus-%{version}
 
 %build
 # dependencies are broken for the package and it should not be built in 
parallel
+%ifarch x86_64
+cd build64
+%else
+cd build32
+%endif
 make
 
 %install
+%ifarch x86_64
+cd build64
+%else
+cd build32
+%endif
 install -Dpm 0644 memtest.bin \
   %{buildroot}/boot/memtest.bin
+install -Dpm 0644 memtest.efi \
+  %{buildroot}/boot/efi/EFI/memtest86/memtest.efi
+export BRP_PESIGN_FILES="*.efi"
 
 %post
-%update_bootloader_check_type_refresh_post grub2
+%update_bootloader_check_type_refresh_post grub2 grub2-efi
 
 %posttrans
 %update_bootloader_posttrans
 
 %files
+%license LICENSE
+%doc README.md
+%doc doc
 /boot/memtest.bin
-%doc README* changelog FAQ
+%dir /boot/efi
+%dir /boot/efi/EFI
+%dir /boot/efi/EFI/memtest86
+/boot/efi/EFI/memtest86/memtest.efi
 
 %changelog

++ memtest86+-5.31b.tar.gz -> memtest86+-6.10.tar.gz ++
 57318 lines of diff (skipped)


commit memtest86+ for openSUSE:Factory

2021-05-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package memtest86+ for openSUSE:Factory 
checked in at 2021-05-20 19:24:42

Comparing /work/SRC/openSUSE:Factory/memtest86+ (Old)
 and  /work/SRC/openSUSE:Factory/.memtest86+.new.2988 (New)


Package is "memtest86+"

Thu May 20 19:24:42 2021 rev:37 rq:894064 version:5.31b

Changes:

--- /work/SRC/openSUSE:Factory/memtest86+/memtest86+.changes2021-04-29 
22:44:59.740140180 +0200
+++ /work/SRC/openSUSE:Factory/.memtest86+.new.2988/memtest86+.changes  
2021-05-20 19:25:01.065952973 +0200
@@ -1,0 +2,8 @@
+Wed May 12 12:34:56 UTC 2021 - o...@aepfle.de
+
+- Use _binary_payload w1.gzdio to make sure this firmware package
+  can be installed by rpm binares that lack support for the latest
+  compression trends
+- Use update-bootloader-rpm-macros
+
+---



Other differences:
--
++ memtest86+.spec ++
--- /var/tmp/diff_new_pack.qlBz7P/_old  2021-05-20 19:25:01.577950874 +0200
+++ /var/tmp/diff_new_pack.qlBz7P/_new  2021-05-20 19:25:01.577950874 +0200
@@ -28,8 +28,6 @@
 Patch1: memtest86+-5.01-no-optimization.patch
 Patch2: memtest86+-5.31b-discard-note_gnu_property.patch
 #!BuildIgnore:  gcc-PIE
-Requires(pre):  /sbin/update-bootloader
-Requires(pre):  perl
 Provides:   lilo:/boot/memtest.bin
 Obsoletes:  memtest86 <= 3.2
 Provides:   memtest86 > 3.2
@@ -37,6 +35,9 @@
 %ifarch x86_64
 BuildRequires:  glibc-devel-32bit
 %endif
+%define _binary_payload w1.gzdio
+BuildRequires:  update-bootloader-rpm-macros
+%{?update_bootloader_requires}
 
 %description
 Memtest86 is an image that can be booted instead of a real OS. Once booted,
@@ -57,14 +58,10 @@
   %{buildroot}/boot/memtest.bin
 
 %post
-if [ "$YAST_IS_RUNNING" != instsys -a $1 = 1 -a \
--x /sbin/update-bootloader ]; then
-   /sbin/update-bootloader --add --image /boot/memtest.bin --name "Memory 
Test (memtest86+)"
-fi
-true
+%update_bootloader_check_type_refresh_post grub2
 
-%postun
-test -x /sbin/update-bootloader && /sbin/update-bootloader --remove --force 
--image /boot/memtest.bin || true
+%posttrans
+%update_bootloader_posttrans
 
 %files
 /boot/memtest.bin


commit memtest86+ for openSUSE:Factory

2021-04-29 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package memtest86+ for openSUSE:Factory 
checked in at 2021-04-29 22:44:47

Comparing /work/SRC/openSUSE:Factory/memtest86+ (Old)
 and  /work/SRC/openSUSE:Factory/.memtest86+.new.1947 (New)


Package is "memtest86+"

Thu Apr 29 22:44:47 2021 rev:36 rq:888979 version:5.31b

Changes:

--- /work/SRC/openSUSE:Factory/memtest86+/memtest86+.changes2021-02-01 
13:24:29.877756048 +0100
+++ /work/SRC/openSUSE:Factory/.memtest86+.new.1947/memtest86+.changes  
2021-04-29 22:44:59.740140180 +0200
@@ -1,0 +2,10 @@
+Tue Apr 27 06:57:21 UTC 2021 - Josef M??llers 
+
+- Due to recent binutils update the gnu assembler defaults to
+  generate a ".note.gnu.property" section. The linker happily picks
+  it up to the output binary that offsets the real code entry and
+  crashes at runtime.
+  This patch discards the ".note.gnu.property" section.
+  [bsc#1185272, memtest86+-5.31b-discard-note_gnu_property.patch]
+
+---

New:

  memtest86+-5.31b-discard-note_gnu_property.patch



Other differences:
--
++ memtest86+.spec ++
--- /var/tmp/diff_new_pack.Z4H4rw/_old  2021-04-29 22:45:00.240137954 +0200
+++ /var/tmp/diff_new_pack.Z4H4rw/_new  2021-04-29 22:45:00.244137936 +0200
@@ -26,6 +26,7 @@
 Source: 
https://www.memtest.org/download/%{version}/memtest86+-%{version}.tar.gz
 Patch0: fix-destdir
 Patch1: memtest86+-5.01-no-optimization.patch
+Patch2: memtest86+-5.31b-discard-note_gnu_property.patch
 #!BuildIgnore:  gcc-PIE
 Requires(pre):  /sbin/update-bootloader
 Requires(pre):  perl
@@ -45,6 +46,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 # dependencies are broken for the package and it should not be built in 
parallel

++ memtest86+-5.31b-discard-note_gnu_property.patch ++
Index: memtest86+-5.31b/Makefile
===
--- memtest86+-5.31b.orig/Makefile
+++ memtest86+-5.31b/Makefile
@@ -10,11 +10,11 @@
 FDISK=/dev/fd0
 TARGETDIR=/boot

-AS=as -32
+AS=as -32 -mx86-used-note=no
 CC=gcc

 CFLAGS= -Wall -Werror -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin \
- -ffreestanding -fPIC $(SMP_FL) -fno-stack-protector
+ -ffreestanding -fPIC $(SMP_FL) -fno-stack-protector -Wa,-mx86-used-note=no

 SELF_TEST_CFLAGS = -Wall -Werror -march=i486 -m32 -O1 -g

Index: memtest86+-5.31b/memtest.bin.lds
===
--- memtest86+-5.31b.orig/memtest.bin.lds
+++ memtest86+-5.31b/memtest.bin.lds
@@ -11,5 +11,6 @@ SECTIONS {
*(.data) 
_end = . ;
}
+   /DISCARD/ : { *(.note.gnu.property) } 
_syssize = (_end - _start + 15) >> 4;
 }