ABI stability in FreeBSD By ShengYi Hung @BsdcanOrg
ABI stability in FreeBSD By ShengYi Hung  @BsdcanOrg
Uploaded July 2025 | Updated September 2026, 1 hour ago
The FreeBSD project doesn't guarantee the ABI stability in major version. However, for the minor version, we also not fully guarantee. This cause maintaining a out-of-tree module (at least for Kernel module like VirtualBox) a big problem because module compiles from 14.0 may not able to use at 14.1. This also cause some problem when distributing modules with freshpkg in our base because our pkg system only support build for all major version.

A wiki page distribute the workflow of CTF diff and script:

wiki.freebsd.org/ShengYiHong/ABIStability?highlight=%28ABI%29

The outline of my slides will be as following:

What is ABI and why we needs to stablize ABI?

How to maintain ABI stability (a tool to check and ABI tag in binary)?

ABI information (CTF and dwarf) in elf and why we use CTF?

New tools CTFDiff: Why implement new CTFDiff and don't use the illumos one? (we port libctf and other command line tools like ctfdump to FreeBSD from illumos)

CTFDiff script: scripts download tarball from web (kernel tarball) so that we can compare abi between local compile one and web.

Short demo (maybe) for ctfdiff ?

Current status of CTFDiff (needs reviewers, licenses issue (CDDL))

Future works: regulize a stable function/obj ABI/API in kernel.

bsdcan.org/2025/timetable/timetable-ABI-stability-in.html
ABI stability in FreeBSD By ShengYi Hungquiz: tiny VMs for kernel development By: Rob NorrisBSDCan Saturday 2025-06-14: 1110Solar Monitoring for BSD By Diane BruceThe Accidental Release Engineer By: Colin PercivalSyspack: Helper Toolkit for Sysadmins and Developers Based on BSD Make By Hiroki Sato BSDCan 2023BSDCan Friday 2026-06-19: 1120Automating My FreeBSD Lab From Setup to Daily Use with Ansible & Salt by Roller AngelRFPF: fast packet filtering in userspace: Marko ZecLi-Wen Hsu: How to bootstrap a BSD conference   BSDCan 2018Improving block I/O compatibility in bhyve: Sergui Weisz
BSDCan |

ABI stability in FreeBSD By ShengYi Hung

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER