Date: Wed, 14 Nov 2012 08:14:08 +0800 From: Jov <zhao6014@gmail.com> To: freebsd-current@freebsd.org, avg@freebsd.org, Mateusz Guzik <mjguzik@gmail.com> Subject: Re: compiler info in kernel identification string Message-ID: <CADyrUxOKphJQ%2B1R-fZXpAOAu6KkFmNDH-h=t%2Bej-1xrFCiuM5A@mail.gmail.com> In-Reply-To: <20121113234303.GA15319@dft-labs.eu> References: <20121113234303.GA15319@dft-labs.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <mjguzik@gmail.com>= =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 <mjguzik gmail.com> > _______________________________________________ > 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= " >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADyrUxOKphJQ%2B1R-fZXpAOAu6KkFmNDH-h=t%2Bej-1xrFCiuM5A>