[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel 2.2.12



On Wed, Sep 01, 1999 at 04:04:21PM +0200, Andreas Piesk wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> on Mon, 30 Aug 1999, Ernest Johanson wrote:
> > I just upgraded a potato system to 2.2.12 due to the 2.2.11 memory leak.
> > The release notes say that the .12 kernel won't compile with gcc 2.95. I
> > have gcc 2.91.66-2 on that system and it compiled ok, a few warnings but
> > no errors. System came up with no problem and no memory leak.
> >
> 
> hiho,
> 
> i compiled 2.2.12 with gcc 2.95 without any problems.
> i think -fno-strict-aliasing must be set.
> no problems so far.

2.2.12 Makefile has now this setting:


CFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer

# use '-fno-strict-aliasing', but only if the compiler can take it
CFLAGS += $(shell if $(CC) -fno-strict-aliasing -S -o /dev/null -xc
/dev/null >/dev/null 2>&1; then echo "-fno-strict-aliasing"; fi)


Mirek


Reply to: