Skip to content

Add support for ubuntu noble#188

Draft
mpenny-github wants to merge 24 commits into
masterfrom
noble_support
Draft

Add support for ubuntu noble#188
mpenny-github wants to merge 24 commits into
masterfrom
noble_support

Conversation

@mpenny-github
Copy link
Copy Markdown
Contributor

@mpenny-github mpenny-github commented May 20, 2026

This is the final pull request in a series to add support for running glb-director on ubuntu noble.
Previous PR: #187

The key difference between the focal build and the noble build is that we no longer include the glb-director using the DPDK version of the driver, which is no longer used or support.

Update the ci and test suites to run against noble in parallel.

Compatability fixes:

  1. Ported xdp-root-shim to libbpf 1.x that ships with noble, while persving libbpf 0.5 that's included on focal.
  2. 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 DPDK headers absent on noble).
  3. Removed the hard-coded ENV EXTRA_BPF_INCLUDES="-I /usr/src/linux-headers-6.10.14-linuxkit/..." (which only existed on Docker Desktop on macOS, not on GitHub Actions' azure-kernel runners).
  4. 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
  5. Added -g to clang in the BPF Makefile so the resulting ELF actually contains the .BTF section that BTF-style maps require.

mpenny-github and others added 24 commits May 19, 2026 11:45
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…run on arm64 hosts. Pin to a specific focal version to harden security
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant