[bug #2] Re: [PATCH 00/35] cpumask: Replace cpumask_t with structcpumask

From: Ingo Molnar
Date: Thu Oct 23 2008 - 10:21:07 EST



Thomas has started a -tip cross-build test, and there's massive
cross-build failures as well due to the cpumask changes:

http://www.tglx.de/autoqa-cgi/index?run=140&tree=8

Run 140: 11 of 19 OK

8 architecture configs out of 19 fail to build, 7 of which failures is
this patchset's fault:

powerpc, ps3_defconfig:

http://www.tglx.de/autoqa-logs/000140-0008-0006.log

/home/tglx/work/kernel/autoqa/linux-2.6-tip/
arch/powerpc/platforms/cell/spu_base.c:117:
error: implicit declaration of function '__cpus_setall'

m32r defconfig:

http://www.tglx.de/autoqa-logs/000140-0008-0013.log

from /home/tglx/work/kernel/autoqa/linux-2.6-tip/arch/m32r/kernel/smp.c:18:
include2/asm/smp.h:66: error: expected ')' before '*' token
include2/asm/smp.h:66: error: expected ')' before 'cpu_possible_mask'
include2/asm/smp.h:67: error: expected ')' before '*' token
include2/asm/smp.h:67: error: expected ')' before 'cpu_present_mask'

xtensa defconfig:

from /home/tglx/work/kernel/autoqa/linux-2.6-tip/arch/xtensa/k
ernel/asm-offsets.c:20:
/home/tglx/work/kernel/autoqa/linux-2.6-tip/include/linux/cpumask.h:109:
error:
'CONFIG_NR_CPUS' undeclared here (not in a function)

powerpc mpc5200_defconfig:

http://www.tglx.de/autoqa-logs/000140-0008-0014.log

kernel/asm-offsets.c:22:
/home/tglx/work/kernel/autoqa/linux-2.6-tip/include/linux/mm.h:922:5:
warning: "CONFIG_NR_CPUS" is not defined
make[2]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1
make[1]: *** [prepare0] Error 2

sparc32 defconfig:

http://www.tglx.de/autoqa-logs/000140-0008-0020.log

/home/tglx/work/kernel/autoqa/linux-2.6-tip/arch/sparc/kernel/asm-offsets.c:13:
/home/tglx/work/kernel/autoqa/linux-2.6-tip/include/linux/cpumask.h:109:
error: 'CONFIG_NR_CPUS' undeclared here (not in a function)

powerpc ppc64_defconfig:

http://www.tglx.de/autoqa-logs/000140-0008-0022.log

/home/tglx/work/kernel/autoqa/linux-2.6-tip/arch/powerpc/platforms/cell/spu_bas
e.c:117: error: implicit declaration of function '__cpus_setall'
make[3]: *** [arch/powerpc/platforms/cell/spu_base.o] Error 1

s390 defconfig:

http://www.tglx.de/autoqa-logs/000140-0008-0025.log

/home/tglx/work/kernel/autoqa/linux-2.6-tip/arch/s390/kernel/smp.c: In
function '__smp_call_function_map':
/home/tglx/work/kernel/autoqa/linux-2.6-tip/arch/s390/kernel/smp.c:120:
error: request for member 'bits' in something not a structure or union

it seems to me that this commit is massively borked:

4a792c2: cpumask: make CONFIG_NR_CPUS always valid

but some of the others seems to be suspect as well - there's at least 3
different failure patterns.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/