You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the ci and test suites to run against noble in parallel.
Compatability fixes:
- Ported xdp-root-shim to libbpf 1.x that ships with noble, while preserving libbpf 0.5 that's included on focal.
- Changed the xdp test to only compiles the CLI tool (which has no DPDK deps) instead of also pulling in glb-config-check / glb-director-pcap / glb-director-stub-server (which need the DPDK headers, which are absent on noble).
- Added -I .../arch/x86/include/generated flag to support noble's newer 6.8 kernel headers. They require auto-generated asm/* headers that live only in that directory. Without it, the BPF clang compile fails with a missing-header error.
- Added $(EXTRA_BPF_INCLUDES) flag. The is an empty-by-default extension hook that lets the Dockerfile/CI inject extra include paths without editing the Makefile.
- Converted all 7 BPF maps from the legacy struct bpf_map_def SEC("maps") syntax (rejected by libbpf 1.0+) to the modern BTF-style anonymous-struct SEC(".maps") syntax
- Added -g to clang in the BPF Makefile so the resulting ELF actually contains the .BTF section that BTF-style maps require.
- Convert the various tentative definitions of debug (from log.h) to proper declarations to avoid linking issues.
0 commit comments