Hi Andrew, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 6ec9c2f12955a217a0b7c1512fc7d889024e15b3 commit: 0bbf6111d7722a445033577e642cce85e20410bd [4867/4874] x86-atomic-move-__atomic_add_unless-out-of-line-fix config: um-x86_64_defconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 0bbf6111d7722a445033577e642cce85e20410bd # save the attached .config to linux build tree make ARCH=um SUBARCH=x86_64 All errors (new ones prefixed by >>): kernel/built-in.o: In function `__atomic_add_unless': >> include/asm-generic/atomic-instrumented.h:70: undefined reference to `__arch_atomic_add_unless' >> include/asm-generic/atomic-instrumented.h:70: undefined reference to `__arch_atomic_add_unless' >> include/asm-generic/atomic-instrumented.h:70: undefined reference to `__arch_atomic_add_unless' >> include/asm-generic/atomic-instrumented.h:70: undefined reference to `__arch_atomic_add_unless' >> include/asm-generic/atomic-instrumented.h:70: undefined reference to `__arch_atomic_add_unless' mm/built-in.o:include/asm-generic/atomic-instrumented.h:70: more undefined references to `__arch_atomic_add_unless' follow collect2: error: ld returned 1 exit status vim +70 include/asm-generic/atomic-instrumented.h 3f4ca3d2 Dmitry Vyukov 2017-03-19 64 return arch_atomic64_cmpxchg(v, old, new); 3f4ca3d2 Dmitry Vyukov 2017-03-19 65 } 3f4ca3d2 Dmitry Vyukov 2017-03-19 66 3f4ca3d2 Dmitry Vyukov 2017-03-19 67 static __always_inline int __atomic_add_unless(atomic_t *v, int a, int u) 3f4ca3d2 Dmitry Vyukov 2017-03-19 68 { 02321fcd Dmitry Vyukov 2017-03-19 69 kasan_check_write(v, sizeof(*v)); 3f4ca3d2 Dmitry Vyukov 2017-03-19 @70 return __arch_atomic_add_unless(v, a, u); 3f4ca3d2 Dmitry Vyukov 2017-03-19 71 } 3f4ca3d2 Dmitry Vyukov 2017-03-19 72 3f4ca3d2 Dmitry Vyukov 2017-03-19 73 :::::: The code at line 70 was first introduced by commit :::::: 3f4ca3d25e1a770cf8bc859567fa9124c7f2cb0a asm-generic, x86: wrap atomic operations :::::: TO: Dmitry Vyukov <dvyukov@xxxxxxxxxx> :::::: CC: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip