linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Building current git for 405 is broken
@ 2009-01-07 14:10 Matthias Fuchs
  2009-01-07 14:36 ` Josh Boyer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Matthias Fuchs @ 2009-01-07 14:10 UTC (permalink / raw)
  To: linuxppc-dev

Hi Benjamin,

commit 2a4aca114439 (powerpc/mm: Split low level tlb invalidate for nohash processors)
breaks building for 40x CPUs. This is what I get when building for the walnut board:

  CC      arch/powerpc/kernel/prom.o
In file included from arch/powerpc/kernel/prom.c:56:
arch/powerpc/mm/mmu_decl.h: In function '_tlbil_all':
arch/powerpc/mm/mmu_decl.h:34: error: expected ';' before '}' token
arch/powerpc/mm/mmu_decl.h:36: error: invalid storage class for function '_tlbil_pid'
arch/powerpc/mm/mmu_decl.h: In function '_tlbil_pid':
arch/powerpc/mm/mmu_decl.h:38: error: expected ';' before '}' token
arch/powerpc/mm/mmu_decl.h:53: warning: ISO C90 forbids mixed declarations and code
arch/powerpc/mm/mmu_decl.h:62: error: invalid storage class for function '_tlbivax_bcast'
arch/powerpc/kernel/prom.c:90: error: invalid storage class for function 'find_flat_dt_string'

Seems to be a result of some missing types or whatever. I suppose you are 
more familiar with that code than I am ;-)

Matthias

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building current git for 405 is broken
  2009-01-07 14:10 Building current git for 405 is broken Matthias Fuchs
@ 2009-01-07 14:36 ` Josh Boyer
  2009-01-07 14:37 ` Kumar Gala
  2009-01-07 21:13 ` Benjamin Herrenschmidt
  2 siblings, 0 replies; 4+ messages in thread
From: Josh Boyer @ 2009-01-07 14:36 UTC (permalink / raw)
  To: Matthias Fuchs; +Cc: linuxppc-dev

On Wed, Jan 07, 2009 at 03:10:45PM +0100, Matthias Fuchs wrote:
>Hi Benjamin,
>
>commit 2a4aca114439 (powerpc/mm: Split low level tlb invalidate for nohash processors)
>breaks building for 40x CPUs. This is what I get when building for the walnut board:
>
>  CC      arch/powerpc/kernel/prom.o
>In file included from arch/powerpc/kernel/prom.c:56:
>arch/powerpc/mm/mmu_decl.h: In function '_tlbil_all':
>arch/powerpc/mm/mmu_decl.h:34: error: expected ';' before '}' token
>arch/powerpc/mm/mmu_decl.h:36: error: invalid storage class for function '_tlbil_pid'
>arch/powerpc/mm/mmu_decl.h: In function '_tlbil_pid':
>arch/powerpc/mm/mmu_decl.h:38: error: expected ';' before '}' token
>arch/powerpc/mm/mmu_decl.h:53: warning: ISO C90 forbids mixed declarations and code
>arch/powerpc/mm/mmu_decl.h:62: error: invalid storage class for function '_tlbivax_bcast'
>arch/powerpc/kernel/prom.c:90: error: invalid storage class for function 'find_flat_dt_string'
>
>Seems to be a result of some missing types or whatever. I suppose you are 
>more familiar with that code than I am ;-)

He sent a patch to fix this last night.

josh

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building current git for 405 is broken
  2009-01-07 14:10 Building current git for 405 is broken Matthias Fuchs
  2009-01-07 14:36 ` Josh Boyer
@ 2009-01-07 14:37 ` Kumar Gala
  2009-01-07 21:13 ` Benjamin Herrenschmidt
  2 siblings, 0 replies; 4+ messages in thread
From: Kumar Gala @ 2009-01-07 14:37 UTC (permalink / raw)
  To: Matthias Fuchs; +Cc: linuxppc-dev


On Jan 7, 2009, at 8:10 AM, Matthias Fuchs wrote:

> Hi Benjamin,
>
> commit 2a4aca114439 (powerpc/mm: Split low level tlb invalidate for  
> nohash processors)
> breaks building for 40x CPUs. This is what I get when building for  
> the walnut board:
>
>  CC      arch/powerpc/kernel/prom.o
> In file included from arch/powerpc/kernel/prom.c:56:
> arch/powerpc/mm/mmu_decl.h: In function '_tlbil_all':
> arch/powerpc/mm/mmu_decl.h:34: error: expected ';' before '}' token
> arch/powerpc/mm/mmu_decl.h:36: error: invalid storage class for  
> function '_tlbil_pid'
> arch/powerpc/mm/mmu_decl.h: In function '_tlbil_pid':
> arch/powerpc/mm/mmu_decl.h:38: error: expected ';' before '}' token
> arch/powerpc/mm/mmu_decl.h:53: warning: ISO C90 forbids mixed  
> declarations and code
> arch/powerpc/mm/mmu_decl.h:62: error: invalid storage class for  
> function '_tlbivax_bcast'
> arch/powerpc/kernel/prom.c:90: error: invalid storage class for  
> function 'find_flat_dt_string'
>
> Seems to be a result of some missing types or whatever. I suppose  
> you are
> more familiar with that code than I am ;-)

Ben posted a patch that might address the issue:

http://patchwork.ozlabs.org/patch/17037/

- k

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Building current git for 405 is broken
  2009-01-07 14:10 Building current git for 405 is broken Matthias Fuchs
  2009-01-07 14:36 ` Josh Boyer
  2009-01-07 14:37 ` Kumar Gala
@ 2009-01-07 21:13 ` Benjamin Herrenschmidt
  2 siblings, 0 replies; 4+ messages in thread
From: Benjamin Herrenschmidt @ 2009-01-07 21:13 UTC (permalink / raw)
  To: Matthias Fuchs; +Cc: linuxppc-dev

On Wed, 2009-01-07 at 15:10 +0100, Matthias Fuchs wrote:
> Hi Benjamin,
> 
> commit 2a4aca114439 (powerpc/mm: Split low level tlb invalidate for nohash processors)
> breaks building for 40x CPUs. This is what I get when building for the walnut board:

The fix is in my tree, I'll push it out and ask Linus to pull later
today or tomorrow.

Cheers,
Ben.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-07 21:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-07 14:10 Building current git for 405 is broken Matthias Fuchs
2009-01-07 14:36 ` Josh Boyer
2009-01-07 14:37 ` Kumar Gala
2009-01-07 21:13 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).