Re: [OS-BUILD PATCH] kernel.spec: fix build of samples/bpf
From: Justin M. Forbes on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1285#note_639140208 Acked-by: Justin M. Forbes (via approve button) ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: [OS-BUILD PATCH] kernel.spec: fix build of samples/bpf
From: Herton R. Krzesinski on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1285#note_639130768 Acked-by: Herton R. Krzesinski (via approve button) ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: fedpkg clone -a kernel failed
> On Wed, 28 Jul 2021 00:25:42 - > > I see you got the other method working, so you really don't need this, > but I'll comment just in case someone else reads this in the far > future. :-) > > "Sampson Fung" > > Harmless. > got it. > > It has to be > %define buildid .local > Note the % sign in front of the define, it matters. > got it. > > You can try the below. It will show whether the installed gcc on your > system is the same as the config files are expecting. > > What is the output of rpm -q gcc? $ rpm -q gcc gcc-11.1.1-3.fc34.x86_64 > What is the output of grep -i cc_version > /home/fcc/rpmbuild/BUILD/kernel-5.13.5/linux-5.13.5-200.fc34.x86_64/configs/kernel-5.13.5-x86_64-debug.confiG > ? $ grep -i cc_version ~/rpmbuild/BUILD/kernel-5.13.5/linux-5.13.5-200.local.20210729.fc34.x86_64/configs/kernel-5.13.5-x86_64-debug.config CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.1.1 20210531 (Red Hat 11.1.1-3)" CONFIG_GCC_VERSION=110101 > Are they different? I think that creating the > ~/rpmbuild/SOURCES/kernel-local file will fix this. > 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. > You can turn off debug config in the kernel.spec file. Set the switch > to 0 as it is set below. > # kernel-debug > %define with_debug %{?_without_debug: 0} %{?!_without_debug: 0} > # kernel-debuginfo > %define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 0} > > You might as well turn off PAE as well as you don't need it. > # kernel PAE (only valid for ARM (lpae)) > %define with_pae %{?_without_pae: 0} %{?!_without_pae: 0} > > You can also turn off the build of architectures that you are not > interested in. Add the last line to your spec (it won't be there). > %define nobuildarches i386 i686 %{arm} > %endif > %define nobuildarches i386 i686 ppc64 s390x %{arm} %{power64} aarch64 ppc64le > > That should get you a little further, if the other method doesn't work > out. It is more user friendly than this technique, which is a lot more > manual. Probably why it was replaced. > > I recommend you put your effort into getting the other method working. I will. And come back to using kernel-spec later. ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: [OS-BUILD PATCH] kernel.spec: fix build of samples/bpf
From: Yauheni Kaliuta on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1285#note_638741573 Acked-by: Yauheni Kaliuta ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: [OS-BUILD PATCH] Enable OSNOISE_TRACER and TIMERLAT_TRACER
From: Daniel Bristot de Oliveira on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1281#note_638723693 ok, I made my email public, trying again: Acked-by: Daniel Bristot de Oliveira ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: [OS-BUILD PATCH] Enable OSNOISE_TRACER and TIMERLAT_TRACER
From: Daniel Bristot de Oliveira on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1281#note_638721037 Acked-by: Daniel Bristot de Oliveira Is that enough? ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: [OS-BUILD PATCH] Enable OSNOISE_TRACER and TIMERLAT_TRACER
From: Justin M. Forbes on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1281#note_638651669 Thanks for the review, can you send a proper "Acked-by:" line? ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: [OS-BUILD PATCH] Enable OSNOISE_TRACER and TIMERLAT_TRACER
From: Justin M. Forbes on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1281#note_638649585 Acked-by: Justin M. Forbes (via approve button) ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: Rawhide non-debug kernel is debug-kernel config ?
On Thu, Jul 29, 2021 at 6:48 AM Hans de Goede wrote: > > Hi All, > > Every now and then I sync the .config for the kernels which I build locally > with the Fedora kernel's .config . > > After downloading > kernel-core-5.14.0-0.rc3.20210728git7d549995d4e0.31.fc35.x86_64.rpm > and extracting the /lib/modules/5/config file I noticed that all the debug > options seem to be enabled. > > AFAIK those should only be enabled for the kernel-debug-core variant ? > So this seems to be a bug. > This is incorrect, and has never been the case for rawhide, or at least not in the last 10 years. For rawhide, the first build of any given rc is built as a release kernel with separate debug kernels. Any "git snapshot" kernel is built as a debug kernel only. For example, kernel-5.14.0-0.rc3.29.fc35 has both debug and nondebug variants built, but kernel-5.14.0-0.rc3.20210728git7d549995d4e0.31.fc35 only has debug kernels. In the past, we did not even have a subpackage named kernel-debug, but not too long ago, some people asked that we create a meta package so that people who only wanted to run debug kernels could keep kernel-debug installed, and it would always point to the correct option. This was MR https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1133 Justin ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: [OS-BUILD PATCH] kernel.spec: fix build of samples/bpf
From: Jiri Olsa on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1285#note_638587649 Acked-by: Jiri Olsa ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Rawhide non-debug kernel is debug-kernel config ?
Hi All, Every now and then I sync the .config for the kernels which I build locally with the Fedora kernel's .config . After downloading kernel-core-5.14.0-0.rc3.20210728git7d549995d4e0.31.fc35.x86_64.rpm and extracting the /lib/modules/5/config file I noticed that all the debug options seem to be enabled. AFAIK those should only be enabled for the kernel-debug-core variant ? So this seems to be a bug. Regards, Hans ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[OS-BUILD PATCH] kernel.spec: fix build of samples/bpf
From: Jiri Benc kernel.spec: fix build of samples/bpf Due to some change of the kernel makefiles, "samples/bpf" does not work anymore as a make target. Use M= instead. Signed-off-by: Jiri Benc diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index blahblah..blahblah 100755 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -2234,7 +2234,7 @@ popd # in the source tree. We installed them previously to $RPM_BUILD_ROOT/usr # but there's no way to tell the Makefile to take them from there. %{make} %{?_smp_mflags} headers_install -%{make} %{?_smp_mflags} ARCH=$Arch V=1 samples/bpf/ +%{make} %{?_smp_mflags} ARCH=$Arch V=1 M=samples/bpf/ # Prevent bpf selftests to build bpftool repeatedly: export BPFTOOL=$(pwd)/tools/bpf/bpftool/bpftool -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1285 ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: [OS-BUILD PATCH] Enable OSNOISE_TRACER and TIMERLAT_TRACER
From: Stanislav Kozina on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1281#note_638383234 Thanks Daniel for review! @jmflinuxtx not sure who can approve this MR, can you help please? Thank you! ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure