Messages in this thread | | | Subject | Re: mmotm 2010-04-28-16-53 uploaded | From | Valdis.Kletnieks@vt ... | Date | Thu, 29 Apr 2010 17:32:10 -0400 |
| |
On Wed, 28 Apr 2010 16:53:32 PDT, akpm@linux-foundation.org said: > The mm-of-the-moment snapshot 2010-04-28-16-53 has been uploaded to > > http://userweb.kernel.org/~akpm/mmotm/
Dies trying to compile mm/slab.c because something screwed the pooch with the definition of numa_mem_id(). My bets are on numa-slab-use-numa_mem_id-for-slab-local-memory-node.patch
CC mm/slab.o mm/slab.c: In function 'kmem_cache_init': mm/slab.c:1506: error: 'numa_node' undeclared (first use in this function) mm/slab.c:1506: error: (Each undeclared identifier is reported only once mm/slab.c:1506: error: for each function it appears in.) mm/slab.c:1506: warning: type defaults to 'int' in declaration of 'pscr_ret__' mm/slab.c:1506: warning: type defaults to 'int' in declaration of 'type name' mm/slab.c:1506: warning: cast from pointer to integer of different size mm/slab.c:1506: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:1506: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:1506: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:1506: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c: In function 'setup_cpu_cache': mm/slab.c:2148: error: 'numa_node' undeclared (first use in this function) mm/slab.c:2148: warning: type defaults to 'int' in declaration of 'pscr_ret__' mm/slab.c:2148: warning: type defaults to 'int' in declaration of 'type name' mm/slab.c:2148: warning: cast from pointer to integer of different size mm/slab.c:2148: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:2148: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:2148: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:2148: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c: In function 'do_drain': mm/slab.c:2506: error: 'numa_node' undeclared (first use in this function) mm/slab.c:2506: warning: type defaults to 'int' in declaration of 'pscr_ret__' mm/slab.c:2506: warning: type defaults to 'int' in declaration of 'type name' mm/slab.c:2506: warning: cast from pointer to integer of different size mm/slab.c:2506: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:2506: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:2506: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:2506: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c: In function 'cache_alloc_refill': mm/slab.c:3039: error: 'numa_node' undeclared (first use in this function) mm/slab.c:3039: warning: type defaults to 'int' in declaration of 'pscr_ret__' mm/slab.c:3039: warning: type defaults to 'int' in declaration of 'type name' mm/slab.c:3039: warning: cast from pointer to integer of different size mm/slab.c:3039: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:3039: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:3039: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:3039: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c: In function 'cache_flusharray': mm/slab.c:3575: error: 'numa_node' undeclared (first use in this function) mm/slab.c:3575: warning: type defaults to 'int' in declaration of 'pscr_ret__' mm/slab.c:3575: warning: type defaults to 'int' in declaration of 'type name' mm/slab.c:3575: warning: cast from pointer to integer of different size mm/slab.c:3575: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:3575: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:3575: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:3575: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c: In function 'cache_reap': mm/slab.c:4139: error: 'numa_node' undeclared (first use in this function) mm/slab.c:4139: warning: type defaults to 'int' in declaration of 'pscr_ret__' mm/slab.c:4139: warning: type defaults to 'int' in declaration of 'type name' mm/slab.c:4139: warning: cast from pointer to integer of different size mm/slab.c:4139: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:4139: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:4139: warning: type defaults to 'int' in declaration of 'pfo_ret__' mm/slab.c:4139: warning: type defaults to 'int' in declaration of 'pfo_ret__' make[1]: *** [mm/slab.o] Error 1 make: *** [mm] Error 2
line 1506: node = numa_mem_id(); line 2148: cachep->nodelists[numa_mem_id()]->next_reap = line 2506: int node = numa_mem_id(); line 3039: node = numa_mem_id(); line 3575: int node = numa_mem_id(); line 3139: int node = numa_mem_id();
Looks like a twisty little maze of cpp macros in each case, probably related to this:
% grep -i numa .config # CONFIG_NUMA is not set
[unhandled content-type:application/pgp-signature] | |