Comment # 11 on bug 1152590 from
This is in the %install section:

# install and fixup target parts
# debugedit is not prepared for this and crashes
%if 0%{?gcc_icecream:1}
# so expect the sysroot to be populated from natively built binaries
%else
%if 0%{!?gcc_libc_bootstrap:1}
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define __debug_install_post %{nil}
...

That makes rpm extract debuginfo only for gccs which are libc_bootstrapped or
compile icecream compilers too. Why is it set that way?

BTW cross-arm-gcc7 has gcc_icecream defined to 0. But due to the condition
above (%{?gcc_icecream:1}), rpm goes through the first %if and generates
debuginfo for cross-arm-gcc* too.


You are receiving this mail because: