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

tetragon: Switch to clang-14 #397

Merged
merged 4 commits into from
Nov 7, 2022
Merged

tetragon: Switch to clang-14 #397

merged 4 commits into from
Nov 7, 2022

Conversation

olsajiri
Copy link
Contributor

@olsajiri olsajiri commented Sep 9, 2022

Switch to clang-14, plus needed fixes.

Signed-off-by: Jiri Olsa jolsa@kernel.org

Switching to clang-14 in Dockerfile.clang, the new
version is 14.0.0-1ubuntu1.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
The clang  14 seems to use dwarf 5 by default and TestStructAlignments
can't read it properly and fails.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Clang tries to unroll the prepend_path which ends up in really big
code which does not pass verifier. Making sure it's always unrolled
for __LARGE_BPF_PROG programs.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Switching to clang 14.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
@olsajiri olsajiri temporarily deployed to release-clang November 4, 2022 13:53 Inactive
@olsajiri olsajiri mentioned this pull request Nov 4, 2022
@olsajiri olsajiri marked this pull request as ready for review November 5, 2022 12:59
@olsajiri olsajiri requested a review from a team as a code owner November 5, 2022 12:59
@jrfastab jrfastab merged commit 4e9e436 into main Nov 7, 2022
@jrfastab jrfastab deleted the pr/olsajiri/clang_14 branch November 7, 2022 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants