Project

General

Profile

Actions

Feature #4325

open

xdp compile warnings on 5.4 kernels

Added by Peter Manev almost 2 years ago. Updated about 1 month 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 #1

Updated by Victor Julien almost 2 years ago

  • Status changed from New to Assigned
  • Assignee set to Eric Leblond
  • Target version set to 7.0.0-beta1
Actions #2

Updated by Victor Julien about 1 month ago

  • Target version changed from 7.0.0-beta1 to 8.0beta1
Actions #3

Updated by Victor Julien about 1 month ago

  • Status changed from Assigned to New
  • Assignee changed from Eric Leblond to Community Ticket
  • Target version changed from 8.0beta1 to TBD
Actions

Also available in: Atom PDF