On Tue, 2003-09-23 at 09:56, Cory Visi wrote:
> On Tue, 23 Sep 2003, Christoph Hellwig wrote:
> > On Tue, Sep 23, 2003 at 09:00:25AM -0400, Cory Visi wrote:
> > > gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
> > >
> > > The lines in xfs_log.h seem to only affect 2.96. Could this still be an
> > > issue? Should I try the 2.96 code?
> > It should not be needed. You could try it anyway or even better try
> > an official gnu compiler release or one of the major distros with gcc
> > expertise instead of strangely patched stuff.
> Thank you for tipping me off to compiler/gcc problems. I was compiling the
> kernel with -Os. When I reverted this back to -O2, XFS recovery began
> Should XFS be able to be compiled with -Os? Is my gcc doing something
> funky with -Os? Hopefully this experience will become helpful to someone.
Maybe you should ask if gcc should be able to cope with XFS ;-) if
changing the optimization level breaks the code, then the compiler is
usually at fault.
> Thank you,
> Cory Visi
Steve Lord voice: +1-651-683-3511
Principal Engineer, Filesystem Software email: lord@xxxxxxx