Project

General

Profile

Actions

Feature #4325

open

xdp compile warnings on 5.4 kernels

Added by Peter Manev almost 4 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Target version:
Effort:
Difficulty:
Label:

Description

When trying latest master on 5.4+ kernel (Focal LTS) there are cpl warnings around xdp

  CC       win32-syscall.o
  CC       win32-misc.o
  CC       win32-service.o
util-ebpf.c:368:29: warning: 'bpf_program__title' is deprecated: BPF program title is confusing term; please use bpf_program__section_name() instead [-Wdeprecated-declarations]
        const char *title = bpf_program__title(bpfprog, 0);
                            ^
/usr/include/bpf/libbpf.h:202:12: note: 'bpf_program__title' has been explicitly marked deprecated here
LIBBPF_API LIBBPF_DEPRECATED("BPF program title is confusing term; please use bpf_program__section_name() instead")
           ^
/usr/include/bpf/libbpf_common.h:18:47: note: expanded from macro 'LIBBPF_DEPRECATED'
#define LIBBPF_DEPRECATED(msg) __attribute__((deprecated(msg)))
                                              ^
1 warning generated.
  CCLD     suricata
Actions

Also available in: Atom PDF