diff --git a/elfutils-debuginfod.changes b/elfutils-debuginfod.changes index 668ec1f..4e995f0 100644 --- a/elfutils-debuginfod.changes +++ b/elfutils-debuginfod.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Sep 15 11:50:27 UTC 2020 - Guillaume GARDET + +- Disable LTO again - boo#1138796 + Adding -flto-partition=none and -Wno-error=stack-usage were + not enough: + [ 123s] libasm-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libasm.a + [ 123s] libdw-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libdw.a + [ 123s] libelf-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libelf.a + [ 123s] This archive does not contain a non-empty .text section. The archive was not + [ 123s] created with -ffat-lto-objects option. + And adding -ffat-lto-objects breaks run-show-die-info.sh test. + ------------------------------------------------------------------- Tue Sep 8 15:18:57 UTC 2020 - Guillaume GARDET diff --git a/elfutils.spec b/elfutils.spec index 0ddf5ce..e507388 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -106,7 +106,7 @@ applications that require libdw. %autosetup -p1 %build -%global _lto_cflags %{_lto_cflags} -flto-partition=none -Wno-error=stack-usage= +%global _lto_cflags %{nil} # Change DATE/TIME macros to use last change time of elfutils.changes # See http://lists.opensuse.org/opensuse-factory/2011-05/msg00304.html modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"