Messages in this thread | | | Date | Mon, 28 Jul 2014 13:58:59 +1000 | From | Stephen Rothwell <> | Subject | linux-next: build failure after merge of the modules tree |
| |
Hi Rusty,
After merging the modules tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
In file included from include/linux/thread_info.h:11:0, from arch/powerpc/include/asm/ptrace.h:151, from arch/powerpc/include/asm/processor.h:44, from arch/powerpc/include/asm/mmu-hash64.h:25, from arch/powerpc/include/asm/mmu.h:189, from arch/powerpc/include/asm/lppaca.h:36, from arch/powerpc/include/asm/paca.h:20, from arch/powerpc/include/asm/current.h:16, from include/linux/mutex.h:13, from include/linux/kernfs.h:13, from include/linux/sysfs.h:15, from include/linux/kobject.h:21, from include/linux/of.h:21, from arch/powerpc/platforms/powernv/opal-elog.c:13: include/linux/bug.h:33:45: error: negative width in bit-field '<anonymous>' #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) ^ include/linux/kernel.h:853:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' BUILD_BUG_ON_ZERO((perms) & 2) + \ ^ include/linux/sysfs.h:75:12: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS' .mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \ ^ arch/powerpc/platforms/powernv/opal-elog.c:85:2: note: in expansion of macro '__ATTR' __ATTR(id, 0666, elog_id_show, NULL); ^ include/linux/bug.h:33:45: error: negative width in bit-field '<anonymous>' #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) ^ include/linux/kernel.h:853:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' BUILD_BUG_ON_ZERO((perms) & 2) + \ ^ include/linux/sysfs.h:75:12: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS' .mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \ ^ arch/powerpc/platforms/powernv/opal-elog.c:87:2: note: in expansion of macro '__ATTR' __ATTR(type, 0666, elog_type_show, NULL); ^ In file included from include/linux/thread_info.h:11:0, from arch/powerpc/include/asm/ptrace.h:151, from arch/powerpc/include/asm/processor.h:44, from arch/powerpc/include/asm/mmu-hash64.h:25, from arch/powerpc/include/asm/mmu.h:189, from arch/powerpc/include/asm/lppaca.h:36, from arch/powerpc/include/asm/paca.h:20, from arch/powerpc/include/asm/current.h:16, from include/linux/mutex.h:13, from include/linux/kernfs.h:13, from include/linux/sysfs.h:15, from include/linux/kobject.h:21, from arch/powerpc/platforms/powernv/opal-dump.c:12: include/linux/bug.h:33:45: error: negative width in bit-field '<anonymous>' #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) ^ include/linux/kernel.h:853:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' BUILD_BUG_ON_ZERO((perms) & 2) + \ ^ include/linux/sysfs.h:75:12: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS' .mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \ ^ arch/powerpc/platforms/powernv/opal-dump.c:105:2: note: in expansion of macro '__ATTR' __ATTR(id, 0666, dump_id_show, NULL); ^ include/linux/bug.h:33:45: error: negative width in bit-field '<anonymous>' #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) ^ include/linux/kernel.h:853:3: note: in expansion of macro 'BUILD_BUG_ON_ZERO' BUILD_BUG_ON_ZERO((perms) & 2) + \ ^ include/linux/sysfs.h:75:12: note: in expansion of macro 'VERIFY_OCTAL_PERMISSIONS' .mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \ ^ arch/powerpc/platforms/powernv/opal-dump.c:107:2: note: in expansion of macro '__ATTR' __ATTR(type, 0666, dump_type_show, NULL); ^
Caused by commit 37549e94c77a ("sysfs: disallow world-writable files") interacting with commit c7e64b9ce04a ("powerpc/powernv Platform dump interface") from v3.15-rc1. I guess this patch needs updating ...
I have used the modules tree form next-20140725 for today. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [unhandled content-type:application/pgp-signature] | |