From owner-freebsd-arch@FreeBSD.ORG Tue Jan 31 22:16:41 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E5A9106566B; Tue, 31 Jan 2012 22:16:41 +0000 (UTC) (envelope-from gleb.kurtsou@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6AF628FC0C; Tue, 31 Jan 2012 22:16:39 +0000 (UTC) Received: by lagz14 with SMTP id z14so394757lag.13 for ; Tue, 31 Jan 2012 14:16:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=WFNyU7sRUpwk7/fq3NTDnvGUsVHWHdFPfpsM9Y4mL1Y=; b=Yd/zzYlO7VO77uR/tLc58nD/OA9uEN9IhILnhkQyA0lJFtAOTZEbwacRxZ1LDRNr3J DPK5FWg3pTcwJpj8mS5SMzhA0kq8NNPQZ8bU+tgYmJLaf8Am9OoKkxn2qmRXNQ4CniL1 2nhXSrbVZ9XsGO+z84RcbS6HfKcsNV0zT3nZQ= Received: by 10.152.110.6 with SMTP id hw6mr12344335lab.37.1328046590615; Tue, 31 Jan 2012 13:49:50 -0800 (PST) Received: from localhost ([78.157.92.5]) by mx.google.com with ESMTPS id a8sm6008844lba.15.2012.01.31.13.49.49 (version=SSLv3 cipher=OTHER); Tue, 31 Jan 2012 13:49:49 -0800 (PST) Date: Tue, 31 Jan 2012 23:49:55 +0200 From: Gleb Kurtsou To: d@delphij.net Message-ID: <20120131214955.GA23246@reks> References: <4F2848C3.2090606@delphij.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: mdf@FreeBSD.org, freebsd-arch@freebsd.org Subject: Re: Testing to make sure there is no ABI change X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2012 22:16:41 -0000 On (31/01/2012 12:05), mdf@FreeBSD.org wrote: > Gleb has a tool that examines DWARF debug code, and some wrappers to > add the libc syscall shims as well. I got stalled by $WORK on the > ino64 branch so I haven't used it yet. > > For KBI, though, I think it's still by hand. It's also hosted on github: https://github.com/glk/shlib-compat shlib-compat can be used on kernel code as well to compare *.o files with debugging info. You'll need to specify list of symbols, e.g. with --include-sym/--exclude-sym. But it's scope is limited by function signature checks, you won't be able to compare binary sysctls, ioctls, etc. Thanks, Gleb. > > Cheers, > matthew > > On Tue, Jan 31, 2012 at 12:02 PM, Xin Li wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA256 > > > > Hi, > > > > Is there a better way to test if there is a breaking ABI change than > > eye inspection for a C library? > > > > Cheers, > > - -- > > Xin LI    https://www.delphij.net/ > > FreeBSD - The Power to Serve!           Live free or die > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v2.0.18 (FreeBSD) > > > > iQEcBAEBCAAGBQJPKEjDAAoJEG80Jeu8UPuzY2oH/0GPyvGPKYSuG2bxfSsaVBmt > > SbyXtYbHHK8qRVy0AoD5Uq0v3UElrSSQKwYyPieq3WoxRsh/Clekpg1bdvnthMcU > > OahMUqFmySgmXflNxHaMmmDPEKTEVALqABB8nzPqqTEOxx91p2aDw8X+rPrWxT18 > > AajVwvM+c9LOgsu+KVrVcG/e1lMWizuo7PtCSxsuyBGNAq0b5Gi9GUai0AY6Xm7e > > awCVjeA1mI04v8J6130ePrOV8z7eEIl9QK6r2JHPRma6CDr687uXAzZsAJ5YPBoT > > n1pRmOqTTvIaezO/DjORC74rMOkaohrdIj8wpJnQQmHUuM/dYUwNzg/ePmFX/A0= > > =6215 > > -----END PGP SIGNATURE----- > > _______________________________________________ > > freebsd-arch@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"