Subject: Re: mbrlabel bug
To: None <current-users@netbsd.org, mouse@Rodents.Montreal.QC.CA>
From: Wolfgang Solfrank <ws@tools.de>
List: current-users
Date: 11/25/1998 21:00:19
Hi,

> > Yup.  -O0 lets it compile.  So we'll need something like this?
> > +
> > +.if (${MACHINE_ARCH} == "m68k")
> > +COPTS+=-O0
> > +.endif
> 
> Well, I suppose you could, but I'd prefer to change
> 
> 	off_t foo = xxx;
> 
> to
> 
> 	off_t foo = 0;
> 	...
> 	foo = xxx;

I strongly oppose this.  It's a compiler bug, and it happens only on some
platforms (actually looks like only on m68k).  If it can be worked around
by disabling optimization for this platform until the bug is fixed, this
looks like the sounder thing to me.

> I'd still rather fix the compiler bug, of course, but can't see that as
> likely to happen anytime soon.

Of course, this would be ideal.

BTW, anyone tried it with egcs on m68k?  (I don't know whether egcs does
even work there...)

Ciao,
Wolfgang
-- 
ws@TooLs.DE     (Wolfgang Solfrank, TooLs GmbH) 	+49-228-985800