Re: [PATCH] x86/boot/32: Convert the 32-bit pgtable setup code from assembly to C

From: kbuild test robot
Date: Thu Jan 05 2017 - 15:13:30 EST


Hi Ingo,

[auto build test ERROR on tip/auto-latest]
[also build test ERROR on v4.10-rc2 next-20170105]
[cannot apply to tip/x86/core]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Ingo-Molnar/x86-boot-32-Convert-the-32-bit-pgtable-setup-code-from-assembly-to-C/20170106-035845
config: i386-tinyconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

arch/x86/kernel/head_32.S: Assembler messages:
>> arch/x86/kernel/head_32.S:612: Error: can't resolve `init_thread_union' {*UND* section} - `SIZEOF_PTREGS' {*UND* section}

vim +612 arch/x86/kernel/head_32.S

11d4c3f9 arch/x86/kernel/head_32.S H. Peter Anvin 2011-02-04 606 .balign 4
b32f96c7 arch/x86/kernel/head_32.S Josh Poimboeuf 2016-08-18 607 ENTRY(initial_stack)
22dc3918 arch/x86/kernel/head_32.S Josh Poimboeuf 2016-09-21 608 /*
22dc3918 arch/x86/kernel/head_32.S Josh Poimboeuf 2016-09-21 609 * The SIZEOF_PTREGS gap is a convention which helps the in-kernel
22dc3918 arch/x86/kernel/head_32.S Josh Poimboeuf 2016-09-21 610 * unwinder reliably detect the end of the stack.
22dc3918 arch/x86/kernel/head_32.S Josh Poimboeuf 2016-09-21 611 */
22dc3918 arch/x86/kernel/head_32.S Josh Poimboeuf 2016-09-21 @612 .long init_thread_union + THREAD_SIZE - SIZEOF_PTREGS - \
22dc3918 arch/x86/kernel/head_32.S Josh Poimboeuf 2016-09-21 613 TOP_OF_KERNEL_STACK_PADDING;
^1da177e arch/i386/kernel/head.S Linus Torvalds 2005-04-16 614
4c5023a3 arch/x86/kernel/head_32.S H. Peter Anvin 2012-04-18 615 __INITRODATA

:::::: The code at line 612 was first introduced by commit
:::::: 22dc391865af29a1332bd1d17152f2ca7188bc4a x86/boot: Fix the end of the stack for idle tasks

:::::: TO: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip