Platform: ubuntu12.04, Cross Compiler: arm-linux-gcc4.3.2,This error is not found later when using arm-linux-gcc4.5.1
Mini210s Development Board Linux (linux-2.6.35. 7) the following error occurs during source code:
..............
..............
LD Drivers/GPU/DRM/I2C/built-in.o
LD Drivers/GPU/DRM/built-in.o
CC Drivers/GPU/PVR/osfunc. o
C0: 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
Reference online similar problem http://hi.baidu.com/zzhhui7/item/90e27b5698ec799e8c12ed7e
Method: Compile the prompt statement.Drivers/GPU/PVR/osfunc. o
ToMakefile in the root directoryAndMakefile in the PVR directoryTo delete the-fconserve-stack string. The specific impact is unclear.
This method is successfully compiled, but the system cannot run on the Development Board, which may affect some functions.
Later I found that using arm-linux-gcc4.5.1 won't make this error, and it runs normally, it should be that different compiler versions support different optimization options ......