Re: [PATCH] um: Avoid longjmp/setjmp symbol clashes with libpthread.a

From: kbuild test robot
Date: Wed May 24 2017 - 07:22:58 EST


Hi Florian,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.12-rc2 next-20170524]
[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/Florian-Fainelli/um-Avoid-longjmp-setjmp-symbol-clashes-with-libpthread-a/20170524-154948
config: um-x86_64_defconfig (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=um SUBARCH=x86_64

Note: the linux-review/Florian-Fainelli/um-Avoid-longjmp-setjmp-symbol-clashes-with-libpthread-a/20170524-154948 HEAD 09c4f46a9b5f1dacc04d404bc93231fd21c83d78 builds fine.
It only hurts bisectibility.

All error/warnings (new ones prefixed by >>):

arch/um/os-Linux/skas/process.c: In function 'start_idle_thread':
>> arch/um/os-Linux/skas/process.c:579:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^

vim +248 arch/um/kernel/trap.c

^1da177e arch/um/kernel/trap_kern.c Linus Torvalds 2005-04-16 242
^1da177e arch/um/kernel/trap_kern.c Linus Torvalds 2005-04-16 243 catcher = current->thread.fault_catcher;
^1da177e arch/um/kernel/trap_kern.c Linus Torvalds 2005-04-16 244 if (!err)
f72c22e4 arch/um/kernel/trap.c Richard Weinberger 2013-09-23 245 goto out;
^1da177e arch/um/kernel/trap_kern.c Linus Torvalds 2005-04-16 246 else if (catcher != NULL) {
^1da177e arch/um/kernel/trap_kern.c Linus Torvalds 2005-04-16 247 current->thread.fault_addr = (void *) address;
fab95c55 arch/um/kernel/trap.c Jeff Dike 2007-10-16 @248 UML_LONGJMP(catcher, 1);
^1da177e arch/um/kernel/trap_kern.c Linus Torvalds 2005-04-16 249 }
^1da177e arch/um/kernel/trap_kern.c Linus Torvalds 2005-04-16 250 else if (current->thread.fault_addr != NULL)
^1da177e arch/um/kernel/trap_kern.c Linus Torvalds 2005-04-16 251 panic("fault_addr set but no fault catcher");

:::::: The code at line 248 was first introduced by commit
:::::: fab95c55e3b94e219044dc7a558632d08c198771 uml: get rid of do_longjmp

:::::: TO: Jeff Dike <jdike@xxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip