sudo make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.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] 错误 1
----------------------------------------------------------------------------------------
这个坑用什么姿势过?
离线
gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-16ubuntu4)
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
最近编辑记录 john78 (2018-07-19 13:17:45)
离线
sudo apt remove --auto-remove gcc-arm-linux-gnueabi 卸载不了???
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
Package 'gcc-arm-linux-gnueabi' is not installed, so not removed
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 466 个软件包未被升级。
arm-linux-gnueabihf-gcc -v
还是显示4.8.2
离线
搞定了 sudo apt remove --auto-remove gcc-arm-linux-gnueabihf
离线
可以了,谢谢
离线