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

Bug#100535: gcc-3.0-20010610 refuses to compile correct



> On 11 Jun 01 at 13:58, Daniel Jacobowitz wrote:
> 
> > >   gcc_3.0-3.0-0pre010609 refuses to compile Linux kernel
> > > because of it does not treat following code as correct
> > > anymore. gcc-2.95.4-20010604 and gcc-3.0-20010426 both
> > > compile this code without any complaints.
> > > 
> > > -------
> > > #include <sys/time.h>
> > > 
> > > extern struct timeval xtime;
> > > 
> > > volatile struct timeval xtime;
> > > -------
> > 
> > I'd call that a kernel bug.  The extern definition is substantially
> > worse than useless without the volatile keyword present in it!
> 
> Alan Cox just told me that he applied my patch to kernel, so gcc 
> maintainer can just close this bug. Or can I do that myself?

It will be fixed in the next -ac - the bug is clearly kernel so either close
it or transfer it to the kernel 2.4 packages as debian appropriate




Reply to: