KernelDriverProgrammingCourse2015/Troubleshooting: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
==== Preparations ==== | ==== Preparations ==== | ||
* | * It looks like GCC v4.8 is not welcome: compiling Linux gives an error - "Your compiler is too buggy": | ||
$ make -j4 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- dtbs | $ make -j4 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- dtbs | ||
Line 22: | Line 22: | ||
make: *** [prepare0] Error 2 | make: *** [prepare0] Error 2 | ||
Back to [[KernelDriverProgrammingCourse2015]] | Back to [[KernelDriverProgrammingCourse2015]] |
Revision as of 07:56, 21 July 2015
Troubleshooting
Preparations
- It looks like GCC v4.8 is not welcome: 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