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

Bug#278413: marked as done (Error in compiling kernel-source on MAC)



Your message dated Sun, 19 Jul 2009 13:47:42 +0200
with message-id <20090719114742.GA12700@galadriel.inutil.org>
and subject line Re: Error in compiling kernel-source on MAC
has caused the Debian Bug report #278413,
regarding Error in compiling kernel-source on MAC
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
278413: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=278413
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package:  kernel-source
  Version: 2.6.8

The problem is compiling the kernel-source using the attached config file:

arch/ppc/syslib/open_pic.c: In function `openpic_mapirq':
arch/ppc/syslib/open_pic.c:779: array index in non-array initializer
arch/ppc/syslib/open_pic.c:779: (near initialization for `irqdest')
arch/ppc/syslib/open_pic.c:779: warning: missing braces around initializer
arch/ppc/syslib/open_pic.c:779: warning: (near initialization for
`irqdest.bits')
make[1]: *** [arch/ppc/syslib/open_pic.o] Error 1
make: *** [arch/ppc/syslib] Error 2

the fix:

--- open_pic.c Mon Aug 30 11:16:07 2004
+++ open_pic_mod.c Mon Aug 30 11:15:39 2004
@@ -776,7 +776,7 @@
if (ISR[irq] == 0)
return;
if (!cpus_empty(keepmask)) {
- cpumask_t irqdest = { .bits[0] = openpic_read(&ISR[irq]->Destination) };
+ cpumask_t irqdest = { irqdest.bits[0] =
openpic_read(&ISR[irq]->Destination) };
cpus_and(irqdest, irqdest, keepmask);
cpus_or(physmask, physmask, irqdest);
}

Attachment: .config
Description: Binary data


--- End Message ---
--- Begin Message ---
On Thu, Dec 25, 2008 at 04:25:25PM +0100, Moritz Muehlenhoff wrote:
> reassign 278413 linux-2.6
> thanks
> 
> On Tue, Oct 26, 2004 at 10:28:12PM +0200, Bernardi Giorgio wrote:
> > 
> > Package:  kernel-source
> >   Version: 2.6.8
> > 
> > The problem is compiling the kernel-source using the attached config file:
> > 
> > arch/ppc/syslib/open_pic.c: In function `openpic_mapirq':
> > arch/ppc/syslib/open_pic.c:779: array index in non-array initializer
> > arch/ppc/syslib/open_pic.c:779: (near initialization for `irqdest')
> > arch/ppc/syslib/open_pic.c:779: warning: missing braces around initializer
> > arch/ppc/syslib/open_pic.c:779: warning: (near initialization for
> > `irqdest.bits')
> > make[1]: *** [arch/ppc/syslib/open_pic.o] Error 1
> > make: *** [arch/ppc/syslib] Error 2
> > 
> > the fix:
> > 
> > --- open_pic.c Mon Aug 30 11:16:07 2004
> > +++ open_pic_mod.c Mon Aug 30 11:15:39 2004
> > @@ -776,7 +776,7 @@
> > if (ISR[irq] == 0)
> > return;
> > if (!cpus_empty(keepmask)) {
> > - cpumask_t irqdest = { .bits[0] = openpic_read(&ISR[irq]->Destination) };
> > + cpumask_t irqdest = { irqdest.bits[0] =
> > openpic_read(&ISR[irq]->Destination) };
> > cpus_and(irqdest, irqdest, keepmask);
> > cpus_or(physmask, physmask, irqdest);
> > }
> 
> Does this error still occur with more recent kernel versions?

No further feedback, closing the bug.

If anyone reencounters the problem, please reopen this bug.

Cheers,
        Moritz


--- End Message ---

Reply to: