Re: [OS-BUILD PATCH] Fix binutils breakage

2023-10-24 Thread Viktor Malik (via Email Bridge)
From: Viktor Malik on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2749#note_1617635466 Patches sent, added you to cc. I'd still wait a couple of days, if possible, to see if upstream doesn't propose a different approach, to avoid carrying non-upstream patches in ARK. But

Re: [OS-BUILD PATCH] Fix binutils breakage

2023-10-24 Thread Viktor Malik (via Email Bridge)
From: Viktor Malik on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2749#note_1617583855 Not yet, I wanted to resolve all the `-fPIE` problems first b/c we'll eventually need to build `samples/bpf` in RHEL. Anyways, I think that we're on a good path (see my last comment ab

Re: [OS-BUILD PATCH] Fix binutils breakage

2023-10-24 Thread Viktor Malik (via Email Bridge)
From: Viktor Malik on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2749#note_1617578830 Argh, compiler/linker arguments in BPF Makefiles are sometimes a mess. But, since the error occurs when linking `libbpf.a` for `samples/bpf/bpftool`, let's take the same approach as we

Re: [OS-BUILD PATCH 0/3] redhat: Switch KABI file compression to xz

2023-10-24 Thread Scott Weaver (via Email Bridge)
From: Scott Weaver on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2760#note_1617290143 This is correct in our case but automotive changes `compression` to `zstd` and because `xz` is still used in other places they need xz defined even though it's redundant here for the st

[OS-BUILD PATCH 2/3] redhat/kernel.spec.template: Remove explicit xz as requirement

2023-10-24 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/kernel.spec.template: Remove explicit xz as requirement Remove the explicit xz as a requirement. This will be picked up by the %compression variable at the end of the line. Signed-off-by: Prarit Bhargava diff --git a/redhat/kernel.spec.template b/redhat/kernel.sp

[OS-BUILD PATCH 1/3] redhat/kernel.spec.template: Switch KABI compression to xz

2023-10-24 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/kernel.spec.template: Switch KABI compression to xz Switch KABI compression to xz. There's no reason it has to be bz2. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat

[OS-BUILD PATCH 3/3] redhat/self-test: Update data for KABI xz change

2023-10-24 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/self-test: Update data for KABI xz change The extension on the KABI files has changed from bz2 to xz. Signed-off-by: Prarit Bhargava diff --git a/redhat/self-test/data/centos-2585cf9dfaad.el7 b/redhat/self-test/data/centos-2585cf9dfaad.el7 index blahblah..blahbla

[OS-BUILD PATCH 0/3] redhat: Switch KABI file compression to xz

2023-10-24 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2760 Switch the KABI compression from bz2 to xz to match other compression targets. Signed-off-by: Prarit Bhargava --- redhat/self-test/data/centos-2585cf9dfaad.el7 | 4 ++-- redhat

Re: [OS-BUILD PATCH] Fix binutils breakage

2023-10-24 Thread Don Zickus (via Email Bridge)
From: Don Zickus on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2749#note_1617007832 @vmalikrh - were you able to push patches upstream? we were looking to bring them in prematurely for ARK until upstream merges them. This helps move binutils forward. __