Re: Compiling a kernel from kernel-5.17.0-0.rc2.20220204gitdcb85f85fa6f.86.fc36.src.rpm fails if warnings as errors is turned on

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 6 Feb 2022 11:53:28 -0700
stan via kernel <kernel@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

> When I turned off warnings as errors, the kernel compiled
> successfully. This is not a problem in the 5.16 series, they compile
> cleanly with warnings as errors turned on.

The kernel compiled cleanly with all the warnings, but when it was
writing the rpm packages it failed with
File not found: /home/stan/rpmbuild/BUILDROOT/kernel-5.17.0-0.rc2.20220204gitdcb85f85fa6f.86.20220206.fc36.x86_64/usr/lib64/libperf-jvmti.so

I can't find any reason why this would be true.  When I compare a
spec file that worked to the latest spec file, they appear to be
identical in dealing with libperf-jvmti.so.  And the source for the
library is there under ./tools/perf/jvmti/libjvmti.c   I did find that
there was a switch, NO_JVMTI that would turn building this off.  Has
that been enabled in 5.17 kernels?

I'm building tools and perf and headers as part of the custom kernel so
everything is in sync when I install.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux