KernelDriverProgrammingCourse2015/Troubleshooting

From RevSpace
Revision as of 12:42, 20 July 2015 by Andrey (talk | contribs)
Jump to navigation Jump to search

Troubleshooting

Preparations

  • Compiling Linux gives an error - "Your compiler is too buggy":
 $ make -j4 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- dtbs
 CHK     include/config/kernel.release
 CHK     include/generated/uapi/linux/version.h
 CHK     include/generated/utsrelease.h
 make[1]: `include/generated/mach-types.h' is up to date.
 CHK     include/generated/timeconst.h
 CHK     include/generated/bounds.h
 CC      arch/arm/kernel/asm-offsets.s
 arch/arm/kernel/asm-offsets.c:54:2: error: #error Your compiler is too buggy; it is known to miscompile kernels
 #error Your compiler is too buggy; it is known to miscompile kernels
  ^
 arch/arm/kernel/asm-offsets.c:55:2: error: #error and result in filesystem corruption and oopses.
 #error and result in filesystem corruption and oopses.
  ^
 make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
 make: *** [prepare0] Error 2

Looking for a solution...

Back to KernelDriverProgrammingCourse2015