Project

General

Profile

Feature #4325

xdp compile warnings on 5.4 kernels

Added by Peter Manev 4 months ago. Updated 4 months ago.

Status:
Assigned
Priority:
Normal
Assignee:
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
#1

Updated by Victor Julien 4 months ago

  • Status changed from New to Assigned
  • Assignee set to Eric Leblond
  • Target version set to 7.0rc1

Also available in: Atom PDF