tree: https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git build-test head: bc3f4f246b9b1ab6ce3253a5c67544d01a1a0552 commit: bc3f4f246b9b1ab6ce3253a5c67544d01a1a0552 [32/32] kbuild: remove 'addtree' and 'flags' magic for header search paths config: powerpc-mpc834x_mds_defconfig (attached as .config) compiler: powerpc-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout bc3f4f246b9b1ab6ce3253a5c67544d01a1a0552 # save the attached .config to linux build tree GCC_VERSION=7.2.0 make.cross ARCH=powerpc All error/warnings (new ones prefixed by >>): arch/powerpc/boot/addnote.c: In function 'main': >> arch/powerpc/boot/addnote.c:127:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ >> arch/powerpc/boot/addnote.c:127:3: warning: incompatible implicit declaration of built-in function 'exit' arch/powerpc/boot/addnote.c:127:3: note: include '<stdlib.h>' or provide a declaration of 'exit' >> arch/powerpc/boot/addnote.c:131:3: warning: implicit declaration of function 'perror' [-Wimplicit-function-declaration] perror(av[1]); ^~~~~~ arch/powerpc/boot/addnote.c:132:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ arch/powerpc/boot/addnote.c:132:3: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/addnote.c:141:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ arch/powerpc/boot/addnote.c:141:3: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/addnote.c:167:4: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ arch/powerpc/boot/addnote.c:167:4: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/addnote.c:230:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ arch/powerpc/boot/addnote.c:230:3: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/addnote.c:234:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ arch/powerpc/boot/addnote.c:234:3: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/addnote.c:237:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ arch/powerpc/boot/addnote.c:237:2: note: include '<stdlib.h>' or provide a declaration of 'exit' -- arch/powerpc/boot/hack-coff.c: In function 'main': >> arch/powerpc/boot/hack-coff.c:43:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ >> arch/powerpc/boot/hack-coff.c:43:2: warning: incompatible implicit declaration of built-in function 'exit' arch/powerpc/boot/hack-coff.c:43:2: note: include '<stdlib.h>' or provide a declaration of 'exit' >> arch/powerpc/boot/hack-coff.c:46:2: warning: implicit declaration of function 'perror' [-Wimplicit-function-declaration] perror(av[2]); ^~~~~~ arch/powerpc/boot/hack-coff.c:47:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ arch/powerpc/boot/hack-coff.c:47:2: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/hack-coff.c:54:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ arch/powerpc/boot/hack-coff.c:54:2: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/hack-coff.c:76:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ arch/powerpc/boot/hack-coff.c:76:2: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/hack-coff.c:79:5: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ arch/powerpc/boot/hack-coff.c:79:5: note: include '<stdlib.h>' or provide a declaration of 'exit' -- In file included from /usr/include/x86_64-linux-gnu/sys/uio.h:23:0, from /usr/include/x86_64-linux-gnu/sys/socket.h:26, from /usr/include/netinet/in.h:23, from arch/powerpc/boot/mktree.c:18: >> /usr/include/x86_64-linux-gnu/sys/types.h:197:1: error: conflicting types for 'int64_t' __intN_t (64, __DI__); ^ In file included from arch/powerpc/boot/stdint.h:13:0, from /usr/include/netinet/in.h:22, from arch/powerpc/boot/mktree.c:18: arch/powerpc/boot/types.h:26:13: note: previous declaration of 'int64_t' was here typedef s64 int64_t; ^~~~~~~ arch/powerpc/boot/mktree.c: In function 'main': >> arch/powerpc/boot/mktree.c:52:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ >> arch/powerpc/boot/mktree.c:52:3: warning: incompatible implicit declaration of built-in function 'exit' arch/powerpc/boot/mktree.c:52:3: note: include '<stdlib.h>' or provide a declaration of 'exit' >> arch/powerpc/boot/mktree.c:56:3: warning: implicit declaration of function 'perror' [-Wimplicit-function-declaration] perror("stat"); ^~~~~~ arch/powerpc/boot/mktree.c:57:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2); ^~~~ arch/powerpc/boot/mktree.c:57:3: note: include '<stdlib.h>' or provide a declaration of 'exit' In file included from arch/powerpc/boot/mktree.c:18:0: >> arch/powerpc/boot/mktree.c:65:21: warning: implicit declaration of function 'strtoul'; did you mean 'strtoull'? [-Wimplicit-function-declaration] bt.bb_dest = htonl(strtoul(argv[3], NULL, 0)); ^ arch/powerpc/boot/mktree.c:84:3: warning: incompatible implicit declaration of built-in function 'exit' exit(3); ^~~~ arch/powerpc/boot/mktree.c:84:3: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/mktree.c:89:3: warning: incompatible implicit declaration of built-in function 'exit' exit(3); ^~~~ arch/powerpc/boot/mktree.c:89:3: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/mktree.c:102:3: warning: incompatible implicit declaration of built-in function 'exit' exit(4); ^~~~ arch/powerpc/boot/mktree.c:102:3: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/mktree.c:107:3: warning: incompatible implicit declaration of built-in function 'exit' exit(4); ^~~~ arch/powerpc/boot/mktree.c:107:3: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/mktree.c:112:3: warning: incompatible implicit declaration of built-in function 'exit' exit(4); ^~~~ arch/powerpc/boot/mktree.c:112:3: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/mktree.c:121:3: warning: incompatible implicit declaration of built-in function 'exit' exit(5); ^~~~ arch/powerpc/boot/mktree.c:121:3: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/mktree.c:127:4: warning: incompatible implicit declaration of built-in function 'exit' exit(5); ^~~~ arch/powerpc/boot/mktree.c:127:4: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/mktree.c:134:4: warning: incompatible implicit declaration of built-in function 'exit' exit(5); ^~~~ arch/powerpc/boot/mktree.c:134:4: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/mktree.c:143:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ arch/powerpc/boot/mktree.c:143:3: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/mktree.c:147:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ arch/powerpc/boot/mktree.c:147:3: note: include '<stdlib.h>' or provide a declaration of 'exit' arch/powerpc/boot/mktree.c:150:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ arch/powerpc/boot/mktree.c:150:2: note: include '<stdlib.h>' or provide a declaration of 'exit' --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip