From owner-freebsd-current@FreeBSD.ORG Sun Dec 23 21:00:27 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11CA5D67; Sun, 23 Dec 2012 21:00:27 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by mx1.freebsd.org (Postfix) with ESMTP id 69B718FC12; Sun, 23 Dec 2012 21:00:25 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id dq12so3031320wgb.12 for ; Sun, 23 Dec 2012 13:00:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=8k32GcMrScoBeaO+qbyFJK8b18j5lkatLIAWjM8s8NQ=; b=XGPsIj/vKgj0JqLN2BudK9X67THAZH4RB9rM+zNFDc25zLb11RY30FGQTcsw5pjbU2 cyd5LalKmgUUslaPuoMAYJBKMtbtfq1md+7pCPMD3hIJLdQjPHRSnzzmiP2M7fthSMWh IJGnQAtPZbGgE1SXuGgJYWLbTm0ffDCIHNlCPEr2GQD2QRB990RO3bFGoqHHAe2X7IHW 6+gM5n7zxDI8c7Yos9378ZzHYOUv8rX/cwcOtQTX4UiLkHy9+hiYBAGEFxepYBiMIkqG gFFDhDUvIsUhQc453HK9bM4tMxoekPw6WZMTzkcdxNfJww/3PVU/igJNckZLq/znJ9TT WKdA== X-Received: by 10.180.24.198 with SMTP id w6mr24383234wif.27.1356295937128; Sun, 23 Dec 2012 12:52:17 -0800 (PST) Received: from dft-labs.eu (n1x0n-1-pt.tunnel.tserv5.lon1.ipv6.he.net. [2001:470:1f08:1f7::2]) by mx.google.com with ESMTPS id dw4sm29966534wib.1.2012.12.23.12.52.15 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 23 Dec 2012 12:52:16 -0800 (PST) Date: Sun, 23 Dec 2012 21:52:06 +0100 From: Mateusz Guzik To: Andriy Gapon Subject: Re: compiler info in kernel identification string Message-ID: <20121223205206.GA23190@dft-labs.eu> Mail-Followup-To: Mateusz Guzik , Andriy Gapon , freebsd-current@FreeBSD.org References: <20121113234303.GA15319@dft-labs.eu> <50A5540D.2030707@FreeBSD.org> <50D70496.6030307@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <50D70496.6030307@FreeBSD.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Dec 2012 21:00:27 -0000 On Sun, Dec 23, 2012 at 03:18:14PM +0200, Andriy Gapon wrote: > on 15/11/2012 22:43 Andriy Gapon said the following: > > on 14/11/2012 01:43 Mateusz Guzik said the following: > >> Hello, > >> > >> avg@ suggested to include compiler version in the kernel so that it's > >> present in uname (and one can easly tell what was used to compile it). > >> > >> Here is my attempt: > >> http://people.freebsd.org/~mjg/patches/newvers-compiler.diff > > > > When are you committing this? > > It seems that this effort has stuck?.. > > Here is a change that I am using locally. It doesn't change uname output at > all, but rather adds a compiler version string to the kernel banner. > I had other patch in this thread that did exactly that + added sysctl kern.compiler: http://people.freebsd.org/~mjg/patches/compiler-info.diff > I may even commit this :) > So, if that matters, I have no objections to your patch. However I'd like to see kern.compiler-like sysctl added. Also if you like feel free to take my patch and improve it (your compiler detection seems to be more robust). -- Mateusz Guzik