Error: Unrecognized command line option "-fconserve-stack" SOLUTION

Source: Internet
Author: User

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 ......

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.