Skip to contentSkip to conversation

2.6.15-rc1-git4 build failure on ppc64

DISCUSSION Badari Pulavarty 4 participants 5 messages Nov 17, 2005

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 12 lines · Badari Pulavarty

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

#2 lore raw
In reply to Badari Pulavarty

Hi,

Quoted 12 lines

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

#3 lore raw
In reply to Badari Pulavarty
Quoted 2 lines · Badari Pulavarty

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.

#4 lore raw
Quoted 7 lines · Paul Mackerras
Quoted 2 lines · Badari Pulavarty

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

Quoted 7 lines

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