error: unrecognized command line option "-fconserve-stack"

时间:2021-07-10 23:16:52
转自VC错误:http://www.vcerror.com/?p=1609
问题描述:

平台:Ubuntu12.04,交叉编译器:arm-linux-gcc4.3.2

在make友善之臂提供的mini210s开发板Linux(linux-2.6.35.7)源码时出现了以下错误:

LD drivers/gpu/drm/i2c/built-in.o

LD drivers/gpu/drm/built-in.o
CC drivers/gpu/pvr/osfunc.o
cc1: error: unrecognized command line option "-fconserve-stack"
make[3]: *** [drivers/gpu/pvr/osfunc.o] Error 1
make[2]: *** [drivers/gpu/pvr] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2



解决方法:

具体的解决方法参考文章:http://www.vcerror.com/?p=1609