diff --git a/kernel-tools.spec b/kernel-tools.spec index 388fb63..81be3b7 100644 --- a/kernel-tools.spec +++ b/kernel-tools.spec @@ -8,7 +8,7 @@ # and/or a kernel built from an rc or git snapshot, released_kernel should # be 0. %global released_kernel 0 -%global baserelease 1 +%global baserelease 2 %global fedora_build %{baserelease} # base_sublevel is the kernel version we're starting with and patching @@ -228,6 +228,11 @@ pathfix.py -pni "%{__python3} %{py3_shbang_opts}" tools/ tools/perf/scripts/pyth ### build ### %build +# The kernel tools build with -ggdb3 which seems to interact badly with LTO +# causing various errors with references to discarded sections and symbol +# type errors from the LTO plugin. Until those issues are addressed +# disable LTO +%define _lto_cflags %{nil} cd linux-%{kversion} @@ -514,6 +519,9 @@ popd %license linux-%{kversion}/COPYING %changelog +* Mon Jul 08 2020 Jeff Law - 5.8.0-0.rc4.git0.2 +- Disable LTO + * Mon Jul 06 2020 Justin M. Forbes - 5.8.0-0.rc4.git0.1 - Linux v5.8-rc4