nevermosby/linux-bpf-learning

ip link set dev 加载在内核出现问题

Closed this issue · 1 comments

你好 clang完.c没有问题,但是加载内核的时候出现12 bytes struct bpf_elf_map fixup performed due to size mismatch!
ELF contains relo data for non ld64 instruction at offset 19! Compiler bug?!

  • Try to annotate functions with always_inline attribute!
    Error fetching program/map!
    是什么情况呢

@maquess 你好,请问具体是运行哪个demo代码?系统环境是怎样的?内核版本?