Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2003 15:30:46 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Ruslan Ermilov <ru@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: FreeBSD/alpha kern.flp flood
Message-ID:  <20030402152618.F25349@gamplex.bde.org>
In-Reply-To: <20030401210116.GA43262@sunbay.com>
References:  <20030329190908R.matusita@jp.FreeBSD.org> <3E857E9C.F7476A32@mindspring.com><20030331150348.GD21700@sunbay.com> <20030401135652.A53787@FreeBSD.org> <20030401210116.GA43262@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2 Apr 2003, Ruslan Ermilov wrote:

> On Tue, Apr 01, 2003 at 12:22:58PM -0800, David O'Brien wrote:
> > On Tue, Apr 01, 2003 at 01:56:52PM -0600, Juli Mallett wrote:
> > > * De: David O'Brien <obrien@freebsd.org> [ Data: 2003-04-01 ]
> > > 	[ Subjecte: Re: FreeBSD/alpha kern.flp flood ]
> > > > On Mon, Mar 31, 2003 at 06:03:48PM +0300, Ruslan Ermilov wrote:
> > > > > Anyway, I've committed the fix to release/Makefile that strips
> > > > > the .comment section out from the BOOTMFS kernel.  If you have
> > > > ...
> > > > Why can't the bits be built with -Dlint to remove rcsid's.
> > >
> > > Because that would change other things, wouldn't it.  Like maybe
> > > structure sizes or macros which need to actually work?
> >
> > I didn't see any issues like that with a very curiory look at the
> > sources.  Are you willing to take a look also?
> >
> With my very cursory look, I think the "#ifdef lint" part of
> <sys/cdefs.h> is going to be a major problem here.

This ifdef is a bug and is not present in my version.  It makes lint
see different things than the compiler would and thus breaks checking
of some areas.  E.g., it hides the syntax error "__packed" and binary
compatibility breakage for compilers that don't support __packed, and
this breakage isn't even limited to the kernel.

I still have the lint ifdef for __FBSDID().

Bruce



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