Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2002 10:56:10 -0700 (PDT)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Garance A Drosihn <drosih@rpi.edu>, Adrian Penisoara <ady@freebsd.ady.ro>, freebsd-stable@FreeBSD.ORG, bde@FreeBSD.ORG, obrien@FreeBSD.ORG, dillon@FreeBSD.ORG
Subject:   Re: __FBSDID breaks buildworld upgrading
Message-ID:  <200207031756.g63HuAlp013423@apollo.backplane.com>
References:  <Pine.BSF.4.10.10207031724160.48299-100000@ady.warpnet.ro> <xzpk7oc6dlz.fsf@flood.ping.uio.no> <p05111722b948d5ee54eb@[128.113.24.47]> <xzppty44tdi.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
    You beat me to it, I was just about to comment that a better way would
    be to do the equivalent #define __FBSDID() to empty on the command line
    as part of the build process.

    __FBSDID() exists in part to avoid having to have #ifdef's all over the
    place.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>

:Garance A Drosihn <drosih@rpi.edu> writes:
:> We talk about providing support for older releases of FreeBSD, but
:> here we are moving to a world where EVERY SINGLE SOURCE FILE in
:> the systsem will need some kind of futzing around with to compile
:> it on systems which are just 9 months old (as it looks like __FBSDID
:> was MFC'ed into -stable on Sept 28, 2001).
:
:Actually, no.  I've backed out my commit and made a different commit
:to bsd.sys.mk that solves this in a generic way.
:
:> I really do not mean this as an insult to anyone, but I think we
:> are so fascinated with the few real advantages of __FBSDID (such
:> as getting the RCS-ids into a separate ELF section) that we are
:> sinking far too much effort into trying to make it work.  Are
:> the benefits really worth all that effort?
:
:Yes.  Amongst other things, it allows people to easily determine what
:sources a particular binary or library was built from, which again
:allows admins to make much more informed decisions about potential
:security vulnerabilities in their systems.  It also helps debug
:problems reported by inexperienced users.
:
:DES
:-- 
:Dag-Erling Smorgrav - des@ofug.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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