Advertisement
Guest User

Error Clang no Target

a guest
Mar 3rd, 2015
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.73 KB | None | 0 0
  1. Making oneplus one kernel
  2. make[1]: Verzeichnis »/home/stefan/Kernel/one_plus_one« wird betreten
  3. make[1]: Verzeichnis »/home/stefan/Kernel/one_plus_one« wird verlassen
  4. make[1]: Verzeichnis »/home/stefan/Kernel/one_plus_one« wird betreten
  5. make[1]: Verzeichnis »/home/stefan/Kernel/one_plus_one« wird verlassen
  6. make[1]: Verzeichnis »/home/stefan/Kernel/one_plus_one« wird betreten
  7. make[1]: Verzeichnis »/home/stefan/Kernel/one_plus_one« wird verlassen
  8. make[1]: Verzeichnis »/home/stefan/Kernel/one_plus_one« wird betreten
  9. HOSTCC scripts/basic/fixdep
  10. HOSTCC scripts/kconfig/conf.o
  11. SHIPPED scripts/kconfig/zconf.tab.c
  12. SHIPPED scripts/kconfig/zconf.lex.c
  13. SHIPPED scripts/kconfig/zconf.hash.c
  14. HOSTCC scripts/kconfig/zconf.tab.o
  15. HOSTLD scripts/kconfig/conf
  16. #
  17. # configuration written to .config
  18. #
  19. make[1]: Verzeichnis »/home/stefan/Kernel/one_plus_one« wird verlassen
  20. make[1]: Verzeichnis »/home/stefan/Kernel/one_plus_one« wird betreten
  21. make -f /home/stefan/Kernel/one_plus_one/Makefile silentoldconfig
  22. make -f scripts/Makefile.build obj=scripts/basic
  23. rm -f .tmp_quiet_recordmcount
  24. mkdir -p include/linux include/config
  25. make -f scripts/Makefile.build obj=scripts/kconfig silentoldconfig
  26. mkdir -p include/generated
  27. scripts/kconfig/conf --silentoldconfig Kconfig
  28. make[1]: Verzeichnis »/home/stefan/Kernel/one_plus_one« wird verlassen
  29. make[1]: Verzeichnis »/home/stefan/Kernel/one_plus_one« wird betreten
  30. rm -f include/config/kernel.release
  31. echo "3.4.106$(/bin/bash /home/stefan/Kernel/one_plus_one/scripts/setlocalversion /home/stefan/Kernel/one_plus_one)" > include/config/kernel.release
  32. make -f /home/stefan/Kernel/one_plus_one/scripts/Makefile.asm-generic \
  33. obj=arch/arm/include/generated/asm
  34. echo "#include <asm-generic/auxvec.h>" >arch/arm/include/generated/asm/auxvec.h
  35. echo "#include <asm-generic/bitsperlong.h>" >arch/arm/include/generated/asm/bitsperlong.h
  36. echo "#include <asm-generic/cputime.h>" >arch/arm/include/generated/asm/cputime.h
  37. echo "#include <asm-generic/emergency-restart.h>" >arch/arm/include/generated/asm/emergency-restart.h
  38. echo "#include <asm-generic/errno.h>" >arch/arm/include/generated/asm/errno.h
  39. echo "#include <asm-generic/ioctl.h>" >arch/arm/include/generated/asm/ioctl.h
  40. echo "#include <asm-generic/irq_regs.h>" >arch/arm/include/generated/asm/irq_regs.h
  41. echo "#include <asm-generic/kdebug.h>" >arch/arm/include/generated/asm/kdebug.h
  42. echo "#include <asm-generic/local.h>" >arch/arm/include/generated/asm/local.h
  43. echo "#include <asm-generic/local64.h>" >arch/arm/include/generated/asm/local64.h
  44. echo "#include <asm-generic/poll.h>" >arch/arm/include/generated/asm/poll.h
  45. echo "#include <asm-generic/resource.h>" >arch/arm/include/generated/asm/resource.h
  46. echo "#include <asm-generic/sections.h>" >arch/arm/include/generated/asm/sections.h
  47. echo "#include <asm-generic/siginfo.h>" >arch/arm/include/generated/asm/siginfo.h
  48. echo "#include <asm-generic/simd.h>" >arch/arm/include/generated/asm/simd.h
  49. echo "#include <asm-generic/sizes.h>" >arch/arm/include/generated/asm/sizes.h
  50. set -e; : ' CHK include/linux/version.h'; mkdir -p include/linux/; (echo \#define LINUX_VERSION_CODE 197738; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';) < /home/stefan/Kernel/one_plus_one/Makefile > include/linux/version.h.tmp; if [ -r include/linux/version.h ] && cmp -s include/linux/version.h include/linux/version.h.tmp; then rm -f include/linux/version.h.tmp; else : ' UPD include/linux/version.h'; mv -f include/linux/version.h.tmp include/linux/version.h; fi
  51. set -e; : ' CHK include/generated/utsrelease.h'; mkdir -p include/generated/; if [ `echo -n "3.4.106~Tyr" | wc -c ` -gt 64 ]; then echo '"3.4.106~Tyr" exceeds 64 characters' >&2; exit 1; fi; (echo \#define UTS_RELEASE \"3.4.106~Tyr\";) < include/config/kernel.release > include/generated/utsrelease.h.tmp; if [ -r include/generated/utsrelease.h ] && cmp -s include/generated/utsrelease.h include/generated/utsrelease.h.tmp; then rm -f include/generated/utsrelease.h.tmp; else : ' UPD include/generated/utsrelease.h'; mv -f include/generated/utsrelease.h.tmp include/generated/utsrelease.h; fi
  52. mkdir -p .tmp_versions ; rm -f .tmp_versions/*
  53. make -f scripts/Makefile.build obj=scripts/basic
  54. (cat /dev/null; ) > scripts/basic/modules.order
  55. rm -f .tmp_quiet_recordmcount
  56. make -f scripts/Makefile.build obj=arch/arm/tools include/generated/mach-types.h
  57. Generating include/generated/mach-types.h
  58. awk -f arch/arm/tools/gen-mach-types arch/arm/tools/mach-types > include/generated/mach-types.h || { rm -f include/generated/mach-types.h; /bin/false; }
  59. make -f scripts/Makefile.build obj=. missing-syscalls
  60. mkdir -p kernel/
  61. /usr/lib/llvm-3.7/bin/clang -Wp,-MD,kernel/.bounds.s.d -nostdinc -isystem /usr/lib/llvm-3.7/bin/../lib/clang/3.7.0/include -I/home/stefan/Kernel/one_plus_one/arch/arm/include -Iarch/arm/include/generated -Iinclude -include /home/stefan/Kernel/one_plus_one/include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-msm/include -Qunused-arguments -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O3 -Wno-maybe-uninitialized -pipe -marm -fno-dwarf2-cfi-asm -fno-builtin -Wno-asm-operand-widths -fstack-protector -mabi=aapcs-linux -funwind-tables -D__LINUX_ARM_ARCH__=7 -mcpu=cortex-a15 -msoft-float -Uarm -Wno-unused-variable -Wno-format-invalid-specifier -Wno-gnu -Wno--Wno-maybe-uninitialized -Wno-asm-operand-widths -Wno-initializer-overrides -fno-builtin -Wno-tautological-compare -mno-global-merge -no-integrated-as -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(bounds)" -D"KBUILD_MODNAME=KBUILD_STR(bounds)" -fverbose-asm -S -o kernel/bounds.s kernel/bounds.c
  62. clang: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
  63. warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
  64. warning: unknown warning option '-Wno--Wno-maybe-uninitialized'; did you mean '-Wno-sometimes-uninitialized'? [-Wunknown-warning-option]
  65. 2 warnings generated.
  66. mkdir -p include/generated/
  67. (set -e; echo "#ifndef __LINUX_BOUNDS_H__"; echo "#define __LINUX_BOUNDS_H__"; echo "/*"; echo " * DO NOT MODIFY."; echo " *"; echo " * This file was generated by Kbuild"; echo " */"; echo ""; sed -ne "/^->/{s:->#\(.*\):/*  */:; s:^->\([^ ]*\) [\$#]*\([-0-9]*\) \(.*\):#define   /*  */:; s:^->\([^ ]*\) [\$#]*\([^ ]*\) \(.*\):#define   /*  */:; s:->::; p;}" kernel/bounds.s; echo ""; echo "#endif" ) > include/generated/bounds.h
  68. mkdir -p arch/arm/kernel/
  69. /usr/lib/llvm-3.7/bin/clang -Wp,-MD,arch/arm/kernel/.asm-offsets.s.d -nostdinc -isystem /usr/lib/llvm-3.7/bin/../lib/clang/3.7.0/include -I/home/stefan/Kernel/one_plus_one/arch/arm/include -Iarch/arm/include/generated -Iinclude -include /home/stefan/Kernel/one_plus_one/include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-msm/include -Qunused-arguments -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O3 -Wno-maybe-uninitialized -pipe -marm -fno-dwarf2-cfi-asm -fno-builtin -Wno-asm-operand-widths -fstack-protector -mabi=aapcs-linux -funwind-tables -D__LINUX_ARM_ARCH__=7 -mcpu=cortex-a15 -msoft-float -Uarm -Wno-unused-variable -Wno-format-invalid-specifier -Wno-gnu -Wno--Wno-maybe-uninitialized -Wno-asm-operand-widths -Wno-initializer-overrides -fno-builtin -Wno-tautological-compare -mno-global-merge -no-integrated-as -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)" -D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)" -fverbose-asm -S -o arch/arm/kernel/asm-offsets.s arch/arm/kernel/asm-offsets.c
  70. clang: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
  71. warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
  72. warning: unknown warning option '-Wno--Wno-maybe-uninitialized'; did you mean '-Wno-sometimes-uninitialized'? [-Wunknown-warning-option]
  73. In file included from arch/arm/kernel/asm-offsets.c:13:
  74. In file included from include/linux/sched.h:57:
  75. In file included from include/linux/timex.h:56:
  76. In file included from include/linux/time.h:9:
  77. include/linux/math64.h:55:15: error: unknown register name 'r4' in asm
  78. *remainder = do_div(dividend, divisor);
  79. ^
  80. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/div64.h:79:9: note: expanded from macro 'do_div'
  81. __r = __do_div_asm(n, __b); \
  82. ^
  83. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/div64.h:33:40: note: expanded from macro '__do_div_asm'
  84. register unsigned int __base asm("r4") = base; \
  85. ^
  86. In file included from arch/arm/kernel/asm-offsets.c:13:
  87. In file included from include/linux/sched.h:57:
  88. In file included from include/linux/timex.h:56:
  89. In file included from include/linux/time.h:9:
  90. include/linux/math64.h:55:15: error: unknown register name 'r0' in asm
  91. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/div64.h:79:9: note: expanded from macro 'do_div'
  92. __r = __do_div_asm(n, __b); \
  93. ^
  94. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/div64.h:34:40: note: expanded from macro '__do_div_asm'
  95. register unsigned long long __n asm("r0") = n; \
  96. ^
  97. In file included from arch/arm/kernel/asm-offsets.c:13:
  98. In file included from include/linux/sched.h:57:
  99. In file included from include/linux/timex.h:56:
  100. In file included from include/linux/time.h:9:
  101. include/linux/math64.h:55:15: error: unknown register name 'r2' in asm
  102. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/div64.h:79:9: note: expanded from macro 'do_div'
  103. __r = __do_div_asm(n, __b); \
  104. ^
  105. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/div64.h:35:40: note: expanded from macro '__do_div_asm'
  106. register unsigned long long __res asm("r2"); \
  107. ^
  108. In file included from arch/arm/kernel/asm-offsets.c:13:
  109. In file included from include/linux/sched.h:57:
  110. In file included from include/linux/timex.h:56:
  111. In file included from include/linux/time.h:9:
  112. include/linux/math64.h:55:15: error: unknown register name 'r1' in asm
  113. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/div64.h:79:9: note: expanded from macro 'do_div'
  114. __r = __do_div_asm(n, __b); \
  115. ^
  116. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/div64.h:36:40: note: expanded from macro '__do_div_asm'
  117. register unsigned int __rem asm(__xh); \
  118. ^
  119. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/div64.h:28:14: note: expanded from macro '__xh'
  120. #define __xh "r1"
  121. ^
  122. In file included from arch/arm/kernel/asm-offsets.c:13:
  123. In file included from include/linux/sched.h:57:
  124. In file included from include/linux/timex.h:56:
  125. In file included from include/linux/time.h:9:
  126. include/linux/math64.h:55:15: error: unknown register name 'ip' in asm
  127. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/div64.h:79:9: note: expanded from macro 'do_div'
  128. __r = __do_div_asm(n, __b); \
  129. ^
  130. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/div64.h:44:5: note: expanded from macro '__do_div_asm'
  131. : "ip", "lr", "cc"); \
  132. ^
  133. In file included from arch/arm/kernel/asm-offsets.c:13:
  134. In file included from include/linux/sched.h:71:
  135. In file included from include/linux/sem.h:81:
  136. include/linux/rcupdate.h:918:2: error: array size is negative
  137. BUILD_BUG_ON(!__builtin_constant_p(offset));
  138. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  139. include/linux/bug.h:54:22: note: expanded from macro 'BUILD_BUG_ON'
  140. ((void)sizeof(char[1 - 2*!!(condition)])); \
  141. ^~~~~~~~~~~~~~~~~~~
  142. In file included from arch/arm/kernel/asm-offsets.c:13:
  143. In file included from include/linux/sched.h:72:
  144. include/linux/signal.h:81:11: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  145. return (set->sig[3] | set->sig[2] |
  146. ^ ~
  147. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  148. unsigned long sig[_NSIG_WORDS];
  149. ^
  150. In file included from arch/arm/kernel/asm-offsets.c:13:
  151. In file included from include/linux/sched.h:72:
  152. include/linux/signal.h:81:25: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  153. return (set->sig[3] | set->sig[2] |
  154. ^ ~
  155. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  156. unsigned long sig[_NSIG_WORDS];
  157. ^
  158. In file included from arch/arm/kernel/asm-offsets.c:13:
  159. In file included from include/linux/sched.h:72:
  160. include/linux/signal.h:123:1: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  161. _SIG_SET_BINOP(sigorsets, _sig_or)
  162. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  163. include/linux/signal.h:106:8: note: expanded from macro '_SIG_SET_BINOP'
  164. a3 = a->sig[3]; a2 = a->sig[2]; \
  165. ^ ~
  166. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  167. unsigned long sig[_NSIG_WORDS];
  168. ^
  169. In file included from arch/arm/kernel/asm-offsets.c:13:
  170. In file included from include/linux/sched.h:72:
  171. include/linux/signal.h:123:1: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  172. _SIG_SET_BINOP(sigorsets, _sig_or)
  173. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  174. include/linux/signal.h:106:24: note: expanded from macro '_SIG_SET_BINOP'
  175. a3 = a->sig[3]; a2 = a->sig[2]; \
  176. ^ ~
  177. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  178. unsigned long sig[_NSIG_WORDS];
  179. ^
  180. In file included from arch/arm/kernel/asm-offsets.c:13:
  181. In file included from include/linux/sched.h:72:
  182. include/linux/signal.h:123:1: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  183. _SIG_SET_BINOP(sigorsets, _sig_or)
  184. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  185. include/linux/signal.h:107:8: note: expanded from macro '_SIG_SET_BINOP'
  186. b3 = b->sig[3]; b2 = b->sig[2]; \
  187. ^ ~
  188. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  189. unsigned long sig[_NSIG_WORDS];
  190. ^
  191. In file included from arch/arm/kernel/asm-offsets.c:13:
  192. In file included from include/linux/sched.h:72:
  193. include/linux/signal.h:123:1: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  194. _SIG_SET_BINOP(sigorsets, _sig_or)
  195. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  196. include/linux/signal.h:107:24: note: expanded from macro '_SIG_SET_BINOP'
  197. b3 = b->sig[3]; b2 = b->sig[2]; \
  198. ^ ~
  199. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  200. unsigned long sig[_NSIG_WORDS];
  201. ^
  202. In file included from arch/arm/kernel/asm-offsets.c:13:
  203. In file included from include/linux/sched.h:72:
  204. include/linux/signal.h:123:1: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  205. _SIG_SET_BINOP(sigorsets, _sig_or)
  206. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  207. include/linux/signal.h:108:3: note: expanded from macro '_SIG_SET_BINOP'
  208. r->sig[3] = op(a3, b3); \
  209. ^ ~
  210. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  211. unsigned long sig[_NSIG_WORDS];
  212. ^
  213. In file included from arch/arm/kernel/asm-offsets.c:13:
  214. In file included from include/linux/sched.h:72:
  215. include/linux/signal.h:123:1: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  216. _SIG_SET_BINOP(sigorsets, _sig_or)
  217. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  218. include/linux/signal.h:109:3: note: expanded from macro '_SIG_SET_BINOP'
  219. r->sig[2] = op(a2, b2); \
  220. ^ ~
  221. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  222. unsigned long sig[_NSIG_WORDS];
  223. ^
  224. In file included from arch/arm/kernel/asm-offsets.c:13:
  225. In file included from include/linux/sched.h:72:
  226. include/linux/signal.h:126:1: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  227. _SIG_SET_BINOP(sigandsets, _sig_and)
  228. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  229. include/linux/signal.h:106:8: note: expanded from macro '_SIG_SET_BINOP'
  230. a3 = a->sig[3]; a2 = a->sig[2]; \
  231. ^ ~
  232. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  233. unsigned long sig[_NSIG_WORDS];
  234. ^
  235. In file included from arch/arm/kernel/asm-offsets.c:13:
  236. In file included from include/linux/sched.h:72:
  237. include/linux/signal.h:126:1: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  238. _SIG_SET_BINOP(sigandsets, _sig_and)
  239. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  240. include/linux/signal.h:106:24: note: expanded from macro '_SIG_SET_BINOP'
  241. a3 = a->sig[3]; a2 = a->sig[2]; \
  242. ^ ~
  243. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  244. unsigned long sig[_NSIG_WORDS];
  245. ^
  246. In file included from arch/arm/kernel/asm-offsets.c:13:
  247. In file included from include/linux/sched.h:72:
  248. include/linux/signal.h:126:1: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  249. _SIG_SET_BINOP(sigandsets, _sig_and)
  250. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  251. include/linux/signal.h:107:8: note: expanded from macro '_SIG_SET_BINOP'
  252. b3 = b->sig[3]; b2 = b->sig[2]; \
  253. ^ ~
  254. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  255. unsigned long sig[_NSIG_WORDS];
  256. ^
  257. In file included from arch/arm/kernel/asm-offsets.c:13:
  258. In file included from include/linux/sched.h:72:
  259. include/linux/signal.h:126:1: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  260. _SIG_SET_BINOP(sigandsets, _sig_and)
  261. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  262. include/linux/signal.h:107:24: note: expanded from macro '_SIG_SET_BINOP'
  263. b3 = b->sig[3]; b2 = b->sig[2]; \
  264. ^ ~
  265. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  266. unsigned long sig[_NSIG_WORDS];
  267. ^
  268. In file included from arch/arm/kernel/asm-offsets.c:13:
  269. In file included from include/linux/sched.h:72:
  270. include/linux/signal.h:126:1: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  271. _SIG_SET_BINOP(sigandsets, _sig_and)
  272. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  273. include/linux/signal.h:108:3: note: expanded from macro '_SIG_SET_BINOP'
  274. r->sig[3] = op(a3, b3); \
  275. ^ ~
  276. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  277. unsigned long sig[_NSIG_WORDS];
  278. ^
  279. In file included from arch/arm/kernel/asm-offsets.c:13:
  280. In file included from include/linux/sched.h:72:
  281. include/linux/signal.h:126:1: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  282. _SIG_SET_BINOP(sigandsets, _sig_and)
  283. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  284. include/linux/signal.h:109:3: note: expanded from macro '_SIG_SET_BINOP'
  285. r->sig[2] = op(a2, b2); \
  286. ^ ~
  287. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  288. unsigned long sig[_NSIG_WORDS];
  289. ^
  290. In file included from arch/arm/kernel/asm-offsets.c:13:
  291. In file included from include/linux/sched.h:72:
  292. include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  293. _SIG_SET_BINOP(sigandnsets, _sig_andn)
  294. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  295. include/linux/signal.h:106:8: note: expanded from macro '_SIG_SET_BINOP'
  296. a3 = a->sig[3]; a2 = a->sig[2]; \
  297. ^ ~
  298. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  299. unsigned long sig[_NSIG_WORDS];
  300. ^
  301. In file included from arch/arm/kernel/asm-offsets.c:13:
  302. In file included from include/linux/sched.h:72:
  303. include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  304. _SIG_SET_BINOP(sigandnsets, _sig_andn)
  305. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  306. include/linux/signal.h:106:24: note: expanded from macro '_SIG_SET_BINOP'
  307. a3 = a->sig[3]; a2 = a->sig[2]; \
  308. ^ ~
  309. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  310. unsigned long sig[_NSIG_WORDS];
  311. ^
  312. In file included from arch/arm/kernel/asm-offsets.c:13:
  313. In file included from include/linux/sched.h:72:
  314. include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  315. _SIG_SET_BINOP(sigandnsets, _sig_andn)
  316. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  317. include/linux/signal.h:107:8: note: expanded from macro '_SIG_SET_BINOP'
  318. b3 = b->sig[3]; b2 = b->sig[2]; \
  319. ^ ~
  320. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  321. unsigned long sig[_NSIG_WORDS];
  322. ^
  323. In file included from arch/arm/kernel/asm-offsets.c:13:
  324. In file included from include/linux/sched.h:72:
  325. include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  326. _SIG_SET_BINOP(sigandnsets, _sig_andn)
  327. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  328. include/linux/signal.h:107:24: note: expanded from macro '_SIG_SET_BINOP'
  329. b3 = b->sig[3]; b2 = b->sig[2]; \
  330. ^ ~
  331. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  332. unsigned long sig[_NSIG_WORDS];
  333. ^
  334. In file included from arch/arm/kernel/asm-offsets.c:13:
  335. In file included from include/linux/sched.h:72:
  336. include/linux/signal.h:129:1: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  337. _SIG_SET_BINOP(sigandnsets, _sig_andn)
  338. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  339. include/linux/signal.h:108:3: note: expanded from macro '_SIG_SET_BINOP'
  340. r->sig[3] = op(a3, b3); \
  341. ^ ~
  342. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  343. unsigned long sig[_NSIG_WORDS];
  344. ^
  345. In file included from arch/arm/kernel/asm-offsets.c:13:
  346. In file included from include/linux/sched.h:72:
  347. include/linux/signal.h:129:1: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  348. _SIG_SET_BINOP(sigandnsets, _sig_andn)
  349. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  350. include/linux/signal.h:109:3: note: expanded from macro '_SIG_SET_BINOP'
  351. r->sig[2] = op(a2, b2); \
  352. ^ ~
  353. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  354. unsigned long sig[_NSIG_WORDS];
  355. ^
  356. In file included from arch/arm/kernel/asm-offsets.c:13:
  357. In file included from include/linux/sched.h:72:
  358. include/linux/signal.h:153:1: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  359. _SIG_SET_OP(signotset, _sig_not)
  360. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  361. include/linux/signal.h:142:31: note: expanded from macro '_SIG_SET_OP'
  362. case 4: set->sig[3] = op(set->sig[3]); \
  363. ^ ~
  364. include/linux/signal.h:152:24: note: expanded from macro '_sig_not'
  365. #define _sig_not(x) (~(x))
  366. ^
  367. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  368. unsigned long sig[_NSIG_WORDS];
  369. ^
  370. In file included from arch/arm/kernel/asm-offsets.c:13:
  371. In file included from include/linux/sched.h:72:
  372. include/linux/signal.h:153:1: warning: array index 3 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  373. _SIG_SET_OP(signotset, _sig_not)
  374. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  375. include/linux/signal.h:142:14: note: expanded from macro '_SIG_SET_OP'
  376. case 4: set->sig[3] = op(set->sig[3]); \
  377. ^ ~
  378. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  379. unsigned long sig[_NSIG_WORDS];
  380. ^
  381. In file included from arch/arm/kernel/asm-offsets.c:13:
  382. In file included from include/linux/sched.h:72:
  383. include/linux/signal.h:153:1: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  384. _SIG_SET_OP(signotset, _sig_not)
  385. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  386. include/linux/signal.h:143:24: note: expanded from macro '_SIG_SET_OP'
  387. set->sig[2] = op(set->sig[2]); \
  388. ^ ~
  389. include/linux/signal.h:152:24: note: expanded from macro '_sig_not'
  390. #define _sig_not(x) (~(x))
  391. ^
  392. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  393. unsigned long sig[_NSIG_WORDS];
  394. ^
  395. In file included from arch/arm/kernel/asm-offsets.c:13:
  396. In file included from include/linux/sched.h:72:
  397. include/linux/signal.h:153:1: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
  398. _SIG_SET_OP(signotset, _sig_not)
  399. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  400. include/linux/signal.h:143:7: note: expanded from macro '_SIG_SET_OP'
  401. set->sig[2] = op(set->sig[2]); \
  402. ^ ~
  403. /home/stefan/Kernel/one_plus_one/arch/arm/include/asm/signal.h:20:2: note: array 'sig' declared here
  404. unsigned long sig[_NSIG_WORDS];
  405. ^
  406. 26 warnings and 6 errors generated.
  407. make[2]: *** [arch/arm/kernel/asm-offsets.s] Fehler 1
  408. make[1]: *** [prepare0] Fehler 2
  409. make[1]: Verzeichnis »/home/stefan/Kernel/one_plus_one« wird verlassen
  410. make: *** [all] Fehler 2
  411. End of compiling kernel!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement