Commit Graph

5 Commits

Author SHA1 Message Date
Viktor Malik
5b14fca0cc
Update to BPF 6.14 stable backport
Resolves: RHEL-99680

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2025-07-09 22:47:18 +02:00
Viktor Malik
cb7c5cc435
Make kernel tarball dist independent of %{dist}
Resolves: RHEL-80792

There are situations when the kernel tarball dist is different from the
package dist, e.g. when building via CentOS Stream during the exception
phase (c9s will use .el9 while RHEL will use .el9_Z).

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2025-03-06 11:36:40 +01:00
Viktor Malik
0c61d81ce8
Update to BPF 6.12 rebase
Resolves: RHEL-80792

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2025-03-05 15:12:50 +01:00
Viktor Malik
ef71bece85
Fix LLVM feature detection
bpftool disassembler optionally uses LLVM to improve its capabilities.
Unfortunately, even if llvm-devel is installed, the feature detection of
LLVM doesn't work:

    Auto-detecting system features:
    ...                         clang-bpf-co-re: [ on  ]
    ...                                    llvm: [ OFF ]
    ...                                  libcap: [ on  ]
    ...                                  libbfd: [ on  ]

The reason is that the feature detection tries to compile a simple C++
program and link it against libLLVM which fails as LDFLAGS contains -pie
while CXXFLAGS does not contain -fpie.

Fix this by setting EXTRA_CXXFLAGS from the bpftool build.

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2025-03-05 14:20:57 +01:00
Viktor Malik
3a9ede3c5e
Initial commit on c9s
Resolves: RHEL-69495

Signed-off-by: Viktor Malik <vmalik@redhat.com>
2025-01-07 12:59:31 +01:00