Hello community, here is the log from the commit of package crash for openSUSE:Factory checked in at 2020-05-12 22:35:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crash (Old) and /work/SRC/openSUSE:Factory/.crash.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crash" Tue May 12 22:35:14 2020 rev:163 rq:803050 version:7.2.8 Changes: -------- --- /work/SRC/openSUSE:Factory/crash/crash.changes 2020-05-02 22:18:35.488693678 +0200 +++ /work/SRC/openSUSE:Factory/.crash.new.2738/crash.changes 2020-05-12 22:37:22.896501639 +0200 @@ -1,0 +2,5 @@ +Wed May 6 14:37:27 UTC 2020 - Michel Normand <[email protected]> + +- remove bypass lto and add -mfull-toc for ppc64le to check boo#1146646 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crash.spec ++++++ --- /var/tmp/diff_new_pack.dQNXfW/_old 2020-05-12 22:37:25.840507783 +0200 +++ /var/tmp/diff_new_pack.dQNXfW/_new 2020-05-12 22:37:25.840507783 +0200 @@ -17,11 +17,6 @@ # needssslcertforbuild -# Disable LTO for PowerPC as bypass boo#1146646 -%ifarch ppc ppc64 ppc64le -%define _lto_cflags %{nil} -%endif - %define whitepaper_version 2003 %define scripts_version 2008-02-08 %define gcore_version 2011-09-22 @@ -323,7 +318,12 @@ %endif %build +%ifarch ppc64le +# for ppc64le use -mfull-toc needed by lto as per boo#1146646 +export CFLAGS="$RPM_OPT_FLAGS -fno-builtin-memset -fno-strict-aliasing -mfull-toc" +%else export CFLAGS="$RPM_OPT_FLAGS -fno-builtin-memset -fno-strict-aliasing" +%endif export GDB="gdb-%{gdb_version}" make RPMPKG="`cat .rh_rpm_package`" %{?jobs:-j%jobs} make extensions %{?jobs:-j%jobs}
