public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.15-rc1-git4 build failure on ppc64
@ 2005-11-17  0:41 Badari Pulavarty
  2005-11-17  0:51 ` Andy Whitcroft
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Badari Pulavarty @ 2005-11-17  0:41 UTC (permalink / raw)
  To: lkml; +Cc: Andy Whitcroft, Anton Blanchard

Hi Andy,

I get following compile error on PPC64 - while trying to compile
CONFIG_FLATMEM=y. 

arch/powerpc/mm/numa.c: In function `dump_numa_topology':
arch/powerpc/mm/numa.c:516: error: `SECTION_SIZE_BITS' undeclared (first
use in this function)
arch/powerpc/mm/numa.c:516: error: (Each undeclared identifier is
reported only once
arch/powerpc/mm/numa.c:516: error: for each function it appears in.)
make[1]: *** [arch/powerpc/mm/numa.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [arch/powerpc/mm] Error 2


Thanks,
Badari


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

* Re: 2.6.15-rc1-git4 build failure on ppc64
  2005-11-17  0:41 2.6.15-rc1-git4 build failure on ppc64 Badari Pulavarty
@ 2005-11-17  0:51 ` Andy Whitcroft
  2005-11-17  1:41 ` Anton Blanchard
  2005-11-17  2:45 ` Paul Mackerras
  2 siblings, 0 replies; 5+ messages in thread
From: Andy Whitcroft @ 2005-11-17  0:51 UTC (permalink / raw)
  To: Badari Pulavarty; +Cc: lkml, Anton Blanchard

Badari Pulavarty wrote:

> I get following compile error on PPC64 - while trying to compile
> CONFIG_FLATMEM=y. 
> 
> arch/powerpc/mm/numa.c: In function `dump_numa_topology':
> arch/powerpc/mm/numa.c:516: error: `SECTION_SIZE_BITS' undeclared (first
> use in this function)
> arch/powerpc/mm/numa.c:516: error: (Each undeclared identifier is
> reported only once
> arch/powerpc/mm/numa.c:516: error: for each function it appears in.)
> make[1]: *** [arch/powerpc/mm/numa.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [arch/powerpc/mm] Error 2

Can you drop me a copy of your .config please.  I'll have a poke at it
in the morning.

-apw

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

* Re: 2.6.15-rc1-git4 build failure on ppc64
  2005-11-17  0:41 2.6.15-rc1-git4 build failure on ppc64 Badari Pulavarty
  2005-11-17  0:51 ` Andy Whitcroft
@ 2005-11-17  1:41 ` Anton Blanchard
  2005-11-17  2:45 ` Paul Mackerras
  2 siblings, 0 replies; 5+ messages in thread
From: Anton Blanchard @ 2005-11-17  1:41 UTC (permalink / raw)
  To: Badari Pulavarty; +Cc: lkml, Andy Whitcroft


Hi,

> I get following compile error on PPC64 - while trying to compile
> CONFIG_FLATMEM=y. 
> 
> arch/powerpc/mm/numa.c: In function `dump_numa_topology':
> arch/powerpc/mm/numa.c:516: error: `SECTION_SIZE_BITS' undeclared (first
> use in this function)
> arch/powerpc/mm/numa.c:516: error: (Each undeclared identifier is
> reported only once
> arch/powerpc/mm/numa.c:516: error: for each function it appears in.)
> make[1]: *** [arch/powerpc/mm/numa.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [arch/powerpc/mm] Error 2

Looks like you are trying to compile NUMA=y, FLATMEM=y which is an
illegal combination. Andy has submitted patches to fix this but in the
meantime can you either make both on or both off?

Anton

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

* Re: 2.6.15-rc1-git4 build failure on ppc64
  2005-11-17  0:41 2.6.15-rc1-git4 build failure on ppc64 Badari Pulavarty
  2005-11-17  0:51 ` Andy Whitcroft
  2005-11-17  1:41 ` Anton Blanchard
@ 2005-11-17  2:45 ` Paul Mackerras
  2005-11-17  3:43   ` Badari Pulavarty
  2 siblings, 1 reply; 5+ messages in thread
From: Paul Mackerras @ 2005-11-17  2:45 UTC (permalink / raw)
  To: Badari Pulavarty; +Cc: lkml, Andy Whitcroft, Anton Blanchard

Badari Pulavarty writes:

> I get following compile error on PPC64 - while trying to compile
> CONFIG_FLATMEM=y. 

You have CONFIG_NUMA=y.  According to Anton, NUMA + FLATMEM is an
invalid combination, but unfortunately the Kconfig doesn't enforce
that at the moment.  That is, if you want CONFIG_FLATMEM=y, you will
have to explicitly set CONFIG_NUMA=n.

Paul.

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

* Re: 2.6.15-rc1-git4 build failure on ppc64
  2005-11-17  2:45 ` Paul Mackerras
@ 2005-11-17  3:43   ` Badari Pulavarty
  0 siblings, 0 replies; 5+ messages in thread
From: Badari Pulavarty @ 2005-11-17  3:43 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: lkml, Andy Whitcroft, Anton Blanchard

Paul Mackerras wrote:
> Badari Pulavarty writes:
> 
> 
>>I get following compile error on PPC64 - while trying to compile
>>CONFIG_FLATMEM=y. 
> 
> 
> You have CONFIG_NUMA=y.  According to Anton, NUMA + FLATMEM is an
> invalid combination, but unfortunately the Kconfig doesn't enforce
> that at the moment.  That is, if you want CONFIG_FLATMEM=y, you will
> have to explicitly set CONFIG_NUMA=n.
> 
> Paul.
> 

Okay. Thanks.

- Badari


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

end of thread, other threads:[~2005-11-17  3:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-17  0:41 2.6.15-rc1-git4 build failure on ppc64 Badari Pulavarty
2005-11-17  0:51 ` Andy Whitcroft
2005-11-17  1:41 ` Anton Blanchard
2005-11-17  2:45 ` Paul Mackerras
2005-11-17  3:43   ` Badari Pulavarty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox