Skip to content

Conversation

@abhi-jha
Copy link
Contributor

@abhi-jha abhi-jha commented Feb 7, 2025

Check for clang compiler during building ebpf.

Currently the doc doesn't mention clang dependency explicitly : https://docs.fluentbit.io/manual/pipeline/inputs/ebpf

Doc fix : fluent/fluent-bit-docs#1570

@abhi-jha abhi-jha force-pushed the abhishek/fix-ebpf-build-with-clang branch 2 times, most recently from aa1fc7c to 3310f3c Compare February 7, 2025 15:54
@cosmo0920
Copy link
Contributor

I believe that just checking existence of clang is not enough.
LLVM 3.7.0 started to support BPF backend:
llvm/llvm-project@e4c8c80

Should we add a constraint of version for clang?

@abhi-jha
Copy link
Contributor Author

We can add a version check for clang for minimum version requirement.

@abhi-jha abhi-jha force-pushed the abhishek/fix-ebpf-build-with-clang branch from dadbf8e to 382292f Compare February 15, 2025 17:34
@abhi-jha
Copy link
Contributor Author

@cosmo0920 Let me know if there's more to be done here.

Copy link
Contributor

@cosmo0920 cosmo0920 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@cosmo0920 cosmo0920 added this to the Fluent Bit v4.0.0 milestone Feb 20, 2025
@niedbalski niedbalski merged commit 4851c4b into fluent:master Feb 21, 2025
40 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants