From owner-freebsd-current@FreeBSD.ORG Wed Nov 14 00:14:15 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 0A3B1F0E; Wed, 14 Nov 2012 00:14:15 +0000 (UTC) (envelope-from zhao6014@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8F77F8FC14; Wed, 14 Nov 2012 00:14:14 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so10520459vba.13 for ; Tue, 13 Nov 2012 16:14:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=7yldNng4av+ghtznZ0cXEq1zCRjOViOm+t+A5Vt3WkY=; b=lfAGsFpgzhY1qsOOBw6cI1CoMZ92xsot875na//nqHRnzABc9ip0OZX5+B040BgLoi Z47iolSKcUyt3NC4kOepi51VRVBUixkORDcexogz63602zxCazDiA2GmWkdFZyHi5Ecr jmHvVhG8K7zG7xCKX41gqHYHmqAjqeMqyVK9bQ+FY1vaOEb0ic+hmuAKwiI9qgI9Rdm/ pldlfZ7P9RDWdHmzxEJKu1Xhc15RiG2pcoJIPllWzlgya4tVYJs7FCBbkMrhxQRTTxBI 36HGRPdud60PcMtrgPdnqLv+nraVkKpjRMxFmYsv5VosMBJjoVPdAiGIsM2Fdj2tRZEN GB1A== MIME-Version: 1.0 Received: by 10.52.72.42 with SMTP id a10mr107608vdv.48.1352852048409; Tue, 13 Nov 2012 16:14:08 -0800 (PST) Received: by 10.58.208.134 with HTTP; Tue, 13 Nov 2012 16:14:08 -0800 (PST) Received: by 10.58.208.134 with HTTP; Tue, 13 Nov 2012 16:14:08 -0800 (PST) In-Reply-To: <20121113234303.GA15319@dft-labs.eu> References: <20121113234303.GA15319@dft-labs.eu> Date: Wed, 14 Nov 2012 08:14:08 +0800 Message-ID: Subject: Re: compiler info in kernel identification string From: Jov To: freebsd-current@freebsd.org, avg@freebsd.org, Mateusz Guzik Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Wed, 14 Nov 2012 00:14:15 -0000 good idea. show version cmd in postgresql prints os version,compiler info etc. useful for problem report. jov =D4=DA 2012-11-14 =C9=CF=CE=E77:43=A3=AC"Mateusz Guzik" = =D0=B4=B5=C0=A3=BA > 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 > > Basically adds compiler name and version/revision after revision of > system sources. > > Sample output from dirty git sources: > gcc: > FreeBSD 10.0-CURRENT #7 r242962=3D264d569-dirty(gcc-4.2.1-20070831): Wed > Nov 14 00:11:51 CET 2012 > > clang: > FreeBSD 10.0-CURRENT #8 r242962=3D264d569-dirty(clang-r162107): Wed Nov 1= 4 > 00:12:26 CET 2012 > > Sample output from svn with gcc: > FreeBSD 10.0-CURRENT #1 r243006:243007M(gcc-4.2.1-20070831): Wed Nov 14 > 00:41:23 CET 2012 > > I have no strong opinions on format, I just want this information easly > accessible. > > Comments? > > -- > Mateusz Guzik > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " >