tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: aff7e57f8266549245eb4a272ce149b752dfce77
commit: 35595372d95c0d10784bce1aec8cc144a39eb66d [8215/10346] Remove redundant YYLOC global declaration
config: powerpc-defconfig (attached as .config)
compiler: clang version 11.0.0 (git://gitmirror/llvm_project 14a1b80e044aac1947c891525cf30521be0a79b7)
reproduce:
# FIXME the reproduce steps for clang is not ready yet
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <
l...@intel.com>
All errors (new ones prefixed by >>):
In file included from scripts/mod/devicetable-offsets.c:3:
In file included from include/linux/mod_devicetable.h:13:
In file included from include/linux/uuid.h:12:
In file included from include/linux/string.h:20:
arch/powerpc/include/asm/string.h:21:15: warning: incompatible redeclaration of library function 'strncpy' [-Wincompatible-library-redeclaration]
extern char * strncpy(char *,const char *, __kernel_size_t);
^
arch/powerpc/include/asm/string.h:21:15: note: 'strncpy' is a builtin with type 'char *(char *, const char *, unsigned long)'
arch/powerpc/include/asm/string.h:22:24: warning: incompatible redeclaration of library function 'strlen' [-Wincompatible-library-redeclaration]
extern __kernel_size_t strlen(const char *);
^
arch/powerpc/include/asm/string.h:22:24: note: 'strlen' is a builtin with type 'unsigned long (const char *)'
arch/powerpc/include/asm/string.h:24:12: warning: incompatible redeclaration of library function 'strncmp' [-Wincompatible-library-redeclaration]
extern int strncmp(const char *, const char *, __kernel_size_t);
^
arch/powerpc/include/asm/string.h:24:12: note: 'strncmp' is a builtin with type 'int (const char *, const char *, unsigned long)'
arch/powerpc/include/asm/string.h:26:15: warning: incompatible redeclaration of library function 'memset' [-Wincompatible-library-redeclaration]
extern void * memset(void *,int,__kernel_size_t);
^
arch/powerpc/include/asm/string.h:26:15: note: 'memset' is a builtin with type 'void *(void *, int, unsigned long)'
arch/powerpc/include/asm/string.h:27:15: warning: incompatible redeclaration of library function 'memcpy' [-Wincompatible-library-redeclaration]
extern void * memcpy(void *,const void *,__kernel_size_t);
^
arch/powerpc/include/asm/string.h:27:15: note: 'memcpy' is a builtin with type 'void *(void *, const void *, unsigned long)'
arch/powerpc/include/asm/string.h:28:15: warning: incompatible redeclaration of library function 'memmove' [-Wincompatible-library-redeclaration]
extern void * memmove(void *,const void *,__kernel_size_t);
^
arch/powerpc/include/asm/string.h:28:15: note: 'memmove' is a builtin with type 'void *(void *, const void *, unsigned long)'
arch/powerpc/include/asm/string.h:29:12: warning: incompatible redeclaration of library function 'memcmp' [-Wincompatible-library-redeclaration]
extern int memcmp(const void *,const void *,__kernel_size_t);
^
arch/powerpc/include/asm/string.h:29:12: note: 'memcmp' is a builtin with type 'int (const void *, const void *, unsigned long)'
arch/powerpc/include/asm/string.h:30:15: warning: incompatible redeclaration of library function 'memchr' [-Wincompatible-library-redeclaration]
extern void * memchr(const void *,int,__kernel_size_t);
^
arch/powerpc/include/asm/string.h:30:15: note: 'memchr' is a builtin with type 'void *(const void *, int, unsigned long)'
In file included from scripts/mod/devicetable-offsets.c:3:
In file included from include/linux/mod_devicetable.h:13:
In file included from include/linux/uuid.h:12:
include/linux/string.h:29:8: warning: incompatible redeclaration of library function 'strlcpy' [-Wincompatible-library-redeclaration]
size_t strlcpy(char *, const char *, size_t);
^
include/linux/string.h:29:8: note: 'strlcpy' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
include/linux/string.h:42:15: warning: incompatible redeclaration of library function 'strncat' [-Wincompatible-library-redeclaration]
extern char * strncat(char *, const char *, __kernel_size_t);
^
include/linux/string.h:42:15: note: 'strncat' is a builtin with type 'char *(char *, const char *, unsigned long)'
include/linux/string.h:45:15: warning: incompatible redeclaration of library function 'strlcat' [-Wincompatible-library-redeclaration]
extern size_t strlcat(char *, const char *, __kernel_size_t);
^
include/linux/string.h:45:15: note: 'strlcat' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
include/linux/string.h:57:12: warning: incompatible redeclaration of library function 'strncasecmp' [-Wincompatible-library-redeclaration]
extern int strncasecmp(const char *s1, const char *s2, size_t n);
^
include/linux/string.h:57:12: note: 'strncasecmp' is a builtin with type 'int (const char *, const char *, unsigned long)'
include/linux/string.h:100:24: warning: incompatible redeclaration of library function 'strspn' [-Wincompatible-library-redeclaration]
extern __kernel_size_t strspn(const char *,const char *);
^
include/linux/string.h:100:24: note: 'strspn' is a builtin with type 'unsigned long (const char *, const char *)'
include/linux/string.h:103:24: warning: incompatible redeclaration of library function 'strcspn' [-Wincompatible-library-redeclaration]
extern __kernel_size_t strcspn(const char *,const char *);
^
include/linux/string.h:103:24: note: 'strcspn' is a builtin with type 'unsigned long (const char *, const char *)'
include/linux/string.h:159:12: warning: incompatible redeclaration of library function 'bcmp' [-Wincompatible-library-redeclaration]
extern int bcmp(const void *,const void *,__kernel_size_t);
^
include/linux/string.h:159:12: note: 'bcmp' is a builtin with type 'int (const void *, const void *, unsigned long)'
15 warnings generated.
/usr/bin/as: unrecognized option '-mpower4'
>> clang-11: error: assembler command failed with exit code 1 (use -v to see invocation)
make[2]: *** [scripts/Makefile.build:268: scripts/mod/empty.o] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1111: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:179: sub-make] Error 2
13 real 7 user 9 sys 134.10% cpu make prepare