[Bug Report] ebpf compile crashes during build with new clang/llvm 23.x
Archlinux recently updated clang/llvm and friends from 22.x to 23.x
Since then it has not been possible to compile the opensnitch eBPF parts - clang/llvm simply crashes during compile
I raised an issue with the LLVM project
llvm/llvm-project#228348
Their comment is that this:
llvm/llvm-project#228348 (comment)
Quote:
Looking at https://github.com/evilsocket/opensnitch/blob/master/ebpf_prog/Makefile it seems to be calling clang without any --target, so this is producing IR for the host triple. And then that gets feds to llc -march=bpf.
If that's indeed what it does, then that is certainly not supposed to work.
[Bug Report] ebpf compile crashes during build with new clang/llvm 23.x
Archlinux recently updated clang/llvm and friends from 22.x to 23.x
Since then it has not been possible to compile the opensnitch eBPF parts - clang/llvm simply crashes during compile
I raised an issue with the LLVM project
llvm/llvm-project#228348
Their comment is that this:
llvm/llvm-project#228348 (comment)
Quote: