Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2012 17:52:23 +0800 (WST)
From:      Chris Hoy Poy <kryanth@staff.gopc.net>
To:        "=?utf-8?B?RXJpayBDZWRlcnN0cmFuZA==?=" <erik@cederstrand.dk>, "=?utf-8?B?QW5kcml5IEdhcG9u?=" <avg@freebsd.org>
Cc:        =?utf-8?B?SWFuIExlcG9yZQ==?= <freebsd@damnhippie.dyndns.org>, =?utf-8?B?TWF0ZXVzeiBHdXppaw==?= <mjguzik@gmail.com>, =?utf-8?B?RGltaXRyeSBBbmRyaWM=?= <dim@FreeBSD.org>, freebsd-current@FreeBSD.org
Subject:   =?utf-8?B?UmU6IGNvbXBpbGVyIGluZm8gaW4ga2VybmVsIGlkZW50aWZpY2F0aW9uIHN0cmlu?= =?utf-8?B?Zw==?=
Message-ID:  <7A917D2C-CACB-4CB5-B67D-736791C8FB2D@central-data.net>

next in thread | raw e-mail | index | archive | help


BeBei
Sent from my HTC Velocity 4G on the Next G network

----- Reply message -----
From: "Erik Cederstrand" <erik@cederstrand.dk>
To: "Andriy Gapon" <avg@freebsd.org>
Cc: "Ian Lepore" <freebsd@damnhippie.dyndns.org>, "Mateusz Guzik" <mjguzik@gmail.com>, "Dimitry Andric" <dim@FreeBSD.org>, <freebsd-current@FreeBSD.org>
Subject: compiler info in kernel identification string
Date: Fri, Nov 16, 2012 5:21 pm




Den 16/11/2012 kl. 08.34 skrev Andriy Gapon <avg@freebsd.org>:

> on 16/11/2012 01:09 Dimitry Andric said the following:
>> And as I remarked in another reply, now that I have thought about it a
>> bit, I would much rather see this information moved to a sysctl or dmesg
>> line, than in uname.  With the happy side effect that no existing uname
>> parsers would be confused!
> 
> I would still like to have at least compiler's "base name" or type or something
> in uname.

This has been brought up before, but what about putting all this in a separate file, e.g. /etc/buildinfo?

At least I'd like this to be configurable. I'm trying to get FreeBSD code in a shape where it can optionally produce deterministic binaries from two different builds (i.e. comparable with md5) as long as the binaries are functionally equivalent, and "irrelevant" info like compiler version, hostname, username, timestamp, absolute path etc. are a nuisance if they can't be turned off with -fno-ident, -frandom-seed, -DSTRIP_FBSDID, ar -D and the like.

Thanks,
Erik
_______________________________________________
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?7A917D2C-CACB-4CB5-B67D-736791C8FB2D>