On 02/14/2017 12:31 PM, Kees Cook wrote: > On Tue, Feb 14, 2017 at 8:14 AM, Alexander Kapshuk > <alexander.kapshuk@xxxxxxxxx> wrote: >> I'm getting this error on x86 when compiling next-20170214. >> Any advice on how to fix this would be much appreciated. >> >> time make -j2 >> ... >> CC arch/x86/kernel/asm-offsets.s >> GEN scripts/gdb/linux/constants.py >> In file included from ./include/linux/mm.h:68:0, >> from ./include/linux/suspend.h:8, >> from arch/x86/kernel/asm-offsets.c:12: >> ./arch/x86/include/asm/pgtable.h:66:26: error: redefinition of >> ‘native_pud_clear’ >> #define pud_clear(pud) native_pud_clear(pud) >> ^ >> ./arch/x86/include/asm/pgtable-3level.h:128:20: note: in expansion of >> macro ‘pud_clear’ >> static inline void pud_clear(pud_t *pudp) >> ^ >> In file included from ./arch/x86/include/asm/pgtable_32.h:44:0, >> from ./arch/x86/include/asm/pgtable.h:581, >> from ./include/linux/mm.h:68, >> from ./include/linux/suspend.h:8, >> from arch/x86/kernel/asm-offsets.c:12: >> ./arch/x86/include/asm/pgtable-3level.h:124:20: note: previous >> definition of ‘native_pud_clear’ was here >> static inline void native_pud_clear(pud_t *pudp) >> ^ >> make[1]: *** [Kbuild:82: arch/x86/kernel/asm-offsets.s] Error 1 >> make: *** [Makefile:1033: prepare0] Error 2 >> >> real 0m10.637s >> user 0m9.466s >> sys 0m2.752s > > Seems like it's related to "mm, x86: add support for PUD-sized > transparent hugepages". Can I please get a config file to reproduce? Thanks! > > -Kees > -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html