Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang: upgrade to Clang 18 #2777

Merged
merged 4 commits into from
Aug 16, 2024
Merged

clang: upgrade to Clang 18 #2777

merged 4 commits into from
Aug 16, 2024

Conversation

mtardy
Copy link
Member

@mtardy mtardy commented Aug 7, 2024

Trying stuff

Upgrade to Clang 18 to build BPF programs.

@mtardy mtardy added the release-note/ci This PR makes changes to the CI. label Aug 7, 2024
Copy link

netlify bot commented Aug 7, 2024

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit 911d774
🔍 Latest deploy log https://app.netlify.com/sites/tetragon/deploys/66bf46ba6c3ed00008a8aa49
😎 Deploy Preview https://deploy-preview-2777--tetragon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mtardy mtardy linked an issue Aug 8, 2024 that may be closed by this pull request
@mtardy mtardy force-pushed the pr/mtardy/update-clang-18 branch 3 times, most recently from 2eacc61 to 394f52f Compare August 14, 2024 15:03
Verifier complains with clang-18 compiling bpf_generic_kprobe_v53.o and
loading it on 5.4.278.

Signed-off-by: Mahe Tardy <[email protected]>
When bumping the builder image to Ubuntu 24.04, the static build of
bpftool started to fail. We cannot use EXTRA_LDFLAGS unfortunately and
need to mofiy the LIBS and LIBS_BOOTSTRAP Makefile variables. Maybe we
can upstream this fix later.

Signed-off-by: Mahe Tardy <[email protected]>
Things look different but they are fairly similar...

Signed-off-by: Mahe Tardy <[email protected]>
@mtardy mtardy changed the title Update to clang 18 clang: upgrade to Clang 18 Aug 16, 2024
@mtardy mtardy added release-note/misc This PR makes changes that have no direct user impact. and removed release-note/ci This PR makes changes to the CI. labels Aug 16, 2024
@mtardy mtardy marked this pull request as ready for review August 16, 2024 13:12
@mtardy mtardy requested a review from a team as a code owner August 16, 2024 13:12
@mtardy mtardy requested a review from jrfastab August 16, 2024 13:12
@mtardy mtardy merged commit e3b34ad into main Aug 16, 2024
52 checks passed
@mtardy mtardy deleted the pr/mtardy/update-clang-18 branch August 16, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bpf: upgrade clang version to latest version
2 participants