Re: FreeBSD/alpha kern.flp flood

From: Bruce Evans <bde_at_zeta.org.au>
Date: Wed, 2 Apr 2003 15:30:46 +1000 (EST)
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_at_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
Received on Tue Apr 01 2003 - 19:30:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:02 UTC