Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2013 23:12:16 +0200
From:      Robert Millan <rmh@freebsd.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Mikolaj Golub <trociny@freebsd.org>, freebsd-arch@freebsd.org
Subject:   Re: ABI change in libkvm (kvm_uread removal)
Message-ID:  <CAOfDtXM_67mz6-2mFQ7Y_Yb6gGgiZKAeTb-ZBe8u%2BVbYw0dRyg@mail.gmail.com>
In-Reply-To: <47C53991-4D25-483D-A607-9F2983349481@bsdimp.com>
References:  <CAOfDtXPT-BQt9aqTNYHRK0XdiqKZsPnsO6s9vei=XCpyBvZZ6w@mail.gmail.com> <20130709185846.GA19508@gmail.com> <CAOfDtXMC_q3MSV3-wYCRj=mtQ0F5e_ZiqccF3RUA4F4BHKmfYw@mail.gmail.com> <47C53991-4D25-483D-A607-9F2983349481@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2013/7/9 Warner Losh <imp@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOfDtXM_67mz6-2mFQ7Y_Yb6gGgiZKAeTb-ZBe8u%2BVbYw0dRyg>