Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

Using XDP with clang/llvm version 9 #124

@maharishib

Description

@maharishib

Hi,
My XDP code is running perfectly with clang/llvm version < 8. When compiling using v9, I get the following error:
0 maps not supported in current map section!
Error fixing up map structure, incompatible struct bpf_elf_map used?
Error fetching ELF ancillary data!

I need to use v9 as bpf_spin_locks are not supported by clang/llvm version < 8 due to some BTF annotation issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions