ABI change in libkvm (kvm_uread removal)

Robert Millan rmh at freebsd.org
Tue Jul 9 21:12:17 UTC 2013


2013/7/9 Warner Losh <imp at bsdimp.com>:
> This is far more interesting than kvm_uread. How hard would it be to somehow bring these tools into FreeBSD to run as part of our build and/or release process?

We use a tool called dpkg-gensymbols to generate symbol lists, such as this one:

http://anonscm.debian.org/viewvc/glibc-bsd/trunk/freebsd-libs/debian/libkvm0.symbols?revision=3971&view=markup

Every time the code is built, result is compared with previously
recorded list. If one of the previous symbols is missing, the build
fails.

I don't think the program itself may be useful outside of Debian, but
perhaps you can take some ideas from it:

http://anonscm.debian.org/gitweb/?p=dpkg/dpkg.git;a=blob;f=scripts/dpkg-gensymbols.pl;h=28a788da5ec89fff0b09efaff1a14457fa2eb0f7;hb=HEAD

--
Robert Millan


More information about the freebsd-arch mailing list