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+.changes    2021-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 <josef.moell...@suse.com>
+
+- 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;
 }

Reply via email to