error: #error Your compiler is too buggy
来源:互联网 发布:echo.js下载 编辑:程序博客网 时间:2024/06/05 18:10
今天在编内核代码的时候,报下面的错误:
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. ^Kbuild:80: recipe for target 'arch/arm/kernel/asm-offsets.s' failedmake[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1Makefile:986: recipe for target 'prepare0' failedmake: *** [prepare0] Error 2
用的toolchain:
$ arm-linux-gnueabi-gcc -vUsing built-in specs.COLLECT_GCC=arm-linux-gnueabi-gccCOLLECT_LTO_WRAPPER=/toolchain/arm-linux-4.8.2/bin/../libexec/gcc/arm-linux-gnueabi/4.8.2/lto-wrapperTarget: arm-linux-gnueabiConfigured with: ../../src/gcc-4.8.2/configure --build=i686-pc-linux-gnu --target=arm-linux-gnueabi --prefix=/home/charles/code/build_toolchain/toolchain --with-sysroot=/home/charles/code/build_toolchain/toolchain/arm-linux-gnueabi/sysroot --disable-libmudflap --disable-libssp --disable-nls --disable-libstdcxx-pch --with-interwork --with-mode=arm --with-fpu=vfpv3 --with-arch=armv7-a --with-float=softfp --enable-libgomp --enable-poison-system-directories --enable-symvers=gnu --enable-long-long --enable-threads --enable-languages=c,c++ --enable-shared --enable-lto --enable-__cxa_atexit --with-gnu-as --with-gnu-ld --enable-__cxa_atexit --with-gmp=/home/charles/code/build_toolchain/toolchain --with-mpfr=/home/charles/code/build_toolchain/toolchain --with-ppl=/home/charles/code/build_toolchain/toolchain --with-cloog=/home/charles/code/build_toolchain/toolchainThread model: posixgcc version 4.8.2 (GCC)
据说是 , GCC 4.8.0到 GCC 4.8.2之间的arm gcc 编译器有问题:
[PATCH] ARM: Blacklist GCC 4.8.0 to GCC 4.8.2 - PR58854
0 0
- error: #error Your compiler is too buggy
- error:Your display is too small to run Menuconfig!
- ionic创建新项目时 ERROR: Unable to add plugins. Perhaps your version of Cordova is too old. Try updating (
- CMake Error: your RC compiler: "CMAKE_RC_COMPILER-NOTFOUND" was not found.
- CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found
- “./configure: error: C compiler cc is not found”
- Tengine安装./configure: error: C compiler cc is not found
- ./configure: error: C compiler cc is not found 解决方案
- fatal error C1060:compiler is out of heap space
- Tengine安装./configure: error: C compiler cc is not found
- 解决MySql Error: Packet for query is too large... 问题
- ERROR: Packet for query is too large (2034> 1024)
- HTTP Error 414. The request URL is too long解决方法
- Compiler Error C2071
- Compiler Error C2724
- Error starting modern compiler
- Compiler Error C2014
- Compiler Error C2990
- 设计模式之禅七大原则之单一职责原则
- Android 常用的ORM框架详解
- AndroidStuido使用(献给从Eclipase转过来的同志)
- C++实现Java的split()函数
- RDD中cache和persist的区别
- error: #error Your compiler is too buggy
- 单例模式
- Android 基础—— 对Context的理解与使用技巧
- Redis集群的搭建
- 实习总结(一)
- python爬虫实践(一):准备工作
- hdoj 2025
- Linux网络配置 DNS配置信息丢失 可能原因分析
- wifi天线的工作分析