* [mmotm:master 199/276] arch/alpha/include/asm/string.h:45:16: error: redefinition of '__memset'
@ 2017-06-12 1:30 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-06-12 1:30 UTC (permalink / raw)
To: Daniel Micay
Cc: kbuild-all, Johannes Weiner, Andrew Morton, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 3224 bytes --]
tree: git://git.cmpxchg.org/linux-mmotm.git master
head: 4677e8652d20c18b401670cde04627e1dde64629
commit: 2193acf911056c13e406c55599190b81e6570fdf [199/276] include/linux/string.h: add the option of fortified string.h functions
config: alpha-allmodconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 2193acf911056c13e406c55599190b81e6570fdf
# save the attached .config to linux build tree
make.cross ARCH=alpha
All errors (new ones prefixed by >>):
In file included from include/linux/string.h:18:0,
from include/linux/bitmap.h:8,
from include/linux/cpumask.h:11,
from include/linux/rcupdate.h:40,
from include/linux/rculist.h:10,
from include/linux/pid.h:4,
from include/linux/sched.h:13,
from arch/alpha/kernel/asm-offsets.c:9:
>> arch/alpha/include/asm/string.h:45:16: error: redefinition of '__memset'
#define memset __memset
^
include/linux/string.h:291:24: note: in expansion of macro 'memset'
__FORTIFY_INLINE void *memset(void *p, int c, __kernel_size_t size)
^~~~~~
arch/alpha/include/asm/string.h:32:21: note: previous definition of '__memset' was here
extern inline void *__memset(void *s, int c, size_t n)
^~~~~~~~
make[2]: *** [arch/alpha/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
vim +/__memset +45 arch/alpha/include/asm/string.h
a47e5bb5 arch/alpha/include/asm/string.h Richard Henderson 2013-07-11 39 return __constant_c_memset(s, c8, n);
a47e5bb5 arch/alpha/include/asm/string.h Richard Henderson 2013-07-11 40 }
a47e5bb5 arch/alpha/include/asm/string.h Richard Henderson 2013-07-11 41 }
a47e5bb5 arch/alpha/include/asm/string.h Richard Henderson 2013-07-11 42 return ___memset(s, c, n);
a47e5bb5 arch/alpha/include/asm/string.h Richard Henderson 2013-07-11 43 }
a47e5bb5 arch/alpha/include/asm/string.h Richard Henderson 2013-07-11 44
a47e5bb5 arch/alpha/include/asm/string.h Richard Henderson 2013-07-11 @45 #define memset __memset
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 46
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 47 #define __HAVE_ARCH_STRCPY
^1da177e include/asm-alpha/string.h Linus Torvalds 2005-04-16 48 extern char * strcpy(char *,const char *);
:::::: The code at line 45 was first introduced by commit
:::::: a47e5bb5764f029f989a182b0dd2d4cce69f8b14 alpha: Eliminate compiler warning from memset macro
:::::: TO: Richard Henderson <rth@twiddle.net>
:::::: CC: Matt Turner <mattst88@gmail.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 50199 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-12 1:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-12 1:30 [mmotm:master 199/276] arch/alpha/include/asm/string.h:45:16: error: redefinition of '__memset' kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox