From owner-freebsd-arch@FreeBSD.ORG Tue Jul 9 21:12:17 2013 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1ACD5D2F; Tue, 9 Jul 2013 21:12:17 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [IPv6:2607:f8b0:400d:c01::22e]) by mx1.freebsd.org (Postfix) with ESMTP id C4A7E1CF3; Tue, 9 Jul 2013 21:12:16 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id m15so3237415qcq.5 for ; Tue, 09 Jul 2013 14:12:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=dTFNvMhR1DRL+WRVsfAdvjttodDgnITGdu+yqs/32XU=; b=OyZhMtma8iuL+gYy7CR0UrNF5QyQwovZRO0bc9z8gSfdY9/BLwPH8C/3PeU9HhQmeC Cqglfgasood2PXOmdIYg27Dlco5DTvzMqgzz/9ZeepeODB8566ZJYD/7s9RMZ7L9vMxu YA6ZPEejPNPUfX7StqMIvfZQIlsGlSUkJ+t2Uj7N12AhDtARBBhXuG+ThHdSxXL8yzQC nRutc+szAMbFxZcFvAs3H2HHMoVzW+HbmRncSZJBCZy9vIAJwU70MmZOVB9vHWWIBb3n VINspaFx9vJKQafji99A9a0tcjbNrUcetEjUAlJLqo5/5xnNTEBcbYV0lhWARufUgvuu nHPA== MIME-Version: 1.0 X-Received: by 10.49.58.70 with SMTP id o6mr22148291qeq.1.1373404336414; Tue, 09 Jul 2013 14:12:16 -0700 (PDT) Sender: rmh.aybabtu@gmail.com Received: by 10.49.26.193 with HTTP; Tue, 9 Jul 2013 14:12:16 -0700 (PDT) In-Reply-To: <47C53991-4D25-483D-A607-9F2983349481@bsdimp.com> References: <20130709185846.GA19508@gmail.com> <47C53991-4D25-483D-A607-9F2983349481@bsdimp.com> Date: Tue, 9 Jul 2013 23:12:16 +0200 X-Google-Sender-Auth: bHO0T1NNWyxf6t0Mo1mpvWUHHs4 Message-ID: Subject: Re: ABI change in libkvm (kvm_uread removal) From: Robert Millan To: Warner Losh Content-Type: text/plain; charset=UTF-8 Cc: Mikolaj Golub , freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jul 2013 21:12:17 -0000 2013/7/9 Warner Losh : > 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