Skip to content

[Bug Report] ebpf compile crashes during build with new clang/llvm 23.x #1686

Description

@UffeJakobsen

[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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions