2.6.15-rc1-git4 build failure on ppc64
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 oncearch/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
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 oncearch/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
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 oncearch/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
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.
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 theKconfigdoesn't enforce that at the moment. That is, if you wantCONFIG_FLATMEM=y, you will have to explicitly setCONFIG_NUMA=n.Paul.
Okay. Thanks.
- Badari