Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2012 21:52:06 +0100
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: compiler info in kernel identification string
Message-ID:  <20121223205206.GA23190@dft-labs.eu>
In-Reply-To: <50D70496.6030307@FreeBSD.org>
References:  <20121113234303.GA15319@dft-labs.eu> <50A5540D.2030707@FreeBSD.org> <50D70496.6030307@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mjguzik gmail.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121223205206.GA23190>