On Thu, 29 Jul 2021 14:55:25 -0000
"Sampson Fung" <sampsonfung(a)gmail.com> wrote:
both reads like 11.1.1 to me. I did cp .config as kernel-local
after make menuconfig. After rm -rf ~/rpmbuild and start over, exit
with same error.
I agree, the gcc version isn't the problem. I suggest you turn on
verbose in the spec file,
# verbose build, i.e. no silent rules and V=1
%define with_verbose %{?_with_verbose: 1} %{?!_with_verbose: 1}
It is set to 0 as default.
You might as well make the other changes to the spec file at the same
time.
Then run the rpmbuild as
rpmbuild -bb kernel.spec > build_output 2> error_output
If they aren't too large, could you attach them to an email (< 30k?).
If they are too large, could you put them on fedora paste (Fedora
Pastebin at
http://paste.fedoraproject.org) and provide a link. I think
fedora has fpaste to do that easily, you might have to install it.
There can be errors further back, or at least warnings, so they may
point to the problem.
If I get time I'll try to reproduce the issue. It has to be something
simple, a switch or configuration option, I *think*.