KernelDriverProgrammingCourse2015/Troubleshooting

Uit RevSpace

Versie door Andrey (overleg | bijdragen) op 20 jul 2015 om 12:39 (Created page with "=== Troubleshooting === ==== Preparations ==== * Compiling Linux gives an error - "Your compiler is too buggy": $ make -j4 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- dtb...")
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)

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...