Uploaded image for project: 'Red Hat Advanced Cluster Security'
  1. Red Hat Advanced Cluster Security
  2. ROX-31971

builder image: Centos stream 9 does not provide llvm-19.1.x anymore

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • None
    • Collector
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Rox Sprint 4.10D, Rox Sprint 4.10E

      We use LLVM in the builder image to compile our core_bpf probe.

      llvm >= 20 is not working with the BTF relocation.

      There are two concurrent work items:

      • [done]#2690: update to the latest clang version and modify the probe to pass the verifier.
        •  The failure has been reproduced and is confirmed to be a 'complexity' issue.
        • A first round of probe fixes have been proposed, but recvfrom fails in the UDP tests
        • A supplementary fix has been designed for recvfrom.
        • Lowering the size of IOV solved most UDP issues. Disabling tests for the remaining kernels (Mostly RHEL : ROX-32092).
      • [done] #2692: keep using clang19 update base images to centos stream10
        • Requires to update ubi to version 10 as well, to get compatible libc
        • The base image comes with the newer GCC14
        • Requires to update TBB (third party dep) : new compiler throws a warning + -Werror. This warning was fixed last september, and the project does not make stable releases => update to master
        • Running the image against e2e tests in stackrox/stackrox gives a "all green" result.
        • => merged in master

              rh-ee-ovalenti Olivier Valentin
              rh-ee-ovalenti Olivier Valentin
              ACS Collector
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: